Skip to content

Can not make worker container working  #76

@MonkeyCst

Description

@MonkeyCst

Hi everyone,

I'm writing this post cause I have an issue regarding the WORKER part of gocrack project.
I managed to make the SERVER part working, so I have the frontend part perfectly working and I can access the web interface easily.

Now I'm struggling with the worker container part. So I can access the worker via this command :
docker run -it
-e USER_ID=1000
-v "/tmp;/opt/gocrack"
gocrack/worker

I have go version 1.21.3 on my container. When I'm launching the command : $go run worker.go -config config.yaml
Almost all the package are properly installed, but at the end I have those errors :

worker.go:15:2: no required module provides package github.com/mandiant/gocrack/server; to add it:
go get github.com/mandiant/gocrack/server
worker/child/child.go:8:2: no required module provides package github.com/mandiant/gocrack/server/rpc; to add it:
go get github.com/mandiant/gocrack/server/rpc
worker/child/child.go:9:2: no required module provides package github.com/mandiant/gocrack/server/storage; to add it:
go get github.com/mandiant/gocrack/server/storage

When I try : $go get github.com/mandiant/gocrack/server or $go get github.com/mandiant/gocrack/server/rpc, I have this next error :

go: github.com/mandiant/gocrack/server/rpc: no matching versions for query "upgrade"

My go.mod file is correct and the thing I dont understand is that on the SERVER part when I launch it via go run server.go -config config.yaml, it is working and the package are the same in the code from server.go than worker.go, but with the server I dont have any problem.
Well I'm very new using GO so if someone could enlighten me I will be very grateful !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions