Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Panic in webscokets #111

Open
mr-tron opened this issue Oct 14, 2021 · 2 comments
Open

Panic in webscokets #111

mr-tron opened this issue Oct 14, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mr-tron
Copy link

mr-tron commented Oct 14, 2021

panic: send on closed channel
        panic: close of closed channel

goroutine 467 [running]:
github.com/Kucoin/kucoin-go-sdk.(*WebSocketClient).read.func1(0xc000510600)
        /home/user/prog/gopath/pkg/mod/github.com/!kucoin/[email protected]/websocket.go:248 +0x2f
panic(0xa972c0, 0xc18420)
        /home/user/prog/gopath/go1.16/src/runtime/panic.go:965 +0x1b9
github.com/Kucoin/kucoin-go-sdk.(*WebSocketClient).read(0xc000510600)
        /home/user/prog/gopath/pkg/mod/github.com/!kucoin/[email protected]/websocket.go:271 +0x149
created by github.com/Kucoin/kucoin-go-sdk.(*WebSocketClient).Connect
        /home/user/prog/gopath/pkg/mod/github.com/!kucoin/[email protected]/websocket.go:240 +0x572

I think it's reproduces on closing connection from server side

@iamalanal
Copy link

Is the issue solved?

@iamalanal iamalanal added the help wanted Extra attention is needed label Jul 24, 2024
@mr-tron
Copy link
Author

mr-tron commented Jul 24, 2024

didn't use it for few years.

@ISAAC-XXYYZZ ISAAC-XXYYZZ self-assigned this Aug 12, 2024
@ISAAC-XXYYZZ ISAAC-XXYYZZ added enhancement New feature or request and removed help wanted Extra attention is needed labels Aug 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants