Hi there.
I need to connect my picroft through a proxy.
Do I need to take anything other into account, or can I just use http_proxy / https_proxy variables on my pi?
Thank you.
Hi there.
I need to connect my picroft through a proxy.
Do I need to take anything other into account, or can I just use http_proxy / https_proxy variables on my pi?
Thank you.
I haven’t tried this myself but that should be all you need. Requests (the http-module) uses the standard HTTP_PROXY, HTTPS_PROXY environment variables.
(https://stackoverflow.com/questions/8287628/proxies-with-python-requests-module)
Let me know if there’s any issues and I’ll try help.
/Åke
Thank you. Will definitely give this a try.
Long time since last answer but I have a bit of an update on this:
Apparently the following is needed:
export http_proxy=http://proxy_hostname.com:proxy_port
export https_port=http://proxy_hostname.com:proxy_port
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com,0.0.0.0"
Read more at https://github.com/MycroftAI/mycroft-core/issues/1245
Best regards
/Åke