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

ZM Auth not working #910

Closed
bignellrp opened this issue Mar 22, 2020 · 2 comments
Closed

ZM Auth not working #910

bignellrp opened this issue Mar 22, 2020 · 2 comments
Labels

Comments

@bignellrp
Copy link

bignellrp commented Mar 22, 2020

The version of zmNinja you are reporting:

1.3.089 (ios)

The version and OS of ZoneMinder you are using:

1.34.6 on Freebsd

Platform zmNinja is running on

IOS 13.3.1 on iPhone Xs

Describe the bug
Auth error when enabling auth. Works fine without auth. Zm logs say auth successful over and over again but zmninja app doesnt login.

All of these have been checked:

Make sure you have the following settings in ZM:

AUTH_RELAY is set to hashed
A valid AUTH_HASH_SECRET is provided (not empty)
AUTH_HASH_IPS is disabled
OPT_USE_APIS is enabled
If you are using any version lower than ZM 1.34, OPT_USE_GOOG_RECAPTCHA is disabled
If you are NOT using authentication at all in ZM, that is OPT_USE_AUTH is disabled, then make sure you also disable authentication in zmNinja, otherwise it will keep waiting for auth keys.
Disable server redirects like 302 and then try if using the mobile app
To make sure there are no connection issues, launch your phone browser and try to reach ZoneMinder. If that doesn’t work, neither with zmNinja. Many users try to access ZoneMinder from a desktop browser and/or on the same server it is running and forget the phone is a different device!
Some phones need the SSL certificate installed in the device
Specific SSL settings can cause issues with Android or iOS
Don’t use funky/special characters in passwords - try changing it to a complex password without funky characters and try
Use the wizard - I’ve seen many examples of typos when the user thinks they don’t have a typo
If you are using basic authentication, make sure your credentials are correct. A good way to test is to first disable basic auth and enable it after you are sure things work without basic auth.
Please note zmNinja does NOT support Digest authentication. So please don’t put in digest auth info when zmNinja asks for basic authentication
Look at your ZM logs and zmNinja logs - they help isolate the problem

Debug logs

Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json
Mar 22, 2020 10:42:24 PM DEBUG Not intercepting as skipIntercept is true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM INFO API based login not supported, need to use web scraping...
Mar 22, 2020 10:42:24 PM DEBUG obfuscate: original:5488 obfuscated:1429 scheme:lzs
Mar 22, 2020 10:42:24 PM DEBUG NVR loginWebScrape: User cancelled auth, not proceeding
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json
Mar 22, 2020 10:42:24 PM DEBUG Not intercepting as skipIntercept is true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM INFO API based login not supported, need to use web scraping...
Mar 22, 2020 10:42:24 PM DEBUG obfuscate: original:5488 obfuscated:1429 scheme:lzs
Mar 22, 2020 10:42:24 PM DEBUG NVR loginWebScrape: User cancelled auth, not proceeding
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json
Mar 22, 2020 10:42:24 PM DEBUG Not intercepting as skipIntercept is true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM INFO API based login not supported, need to use web scraping...
Mar 22, 2020 10:42:24 PM DEBUG obfuscate: original:5488 obfuscated:1429 scheme:lzs
Mar 22, 2020 10:42:24 PM DEBUG NVR loginWebScrape: User cancelled auth, not proceeding
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"206","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"206","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"206","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"206","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json
Mar 22, 2020 10:42:24 PM DEBUG Not intercepting as skipIntercept is true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json
Mar 22, 2020 10:42:24 PM DEBUG Not intercepting as skipIntercept is true
Mar 22, 2020 10:42:24 PM INFO API based login not supported, need to use web scraping...
Mar 22, 2020 10:42:24 PM DEBUG obfuscate: original:5488 obfuscated:1429 scheme:lzs
Mar 22, 2020 10:42:24 PM DEBUG NVR loginWebScrape: User cancelled auth, not proceeding
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM INFO API based login not supported, need to use web scraping...
Mar 22, 2020 10:42:24 PM DEBUG obfuscate: original:5488 obfuscated:1429 scheme:lzs
Mar 22, 2020 10:42:24 PM DEBUG NVR loginWebScrape: User cancelled auth, not proceeding
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json
Mar 22, 2020 10:42:24 PM DEBUG Not intercepting as skipIntercept is true
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM INFO API based login not supported, need to use web scraping...
Mar 22, 2020 10:42:24 PM DEBUG obfuscate: original:5488 obfuscated:1429 scheme:lzs
Mar 22, 2020 10:42:24 PM DEBUG NVR loginWebScrape: User cancelled auth, not proceeding
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json
Mar 22, 2020 10:42:24 PM DEBUG Not intercepting as skipIntercept is true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM INFO API based login not supported, need to use web scraping...
Mar 22, 2020 10:42:24 PM DEBUG obfuscate: original:5488 obfuscated:1429 scheme:lzs
Mar 22, 2020 10:42:24 PM DEBUG NVR loginWebScrape: User cancelled auth, not proceeding
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json
Mar 22, 2020 10:42:24 PM DEBUG Not intercepting as skipIntercept is true
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:undefined
Mar 22, 2020 10:42:24 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:24 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:24 PM INFO Token login not being used
Mar 22, 2020 10:42:24 PM INFO Doing fresh login to ZM
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG event status load failed: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"293","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/events/index/MonitorId%20=:4/AlarmFrames%20%3E=:1.json?sort=StartTime&direction=desc&limit=1","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/events\\/index\\/MonitorId%20=:4\\/AlarmFrames%20%3E=:1.json?sort=StartTime&direction=desc&limit=1\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM INFO API based login not supported, need to use web scraping...
Mar 22, 2020 10:42:24 PM DEBUG obfuscate: original:5488 obfuscated:1429 scheme:lzs
Mar 22, 2020 10:42:24 PM DEBUG NVR loginWebScrape: User cancelled auth, not proceeding
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"206","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":-4,"error":"The request timed out."}
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG AuthHash API Error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"206","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/host/login.json","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM DEBUG Auth Hash error: {"status":401,"headers":{"x-powered-by":"PHP/7.2.25","content-length":"235","content-type":"application/json; charset=UTF-8","connection":"keep-alive","server":"nginx","date":"Sun, 22 Mar 2020 22:42:24 GMT"},"url":"http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?","error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_AUTH_HASH_LOGINS.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM INFO Stream authentication construction: 
Mar 22, 2020 10:42:24 PM DEBUG auth-success broadcast:Successful
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:24 PM DEBUG ** Native, tokens generated, retrying old request with skipIntercept = true
Mar 22, 2020 10:42:25 PM DEBUG ***  Inside native HTTP error for url:http://scudvm.richardbignell.co.uk:8888/zm/api/configs/viewByName/ZM_AUTH_HASH_LOGINS.json?
Mar 22, 2020 10:42:25 PM DEBUG ** Native intercept: Got 401, going to try logging in
Mar 22, 2020 10:42:25 PM INFO Token login not being used
Mar 22, 2020 10:42:25 PM INFO Doing fresh login to ZM

@pliablepixels
Copy link
Member

@stale
Copy link

stale bot commented May 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 7, 2020
@stale stale bot closed this as completed May 13, 2020
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