zmNinja icon indicating copy to clipboard operation
zmNinja copied to clipboard

AppImage 1.7.6 from releases not working on debian desktop login validated but API failed - config is fine

Open gstlouisgit opened this issue 1 year ago • 1 comments

I download the zmninja from this page using the AppImage 1.7.6 on deian linux desktop cinnamin https://github.com/ZoneMinder/zmNinja/releases

I setup the config the exact same way as my android phone, and my macbook app and it keep saying login validated but API failed. Obviously it works on several other phones and tablets etc. My config is not wrong. does anyone know the reason for this?

gstlouisgit avatar Feb 08 '24 18:02 gstlouisgit

Having this same issue only on Windows with latest build. The android app works flawless no issues, windows is always "API Access failed. Please make sure your APIs are configured correctly and are accessible."

The log shows "Jul 2, 2024 08:55:12:772 AM INFO zmAutologin Error {"data":null,"status":-1,"config":{"method":"POST","transformResponse":[null],"timeout":10000,"url":"/index.php?view=console","skipIntercept":true,"headers":{"Content-Type":"application/x-www-form-urlencoded","Accept":"application/json","X-ZmNinja":"zmNinja_%APPVER%"},"data":{"username":"removed",,"action":"login","view":"console"},"withCredentials":true},"statusText":""} and status undefined Jul 2, 2024 08:55:12:772 AM DEBUG zmAutoLogin: Inside auth-error broadcast Jul 2, 2024 08:55:12:773 AM INFO Interception proceedWithLogin completed, retrying old request with skipIntercept = true Jul 2, 2024 08:55:12:783 AM INFO Not intercepting as skipIntercept true"

What scary is the log shows password in plain text in one of the errors below the above one.

EpicMulletGuy avatar Jul 02 '24 08:07 EpicMulletGuy