-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest Release ESP_Easy_mega_20220809_normal_ESP8266_4M1M don't send HTTP in rules. #4203
Comments
Is the |
looks different but don't work 24892 : Info : EVENT: MS#State=1 |
but curl http://esphost1/control?cmd=event,pon works |
Downgrade to ESP_Easy_mega_20220616_normal_ESP8266_4M1M works again. |
This is related to this issue: #4198 |
Ah I think I found the issue here. Not working:
Working:
So as you can see, I need to prefix a / in the URI part, which I accidentally removed. |
I think the 401 can not be a reason of the removed / because it means unauthorized. |
That's for sure (found another issue) |
ESP_Easy_mega_20220823_normal_ESP8266_4M1M tested positive with no slash and no quotes in rule. :) |
Aiiii! But all jokes aside, can I conclude it all seems to work again now? |
Latest Release ESP_Easy_mega_20220809_normal_ESP8266_4M1M don't send HTTP in rules.
Log:
321046 : Info : EVENT: MS#State=0
321055 : Debug : timeStringToSeconds: "0" --> invalid
321056 : Debug : timeStringToSeconds: "1" --> invalid
321059 : Debug : conditionMatch: "0=1" --> "0" = "1" --> false (0 = 1)
321060 : Debug : conditionMatchExtended: false "0=1"
321060 : Debug : Lev.1: [if false]=false
321064 : Debug : Lev.1: [else]=true
321066 : Info : ACT : SendToHTTP,esphost2,80,control?cmd=event,poff
321068 : Debug : Command: SendToHTTP
321069 : Debug : SendToHTTP,esphost2,80,control?cmd=event,poff
321070 : Debug : Par1: 846230272 Par2: 80 Par3: 1073710592 Par4: 1717989120 Par5: 0
321072 : Error : Too many arguments: cmd=SendToHTTP Arg1=esphost2 Arg2=80 Arg3=control?cmd=event ExtraArg4=poff lineLength=44
321072 : Error : Line: SendToHTTP,esphost2,80,control?cmd=event,poff
321073 : Error : Command not executed! See: #2724
321075 : Debug : SendToHTTP: Host: esphost2 port: 80 path: control?cmd=event,poff
321107 : Info : HTTP : Start Digest Authorization for esphost2
321161 : Error : HTTP : SendToHTTP esphost2 GET... failed HTTP code: 401
321167 : Info : Command unknown: SendToHTTP,esphost2,80,control?cmd=event,poff
321170 : Info : ACT : SendToHTTP,esphost1,80,control?cmd=event,poff
321172 : Debug : Command: SendToHTTP
321173 : Debug : SendToHTTP,esphost1,80,control?cmd=event,poff
321174 : Debug : Par1: 829453056 Par2: 80 Par3: 1073710592 Par4: 1717989120 Par5: 0
321176 : Error : Too many arguments: cmd=SendToHTTP Arg1=esphost1 Arg2=80 Arg3=control?cmd=event ExtraArg4=poff lineLength=44
321177 : Error : Line: SendToHTTP,esphost1,80,control?cmd=event,poff
321177 : Error : Command not executed! See: #2724
321180 : Debug : SendToHTTP: Host: esphost1 port: 80 path: control?cmd=event,poff
325408 : Error : HTTP : SendToHTTP esphost1 GET... failed HTTP code: -1 connection failed
325412 : Info : Command unknown: SendToHTTP,esphost1,80,control?cmd=event,poff
325417 : Debug : EVENT: MS#State=0 Processing time:4371 milliSeconds
325425 : Info : EVENT: http#esphost2=401
325428 : Debug : EVENT: http#esphost2=401 Processing time:3 milliSeconds
325436 : Info : EVENT: http#esphost1=-1
Curl with url from a linux cli works.
The text was updated successfully, but these errors were encountered: