Forums

api requests

I have a script which runs on my local machine perfectly, but it doesn't work on the bash console.

The script pulls price data from a few bitcoin exchanges using simple get requests (I got paid account). In all cases I get:

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='btc-e.com', port=443): Max retries exceeded with url: /api/2/btc_usd/depth (Caused by ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 403 Forbidden',)))

Any pointers how to fix this?

Hi there,

If you've got a paid account, you shouldn't be using the proxy. If you've only just upgraded, you may need to reload your web app for the new unrestricted internet settings to be applied?

ok, thanks. I had to restart the console, it's working now

great! :)