vslaykovsky / elonbot

Trading bot that uses Elon Musk`s tweets to know when to buy cryptocurrency.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection broken: InvalidChunkLength

dlisiakiewicz opened this issue · comments

Hi, I have exactly the same error.
Did you manage to find a solution?

2021-05-21 13:56:23.574745 Subscribing to twitter updates. HTTP status: 200
2021-05-21 14:01:24.313016 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) restarting socket
2021-05-21 14:02:24.637563 Subscribing to twitter updates. HTTP status: 200
2021-05-21 14:07:25.379304 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) restarting socket
2021-05-21 14:08:25.709596 Subscribing to twitter updates. HTTP status: 200
2021-05-21 14:13:26.454248 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) restarting socket
2021-05-21 14:14:26.800770 Subscribing to twitter updates. HTTP status: 200

Any Idea what might cause these errors? I get these every few minutes and it takes exactly one minute to be up and running again.

Originally posted by @Tim-Be in #1 (comment)

It is bizarre but the only solution for that problem is to use VPN and connect to a USA server. I tried other servers with no success.