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

rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: 1 #6

Open
zhuangsirui opened this issue Feb 21, 2018 · 9 comments

Comments

@zhuangsirui
Copy link

zhuangsirui commented Feb 21, 2018

Hi, I try to setup my drone on my Kubernetes cluster, but the agent keep logging grpc error: done(): code: Internal: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: 1. When I search the error message, I saw this, do you solve the problem now?

@dellintosh
Copy link

@appleboy - any updates on this? We are also trying to get Drone running in our Kubernetes cluster (AWS). Any updates/direction on this would be great help as we're hitting this same issue.

@betandr
Copy link

betandr commented May 3, 2018

I've just hit the same issue and will keep debugging but did you find a resolution @zhuangsirui / @dellintosh / @appleboy ?

@appleboy
Copy link
Owner

appleboy commented May 4, 2018

See the comment: harness/gitness#2246 (comment)

@yangwenmai
Copy link

yangwenmai commented Aug 18, 2018

Minikube cannot build deploy drone?

@dellintosh
Copy link

dellintosh commented Aug 22, 2018

@betandr @appleboy @yangwenmai for Kubernetes, we ended up configuring the agents to connect to the drone-server via the service url (instead of the external url). In our configuration (Kubernetes) that was drone-service:9000. By connecting within the cluster and not going through the ELB it seems to work and not timeout.

... hopefully that helps!

@appleboy
Copy link
Owner

@dellintosh maybe I can try the service URL of drone server again. It can't work for me last year.

@VoyTechnology
Copy link

VoyTechnology commented Aug 23, 2018

I have tried using the recommended keepalive settings and drone-server:9000, but I keep on getting this error log:

...
2018/08/23 22:31:08 grpc error: done(): code: Internal: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: 1
2018/08/23 22:31:09 grpc error: done(): code: Internal: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: 1
INFO: 2018/08/23 22:31:10 Client received GoAway with http2.ErrCodeEnhanceYourCalm.
INFO: 2018/08/23 22:31:10 transport: http2Client.notifyError got notified that the client transport was broken EOF.
2018/08/23 22:31:10 grpc error: done(): code: Unavailable: rpc error: code = Unavailable desc = transport is closing
2018/08/23 22:31:11 grpc error: done(): code: Internal: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: 1
2018/08/23 22:31:12 grpc error: done(): code: Internal: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: 1
...

which looks like a contradiction to me. All of my builds are stuck on pending for ever.

Note that RST_STREAM error appears every second. I am also running the cluster on Hetzner Cloud, but I doubt that makes a difference in this case, as both the agent and server are on the same machine.

@richthegeek
Copy link

Did anyone find a fix for this?

@betandr
Copy link

betandr commented Nov 12, 2018

I didn't find a fix for this so instead install Drone using the Helm chart:

https://github.com/helm/charts/tree/master/stable/drone

This works well..

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

7 participants