Skip to content

Conversation

@shravanshetty1
Copy link
Contributor

@shravanshetty1 shravanshetty1 commented Apr 13, 2021

closes #72

@shravanshetty1
Copy link
Contributor Author

@anish-squareops a new arguement has been added to the binary grpc_port. I have made appropriate changes to docker.local docker compose files. Please ensure this is sufficient.

@anish-squareops
Copy link
Contributor

./docker.local/bin/build.blobber.sh is failing with error

# 0chain.net/blobbercore/handler
../blobbercore/handler/grpchandler.go:73:61: cannot use mux (type *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux) as type *"github.com/grpc-ecosystem/grpc-gateway/v2/runtime".ServeMux in argument to blobbergrpc.RegisterBlobberHandlerServer
The command '/bin/sh -c go build -v -tags "bn256 development" -ldflags "-X 0chain.net/core/build.BuildTag=$GIT_COMMIT"' returned a non-zero code: 2

@shravanshetty1
Copy link
Contributor Author

./docker.local/bin/build.blobber.sh is failing with error

# 0chain.net/blobbercore/handler
../blobbercore/handler/grpchandler.go:73:61: cannot use mux (type *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux) as type *"github.com/grpc-ecosystem/grpc-gateway/v2/runtime".ServeMux in argument to blobbergrpc.RegisterBlobberHandlerServer
The command '/bin/sh -c go build -v -tags "bn256 development" -ldflags "-X 0chain.net/core/build.BuildTag=$GIT_COMMIT"' returned a non-zero code: 2

You can see the commit, thats what i fixed. Are you sure your building from correct branch?

@anish-squareops
Copy link
Contributor

works.. for some reason it did not pull the latest code.
Merging to master
Thanks!!

@anish-squareops anish-squareops merged commit 437021b into master Apr 16, 2021
@platsko platsko deleted the blobber-build-bug branch May 9, 2021 15:00
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

Successfully merging this pull request may close these issues.

Blobber build failing in prod

3 participants