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

(timeout) "Zoneminder Authentication Failed" even though Zoneminder's logs says authentication was successful #487

Closed
wmtran25 opened this issue Mar 2, 2017 · 2 comments
Labels

Comments

@wmtran25
Copy link

wmtran25 commented Mar 2, 2017

Before you create an issue, please make sure you have read the FAQ at https://github.com/pliablepixels/zmNinja/wiki/FAQ. Common questions on API, no image etc are covered there.

Platform & OS Version
Apple iOS 10.2.1

The version of the app you are reporting:
1.2.38

Device details:
iPhone 6

What is the nature of your issue
zmNinja apps says Zoneminder authentication failed even though Zoneminder's logs says authentication was success.

Details
Zoneminder was install on a Netgear ReadyNas 102 device. zmNinja app was about to detect the ZM portal URL, path to cgi-bin, and ZP api url successfully. Zoneminder's API was validated based on the guide posted. I am unable to pass the Zoneminder authentication failed message and when I go to any other menu like Monitors and Events, I get an Invalid API. I can see from the logs during the wizards setup, I was able to authenticate and it validated the API and was able to pull information from my Zoneminder.

I have tried zmNinja from my Mac Book Pro also and it gives the same results.

Thanks!

@pliablepixels
Copy link
Member

I recently fixed a timeout issue that should be in 1.2.38. Is it possible for me to have temporary access to your server with a test user account? I can try connect my mac and see what is going on. If it is, please shoot me an email - pliablepixels@gmail

@pliablepixels pliablepixels changed the title "Zoneminder Authentication Failed" even through Zoneminder's logs says authentication was successful (timeout) "Zoneminder Authentication Failed" even though Zoneminder's logs says authentication was successful Mar 3, 2017
@pliablepixels
Copy link
Member

The user was running ZM on a NAS which was very slow (over 25 seconds for login). This was causing zmNinja to abort HTTP connections. To help with very slow devices, I plan to add a "developer option" to increase HTTP timeouts to 60s (don't enable this by default, because it will lock for longer waiting for non responsive HTTP operations to complete)

maymaymay added a commit to maymaymay/zmNinja that referenced this issue Mar 3, 2017
pliablepixels added a commit that referenced this issue Mar 3, 2017
 #487 - devoption added to increase HTTP timeouts
cryptage21 added a commit to cryptage21/zmNinja that referenced this issue Mar 3, 2017
pliablepixels added a commit that referenced this issue Mar 3, 2017
#487 - devoption added to increase HTTP timeouts
pliablepixels added a commit that referenced this issue Mar 4, 2017
#487 - devoption added to increase HTTP timeouts
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