Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not make worker container working #76

Open
MonkeyCst opened this issue Nov 10, 2023 · 0 comments
Open

Can not make worker container working #76

MonkeyCst opened this issue Nov 10, 2023 · 0 comments

Comments

@MonkeyCst
Copy link

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant