I installed hass on docker container, and it seems that there is no internet connection
At my work we have on the net - forward proxy and https inspection
Using tcpdum I realized that the traffic from outside doesn’t go through the proxy
So I added the environment variables to the container
https_proxy
http_proxy
no_proxy
But it doesn’t help.
The error I see in the log window - 11:24 AM components/sensor/yr.py (ERROR)
No details about the reason
Please your advice
This is a problem with the proxy on the network. Not Home Assistant.
Is it possible to configure homeassistant traffic to go through the proxy,
except of using environment variables?
I’ll try to clarify the situation a bit.
we’re trying to run Home Assistant within a corporate env.
In our environment, traffic towards the internet is only allowed via proxy server.
So the questions is - How can we instruct HASS to route traffic via proxy server?
We’re using the official hass docker image, and we tried passing the proxy details as an environment variable with no success - hass continues to send requests on port 443 instead of the proxy’s 8080 port.
thanks in advance
I’d configure it in the docker host:
Do you have restrictions for other containers?
The proxy details already have configured in docker - (env and config.json) -
It doesn’t help
Set your HOST to have access. Docker doesn’t get a new IP on your subnet so the traffic will be coming from the host address
Hello! I was wondering if you managed to solve your problem, as I am having the same issue with the company proxy. I am aware that this is an unlikely scenario in a home environment, but there should be a way to set up the proxy details anyway. My host (linux server) has access through the proxy, as well as docker via env variables and config.json as well. The home assistant is up and running, but has no internet connection.