zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Zigbee2mqtt docker ota function not using proxy setting?

Open jasmir opened this issue 9 months ago • 2 comments

What happened?

Starting the container:

docker run -d --name zigbee2mqtt --privileged --restart=unless-stopped -e TZ=Europe/Berlin \
-e HTTP_PROXY='http://myproxy.local:8000' -e HTTPS_PROXY='http://myproxy.local:8000' \
-e http_proxy='http://myproxy.local:8000' -e https_proxy='http://myproxy.local:8000' \
-p 8080:8080 -v '/data/zigbee2mqtt:/app/data' --network=host koenkk/zigbee2mqtt:latest

Going to the Webinterface -> OTA -> on a Device there "check for updates" Got: error 2025-03-21 08:58:43z2m: Failed to check if update available for 'Rauchmelder_Wohnzimmer' (fetch failed)

TCP-Dump on the Host shows, that there are outgoing packets to 185.199.108.133(github) directly at this exactly time, instead of using the proxy

What did you expect to happen?

I expect that the OTA function will use the proxy from that variables. -or- That there will be config items in the configuration.yaml for that purpose. But I didn't find any of these in the docs.

How to reproduce it (minimal and precise)

See docker-run, above

Zigbee2MQTT version

2.1.3 commit: ba337bd329aeb4ca17735c0cf09b31293c8cff06

Adapter firmware version

7.4.5 [GA]

Adapter

SLZB-06M

Setup

As docker container koenkk/zigbee2mqtt:latest

Debug log

No response

jasmir avatar Mar 21 '25 10:03 jasmir