Re: error opening url but url is good
Posted: Saturday 08 November 2025 9:21
i used a script waaren made to inspect html strings.
it looks like nothing is returned while with curl under linux 200 ok is returned
it looks like nothing is returned while with curl under linux 200 ok is returned
Code: Select all
2025-11-08 09:19:00.319 dzVents: http test: ------ Start internal script: url-test:, trigger: "every minute"
2025-11-08 09:19:00.320 dzVents: Debug: http test: OpenURL: url = http://192.168.1.160/light/testlamp/turn_on?brightness=255&b=255&g=255&effect=none
2025-11-08 09:19:00.320 dzVents: Debug: http test: OpenURL: method = GET
2025-11-08 09:19:00.320 dzVents: Debug: http test: OpenURL: post data = nil
2025-11-08 09:19:00.320 dzVents: Debug: http test: OpenURL: headers = nil
2025-11-08 09:19:00.321 dzVents: Debug: http test: OpenURL: callback = http test
2025-11-08 09:19:00.321 dzVents: http test: ------ Finished url-test
2025-11-08 09:19:00.322 Status: EventSystem: Script event triggered: /opt/domoticz/dzVents/runtime/dzVents.lua
2025-11-08 09:19:00.346 Error: Error opening url: http://192.168.1.160/light/testlamp/turn_on?brightness=255&b=255&g=255&effect=none
2025-11-08 09:19:00.373 dzVents: http test: ------ Start internal script: url-test: HTTPResponse: "http test"
2025-11-08 09:19:00.374 dzVents: Debug: http test: return from openURL :
2025-11-08 09:19:00.375 dzVents: http test: ------ Finished url-test