mchmarny / dapr-demos

Collection of personal Dapr demos (bindings, state, pub/sub, service-to-service invocation)
https://dapr.io
MIT License
167 stars 47 forks source link

Problem with grpc-echo-service #13

Open esimkowitz opened 3 years ago

esimkowitz commented 3 years ago

Hello, I am trying to complete the dapr-apim-integration demo, which depends on the grpc-echo-service docker image that you own.

When I run the demo as is, I get the error PostStartHookError: command '/daprd --wait' exited with 137

I have tried pulling the code for the image as you have defined in this repo (which appears more up-to-date than that in the quickstart docs) and building and deploying that I get the same error. Do you know why this may be?

Sorry if this isn't a real issue, just kinda puzzled and figured the original author might have more context than I do about the daprd process/error codes.

esimkowitz commented 3 years ago

Also: in order to get your image to build I had to add a step in the dockerfile to run go mod vendor, based on the warning I got when building it:

go: inconsistent vendoring in /src:
        github.com/dapr/go-sdk@v1.0.0-rc-1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        golang.org/x/sys@v0.0.0-20201116194326-cc9327a14d48: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        google.golang.org/genproto@v0.0.0-20201116205149-79184cff4dfe: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory