I have trouble with the login
ds = PyDSWS.Datastream(username='XXX', password='YYY')
This raises a connection error:
ConnectionError: HTTPConnectionPool(host='product.datastream.com', port=80): Max retries exceeded with url: /DSWSClient/V1/DSService.svc/rest/Token?username=XXX&password=YYY (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000000000A5FF588>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))
How should I trouble shoot?
I have managed to get access now by passing an extra argument containing proxies to PyDSWS\datastream.py.
Hi,
can you please share a bit more detail? Can you post part of the code you used?
@8477ab9c-f15e-4a78-9279-fd670f296382
Error "[Errno 11004] getaddrinfo failed" suggest there is an issue with your network, probably corporate firewall/proxy issue. Please contact your corporate IT administrator for help.
@ling.bao - How can I pass the proxy setup/information into PyDSWS? I am having the same issue as my project runs using a localhost. Can someone post a full example? thanks