For example in the requests library you can set proxy explicitely.

With exoscale/cs (a Python client for Apache Cloud Stack) it does not work for me.

Environment variables are set correctly to locally meaningful values accepted locally in other contexts:

'http_proxy': 'xxxx'


requests.exceptions.ProxyError: HTTPSConnectionPool(host='xxxx', port=443): 
Max retries exceeded with url: /portal/client

But wait, seems like cs incorporates requests!

How to tell it to use proxy?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.