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

PATCH on eventstream resulting in error #94

Open
peterbroadhurst opened this issue Sep 21, 2020 · 0 comments
Open

PATCH on eventstream resulting in error #94

peterbroadhurst opened this issue Sep 21, 2020 · 0 comments
Assignees

Comments

@peterbroadhurst
Copy link
Contributor

Seeing an error on a PATCH

[2020-09-21T02:18:13.187Z]  INFO --> PATCH /eventstreams/es-8855b6c3-5941-43e8-5b46-b34c6e3059cf
[2020-09-21T02:18:13.187Z]  INFO es-8855b6c3-5941-43e8-5b46-b34c6e3059cf: Update event stream
2020/09/21 02:18:13 http: panic serving 10.10.68.2:43306: close of closed channel
goroutine 565 [running]:
net/http.(*conn).serve.func1(0xc00254b040)
	/usr/lib/go/src/net/http/server.go:1795 +0x139
panic(0x1104e60, 0x1379cc0)
	/usr/lib/go/src/runtime/panic.go:679 +0x1b2
github.com/kaleido-io/ethconnect/internal/kldevents.(*eventStream).update(0xc0009625a0, 0xc00254b220, 0x27, 0xc0009625a0, 0x0)
	/kaleido-io/ethconnect/internal/kldevents/eventstream.go:213 +0xc7
github.com/kaleido-io/ethconnect/internal/kldevents.(*subscriptionMGR).UpdateStream(0xc0004fa050, 0x13a4c00, 0xc002569640, 0xc0025ee014, 0x27, 0xc00254b220, 0x0, 0x0, 0xc0025ac6d0)
	/kaleido-io/ethconnect/internal/kldevents/submanager.go:260 +0x6e
github.com/kaleido-io/ethconnect/internal/kldcontracts.(*smartContractGW).updateStream(0xc0000fbec0, 0x13a14c0, 0xc0025b00e0, 0xc0025f0100, 0xc0025e4440, 0x1, 0x1)
	/kaleido-io/ethconnect/internal/kldcontracts/smartcontractgw.go:687 +0x3b9
github.com/kaleido-io/ethconnect/internal/kldcontracts.(*smartContractGW).withEventsAuth.func1(0x13a14c0, 0xc0025b00e0, 0xc0025f0100, 0xc0025e4440, 0x1, 0x1)
	/kaleido-io/ethconnect/internal/kldcontracts/smartcontractgw.go:101 +0x19c
github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc0000fbc80, 0x13a14c0, 0xc0025b00e0, 0xc0025f0100)
	/go/pkg/mod/github.com/julienschmidt/httprouter@v1.3.0/router.go:387 +0xa3d
github.com/kaleido-io/ethconnect/internal/kldrest.(*RESTGateway).newAccessTokenContextHandler.func1(0x13a14c0, 0xc0025b00e0, 0xc00247df00)
	/kaleido-io/ethconnect/internal/kldrest/restgateway.go:222 +0x20c
net/http.HandlerFunc.ServeHTTP(0xc000602a00, 0x13a14c0, 0xc0025b00e0, 0xc00247df00)
	/usr/lib/go/src/net/http/server.go:2036 +0x44
net/http.serverHandler.ServeHTTP(0xc0003d4540, 0x13a14c0, 0xc0025b00e0, 0xc00247df00)
	/usr/lib/go/src/net/http/server.go:2831 +0xa4
net/http.(*conn).serve(0xc00254b040, 0x13a4c00, 0xc002569580)
	/usr/lib/go/src/net/http/server.go:1919 +0x875
created by net/http.(*Server).Serve
	/usr/lib/go/src/net/http/server.go:2957 +0x384
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

2 participants