This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Http Api command to Zennio Getface IP
#21
(22.07.2024, 12:29)admin Wrote: You can use Wireshark but then you need configure Zennio to send requests to your PC IP address instead of LM. You will also need to run a HTTP server on your PC. You can use this one, but keep in mind that default port is 1180 not 80 when configuring Zennio.

In Wireshark set filter to ip.src==IP where IP is Zennio IP address.

Thank you admin
do you mean that I should change the port in the http command from zennio?
like http://port...?
Best Regards,
Reply
#22
Yes, change to http://YOUR_PC_IP:1180/
Reply
#23
Dear admin,
From Zennio packet capture I gout this when opening it in Wireshark: GET /scada-remote?m=json&r=grp&fn=write&alias=40%2F1%2F1&value=1 HTTP/1.1

is there any thing in this command?
while the command didn't executed by SL
Best Regards,
Reply
#24
Provide full capture of the HTTP request. It should include headers like Host, etc.
Reply
#25
(07.08.2024, 14:58)admin Wrote: Provide full capture of the HTTP request. It should include headers like Host, etc.

Attached Files Thumbnail(s)
   
Best Regards,
Reply
#26
Double click the request line in the table. A window will open where headers will be under "Hypertext Transfer Protocol".
Reply
#27
(08.08.2024, 06:28)admin Wrote: Double click the request line in the table. A window will open where headers will be under "Hypertext Transfer Protocol".

Attached Files Thumbnail(s)
   
Best Regards,
Reply
#28
It does not work because the Authorization header is not sent with the request. Certain integrations expect a WWW-Authenticate to be sent by the server before sending the Authorization header.
Next firmware will have an option in Remote services settings to enable old behavior with the "WWW-Authenticate" header.
Reply
#29
(08.08.2024, 09:18)admin Wrote: It does not work because the Authorization header is not sent with the request. Certain integrations expect a WWW-Authenticate to be sent by the server before sending the Authorization header.
Next firmware will have an option in Remote services settings to enable old behavior with the "WWW-Authenticate" header.

but it was working in SL 2.8 Version! did you change the authentication?

should I contact with Zennio in order to upgrade their http command authorization?
Best Regards,
Reply
#30
Yes, it was working before moving from basic auth to sessions. It's possible to fix this by changing the client side (Zennio) but they might reject it because digest auth mode might break.
Reply
#31
(08.08.2024, 09:36)admin Wrote: Yes, it was working before moving from basic auth to sessions. It's possible to fix this by changing the client side (Zennio) but they might reject it because digest auth mode might break.

Thank you 
I sent this to Zennio if they could solve it from their side.
Could you please provide the proposed release date for the next firmware update?
Best Regards,
Reply
#32
Contact SE support for this, we cannot share this information.
------------------------------
Ctrl+F5
Reply
#33
(08.08.2024, 09:18)admin Wrote: It does not work because the Authorization header is not sent with the request. Certain integrations expect a WWW-Authenticate to be sent by the server before sending the Authorization header.
Next firmware will have an option in Remote services settings to enable old behavior with the "WWW-Authenticate" header.

Hello Admin,
Is there a workaround since it seems the update will not be lunched soon?
Best Regards,
Reply
#34
See this: https://forum.logicmachine.net/showthread.php?tid=5532
Reply


Forum Jump: