1

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'

Error:

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?

1
  • Thank you for posting a question. Could you modify the question so that it contains the attempts you have done in order to solve the issue?
    – 030
    Dec 24 '19 at 14:26

Browse other questions tagged or ask your own question.