CyberPunkMetalHead / gateio-crypto-trading-bot-binance-announcements-new-coins

This is a crypto trading bot that scans the Binance Annoucements page for new coins, and places trades on Gateio
MIT License
1.22k stars 302 forks source link

get_all_currencies thread stops working after some internet connection issues #47

Open smuu opened 3 years ago

smuu commented 3 years ago

After the following output, the get_all_currencies thread is stopped and does not work anymore. The thread is not throwing any exceptions. At the moment, I have no idea to fix this.

2021-10-25 02:57:10,947 INFO: Getting the list of supported currencies from gate io 2021-10-25 02:57:15,966 WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5b921a8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /api/v4/spot/currencies 2021-10-25 02:57:20,984 WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5675a48>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /api/v4/spot/currencies 2021-10-25 02:57:31,004 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xb5675b98>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /api/v4/spot/currencies