Websocket: negative WaitGroup counter GoSDK
-
panic: sync: negative WaitGroup counter
goroutine 49 [running]:
sync.(*WaitGroup).Add(0xc000016b40, 0xffffffffffffffff)
c:/go/src/sync/waitgroup.go:74 +0x140
sync.(*WaitGroup).Done(...)
c:/go/src/sync/waitgroup.go:99
github.com/angelbroking-github/smartapigo/websocket.(*SocketClient).checkConnection(0xc0000f8480, 0xc000016b40)
C:/Users/Viral/projects/smartapigo/websocket/websocket.go:315 +0x195
created by github.com/angelbroking-github/smartapigo/websocket.(*SocketClient).Serve
C:/Users/Viral/projects/smartapigo/websocket/websocket.go:253 +0x5f2
exit status 2 -
Dear @viralt you need to go through the documentation for basic flow of login process.
-
@admin said in Websocket: negative WaitGroup counter GoSDK:
feed
How can we regenerate feedtoken?
Any function call or API for that? -
Hi @admin regenerate feed token and pass it to websocket code and try again.
-
Hi @viralt please dont create unnecessary threads for same issue.