why is 127.0.0.1 not working?
Posted: Sunday 12 February 2023 10:46
In HAbridge earlier and now when trying to update history value of sensor, I find that address 127.0.0.1 is not working. When i replace it with the static IP address of my RPI command, all is ok
when running command dz.devices(1987).updateHistory, it results in this error in the domoticz log:
2023-02-12 10:27:19.955 Error: Error opening url: http: //127.0.0.1:8080/json.htm?type=command¶m=udevice&idx=1987&nvalue=0&svalue=19.70122;19.70122;2023-02-12+22%3A00%3A00
when I call the same comnmand from my desktop computer in a web browser and use the static address, result is ok:
{
"status" : "OK",
"title" : "Update Device"
}
Because it is baked into the dzVents command, i cannot use the HABridge workaround to replace all 127.0.0.1 bij 192.168.0.123
Why is my 127.0.0.1 on the rpi different than it's static network address?
Any things I can check on my rpi?
when running command dz.devices(1987).updateHistory, it results in this error in the domoticz log:
2023-02-12 10:27:19.955 Error: Error opening url: http: //127.0.0.1:8080/json.htm?type=command¶m=udevice&idx=1987&nvalue=0&svalue=19.70122;19.70122;2023-02-12+22%3A00%3A00
when I call the same comnmand from my desktop computer in a web browser and use the static address, result is ok:
{
"status" : "OK",
"title" : "Update Device"
}
Because it is baked into the dzVents command, i cannot use the HABridge workaround to replace all 127.0.0.1 bij 192.168.0.123
Why is my 127.0.0.1 on the rpi different than it's static network address?
Any things I can check on my rpi?