15.09.2022, 16:41
Hi, we are using http api / base auth in our web application to communicate with Logic Machine. Everything worked just fine, but with latest LM fw update, we cannot log in from the web app to the LM anymore. Basically the CORS setting works ok, we have set the domain of the web app in the Services / Http server screen. The OPTIONS request from the web app gets the response 200 -> OK, but the following GET request just dies, LM returning an 400 - Bad request error.
Nothing is logged anywhere, nor in the nginx error log (debug level).
We traced that the request hits the lp-handler.lua, but what happens there is unknown (it's either bytecode, or otherwise not readable).
Before the introduction of the CORS setting in the system menu of the LM, the web app was working fine.
Our LM version:
HW: LM5 Lite (i.MX6)
SW: 20211215
Does anybody have similar experience? What would you suggest as next step in debugging? Is it possible to obtain the lp-handler.lua source?
Thank you for any help or suggestion.
Peter
Nothing is logged anywhere, nor in the nginx error log (debug level).
We traced that the request hits the lp-handler.lua, but what happens there is unknown (it's either bytecode, or otherwise not readable).
Before the introduction of the CORS setting in the system menu of the LM, the web app was working fine.
Our LM version:
HW: LM5 Lite (i.MX6)
SW: 20211215
Does anybody have similar experience? What would you suggest as next step in debugging? Is it possible to obtain the lp-handler.lua source?
Thank you for any help or suggestion.
Peter