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

panic when closing a stream due to error response in OnStreamReqeust #1023

Open
vivekskrishna opened this issue Oct 9, 2024 · 1 comment

Comments

@vivekskrishna
Copy link

his occurs when a envoy instance tries to establish a stream to control palne but it repeatedly rejects it. this occurs once in approx 10 stream request to try and register the envoy to the control plane.
(*Callbacks).OnStreamOpen","level":"debug","msg":"NEW STREAM ID 12 is open of type ","time":"2024-10-08T23:44:02-07:00"}
(*Callbacks).OnStreamRequest","level":"debug","msg":"new request","time":"2024-10-08T23:44:02-07:00"}
(*Callbacks).OnStreamClosed","level":"debug","msg":"stream 12 of node instance1 closed\n","time":"2024-10-08T23:44:02-07:00"}
(*Callbacks).OnStreamClosed","level":"debug","msg":"STREAM ID 12 is closed for node instance1","time":"2024-10-08T23:44:02-07:00"}
(*Callbacks).OnStreamClosed","level":"error","msg":" Error in instance reg to control plane","time":"2024-10-08T23:44:02-07:00"}
panic: send on closed channel

goroutine 115 [running]:
github.com/envoyproxy/go-control-plane/pkg/server/sotw/v3.(*server).process.func1()
/go/pkg/mod/github.com/envoyproxy/[email protected]/pkg/server/sotw/v3/xds.go:100 +0x1b
created by github.com/envoyproxy/go-control-plane/pkg/server/sotw/v3.(*server).process in goroutine 113
/go/pkg/mod/github.com/envoyproxy/[email protected]/pkg/server/sotw/v3/xds.go:99 +0xaff

@vivekskrishna
Copy link
Author

looks like this was reported in #789

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