gabriel-milan / btrader

Triangle arbitrage trading bot for Binance
GNU General Public License v3.0
296 stars 63 forks source link

[Bug] Failed to get OrderBook for symbol #10

Closed demanuPL closed 3 years ago

demanuPL commented 3 years ago

I see this on each pair:

thread '<unnamed>' panicked at 'Failed to get OrderBook for symbol SXPAUD. Error: error sending request for url (https://api.binance.com/api/v3/depth?symbol=SXPAUD&limit=100): error trying to connect: tcp connect error: No route to host (os error 113)', src/depth_cache.rs:166:15

gabriel-milan commented 3 years ago

Hi @demanuPL thanks for getting in touch!

It seems to be an OS error. Can you confirm that you can ping api.binance.com on your machine?

demanuPL commented 3 years ago

Hello, thanks for quick respond. Yes there is a 30-40ms ping to api.binance.com

gabriel-milan commented 3 years ago

And this is the same machine from which you're trying to run bTrader?

demanuPL commented 3 years ago

Yes, native in terminal, no docker

gabriel-milan commented 3 years ago

That's really weird. Could you please try running it with strace or a similar tool for debugging, as suggested here? I can't reproduce this issue.

demanuPL commented 3 years ago

The log output has 30MB, there is problem with pasting it

gabriel-milan commented 3 years ago

Could you upload it somewhere, so I can download it?

github-actions[bot] commented 3 years ago

This issue has no recent activity.

sadsad1314 commented 2 years ago

I have such issue also, but not sure is magic or what, if config USDT will never work If config BTC you'll need to re-run btrader to get it works