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

Login denied for user "" when not using ZM authentication #459

Closed
steveearle86 opened this issue Feb 18, 2017 · 17 comments
Closed

Login denied for user "" when not using ZM authentication #459

steveearle86 opened this issue Feb 18, 2017 · 17 comments
Labels

Comments

@steveearle86
Copy link

Platform & OS Version
Android (multiple versions including 6.0.1)

The version of the app you are reporting:
v1.2.38

Device details:
Samsung Galaxy s7 / Amazon Kindle Fire

What is the nature of your issue
Bug?

Details
I have no authentication on my zoneminder server so I can browse to serverip/zm and see everything without entering username and password etc.

I have set up zmNinja to work with my server and have the setting "use ZM authentication" unchecked.

When I open the app, it says "authenitcating" and I get an entry iin my zm log

2017-02-18 20:31:13.031770 web_php 2687 WAR Login denied for user "" /usr/share/zoneminder/www/includes/functions.php 59

when I leave the app open, I get the above entries in the log every 15 minutes or so.

Everything is workng fine, it is just annoying that this clutters up the log as it is an amber alert and therfore the "Log" hyperlink on the home page is always amber (I have a tablet with zmninja running 24/7)

Is there a fix / workaround?

Thanks!

@pliablepixels
Copy link
Member

good catch. fixed (I hope)

@steveearle86
Copy link
Author

Thanks. How do I get the update? Will this come in the next Play Store update?

@pliablepixels
Copy link
Member

Yes, it will be in the next update. You can sign up to the beta channel - I'll upload it there sooner. https://play.google.com/apps/testing/com.pliablepixels.zmninja_pro

@steveearle86
Copy link
Author

Hi,
I have just downloaded the updated app from the Play Store and the behaviour is still the same (still makes an entry in the log "login denied for user")

@pliablepixels
Copy link
Member

Argh.

@pliablepixels pliablepixels reopened this Mar 5, 2017
@pliablepixels
Copy link
Member

Can you email me a screen shot of your settings screen. Pliablepixels@gmail. You can mask your ip.

Are you on 1.2.38 or 39?

@steveearle86
Copy link
Author

Screenshot sent, as well a screenshot from the zm log

@pliablepixels
Copy link
Member

Can you update ZM web/api/app/Controller/HostController.php with this one https://raw.githubusercontent.com/ZoneMinder/ZoneMinder/master/web/api/app/Controller/HostController.php

Then please restart zmNinja

@steveearle86
Copy link
Author

steveearle86 commented Mar 5, 2017 via email

@pliablepixels
Copy link
Member

Tap on "menu" and let me know what you see at the very bottom of the menu - server time and local time

@pliablepixels
Copy link
Member

Also, log in to ZM on a browser, open a new tab and do
http://server/zm/api/host/getTimeZone.json

(replace protocol/path) and let me know what you see

@pliablepixels
Copy link
Member

Oh no, wrong post. This was meant to go on another issue! sorry!

@steveearle86
Copy link
Author

steveearle86 commented Mar 5, 2017 via email

@steveearle86
Copy link
Author

steveearle86 commented Mar 5, 2017 via email

@steveearle86
Copy link
Author

steveearle86 commented Mar 5, 2017 via email

@steveearle86
Copy link
Author

steveearle86 commented Mar 5, 2017 via email

@pliablepixels
Copy link
Member

No thats fine - it is harmless - just adds an extra api

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

No branches or pull requests

2 participants