Use the following template when posting here:
Version: 2024.4 (latest stable version)
Build Hash: 731719420
Compile Date: 2024-01-30 09:16:34
dzVents Version: 3.1.8
Python Version: 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
Active User: [email protected]
Platform: Raspberry Pi 4 Model B Rev 1.5 2GB
Plugin/Hardware: n/a
Description:
I configured an nginx reverse proxy to make my sites available through a domain. The domain is secured with basic authentiction. For 3 upstream servers all is well, but for my domoticz upstream server I get stuck.
Looking in the access log I can see that all the communication is going ok up until the point that we reach the statement below. After that all responses get a 401 Unauthorized (from the accesslog nginx):
This results in the domoticz screen 'communication lost'.192.168.2.254 - [email protected] [02/Feb/2024:14:51:14 +0100] "GET /domoticz/json.htm?type=command¶m=getdevices&filter=all&used=true&favorite=1&order=[Order]&plan=0 HTTP/1.1" 401 91 "https://hildering.ddns.net/domoticz/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
I suspect some script is causing this. Running https://hildering.ddns.net/domoticz/jso ... getversion the output is correct and the accesslog show a 200:
Anyone to help me with this problem? Willing to supply all necessary data.192.168.2.254 - [email protected] [02/Feb/2024:15:15:56 +0100] "GET /domoticz/json.htm?type=command¶m=getversion HTTP/1.1" 200 46 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
--Edgar