Skip to content

multiple "drpc server error" - provisionerd disconnects #2417

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

Closed
spikecurtis opened this issue Jun 16, 2022 · 1 comment
Closed

multiple "drpc server error" - provisionerd disconnects #2417

spikecurtis opened this issue Jun 16, 2022 · 1 comment
Labels
api Area: HTTP API

Comments

@spikecurtis
Copy link
Contributor

e.g. from test logs

    t.go:81: 2022-06-16 16:09:32.010 [DEBUG]	<github.com/coder/coder/coderd/provisionerdaemons.go:93>	(*API).ListenProvisionerDaemon.func2	drpc server error ...
        "error": stream closed
                 	storj.io/drpc/drpcstream.(*Stream).sendPacket:268
                 	storj.io/drpc/drpcstream.(*Stream).CloseSend:501
                 	storj.io/drpc/drpcserver.(*Server).handleRPC:126
                 	storj.io/drpc/drpcserver.(*Server).ServeOne:66
                 	storj.io/drpc/drpcserver.(*Server).Serve.func2:112
                 	storj.io/drpc/drpcctx.(*Tracker).track:52

I believe I have also seen this running the dev server. We use in-memory transport, so it's not like we're dropping network packets. Something appears to be closing the stream prematurely.

This makes our tests flaky including incomplete job logs, and could affect the the real thing in a similar way, although I have not seen it personally.

@kylecarbs
Copy link
Member

Seems like the attached issue had a PR merged. I'll close this for now, but if you find this again, please reopen!

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

No branches or pull requests

2 participants