Skip to content

Critical Exception : Seg Fault when code 1006 (connection closed) #40

Closed
@brbatv

Description

@brbatv

Hello :)

It's been the second time i'm getting this type of error. Using python 3.7, linux mint 18.3 :
It's very hard for me to share reproductible code as it happened after several hours of connexion. But if you want to know, the script used is exactly the same as in #39
First time (yesterday) was I think after a wifi bug in my place
Today it happened more or less around when Binance opened trading again after maintenance.
Both happened after several hours of connexion with 2-3 assets with kline 1m

CRITICAL:root:BinanceWebSocketApiSocket->start_socket(f7d276df-b38e-4866-b22d-95e4a5e52ced, ['kline_1m'], ['btcusdt', 'ethusdt', 'ethbtc']) 
Exception ConnectionClosed Info: WebSocket connection is closed: code = 1006 (connection closed abnormally [internal]), no reason
CRITICAL:root:BinanceWebSocketApiManager->stream_is_crashing(f7d276df-b38e-4866-b22d-95e4a5e52ced)
Segmentation fault (core dumped)

Is it a bad behaviour when Binance is reporting error 1006 (https://github.com/binance-exchange/binance-official-api-docs/blob/master/errors.md#-1006-unexpected_resp) or a problem on "my" side ? Any ideas about how to tackle and investigate this problem ? What can I do to share you more infos about what happened if it happens again ?

Thank you ❤️

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions