Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

problems with reconection #160

Open
VictorHVS opened this issue Sep 24, 2018 · 3 comments
Open

problems with reconection #160

VictorHVS opened this issue Sep 24, 2018 · 3 comments

Comments

@VictorHVS
Copy link

I got this error:

2018-09-24 18:32:36,645 - btfxwss.connection - INFO - Connection opened
2018-09-24 18:32:36,647 - btfxwss.connection - INFO - Connection Error - filedescriptor out of range
in select()
2018-09-24 18:32:36,647 - websocket - ERROR - close status: 31522
2018-09-24 18:32:36,648 - btfxwss.connection - INFO - Connection is closed normally.
2018-09-24 18:32:37,202 - btfxwss.connection - INFO - Connection opened
2018-09-24 18:32:37,204 - btfxwss.connection - INFO - Connection Error - filedescriptor out of range in select()
2018-09-24 18:32:37,204 - websocket - ERROR - close status: 31522
2018-09-24 18:32:37,205 - btfxwss.connection - INFO - Connection is closed by Bitfinex.
2018-09-24 18:32:37,208 - btfxwss.connection - INFO - Attempting to connect again in 10 seconds.
2018-09-24 18:32:47,750 - btfxwss.connection - INFO - Connection opened
2018-09-24 18:32:47,751 - btfxwss.connection - INFO - _on_open(): Connection reconnected, re-subscribing..
2018-09-24 18:32:47,751 - btfxwss.connection - INFO - Connection Error - filedescriptor out of range in select()
2018-09-24 18:32:47,751 - websocket - ERROR - close status: 31522
2018-09-24 18:32:47,752 - btfxwss.connection - INFO - Connection is closed by Bitfinex.
2018-09-24 18:32:47,754 - btfxwss.connection - INFO - Attempting to connect again in 10 seconds.
2018-09-24 18:32:59,013 - btfxwss.connection - INFO - Connection opened
2018-09-24 18:32:59,014 - btfxwss.connection - INFO - _on_open(): Connection reconnected, re-subscribing..
2018-09-24 18:32:59,014 - btfxwss.connection - INFO - Connection Error - filedescriptor out of range in select()
2018-09-24 18:32:59,015 - websocket - ERROR - close status: 31522
2018-09-24 18:32:59,015 - btfxwss.connection - INFO - Connection is closed by Bitfinex.
2018-09-24 18:32:59,018 - btfxwss.connection - INFO - Attempting to connect again in 10 seconds.

@deepbrook
Copy link
Collaborator

Does this issue persist for you? Bitfinex's websocket sometimes is a bit..peculiar.

@VictorHVS
Copy link
Author

VictorHVS commented Sep 29, 2018

Yes, it persists. Why don't you use this: https://websockets.readthedocs.io/en/stable/intro.html? I'm using and no problems so far.

@deepbrook
Copy link
Collaborator

I'm currently migrating the library. However, this is a pastime project and I simply don't have enough time to put in as much work as I'd like.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants