Skip to content
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

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

Open
gstlouisgit opened this issue Feb 8, 2024 · 1 comment

Comments

@gstlouisgit
Copy link

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?

@EpicMulletGuy
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants