cuemacro / findatapy

Python library to download market data via Bloomberg, Eikon, Quandl, Yahoo etc.
Apache License 2.0
1.7k stars 206 forks source link

Failed to establish a new connection: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted')) #31

Open alanpang1990301 opened 4 years ago

alanpang1990301 commented 4 years ago

I am trying to download tick data from Dukascopy. To download a few days it is OK but when try to download more data the following error show up. Anyone have idea how to tackle this problem?

2020-05-31 21:33:37,547 - findatapy.market.datavendorweb - WARNING - Problem downloading.. HTTPConnectionPool(host='www.dukascopy.com', port=80): Max retries exceeded with url: /datafeed/EURUSD/2003/04/06/02h_ticks.bi5 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001BCA9CE9488>: Failed to establish a new connection: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted'))

saeedamen commented 4 years ago

It might be worth trying again later. I've noticed that occasionally, the servers can be down.