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

Windows client issues #739

Closed
ghost opened this issue Nov 2, 2018 · 7 comments
Closed

Windows client issues #739

ghost opened this issue Nov 2, 2018 · 7 comments

Comments

@ghost
Copy link

ghost commented Nov 2, 2018

Platform & OS Version
Client windows 7
zoneminder ubuntu 18.04

The version of zmNinja you are reporting:

latest

The version of ZoneMinder you are using:
1.32.2

Device details:

Windows 7

Details

ZmNinja authenticates fine however nothing works after that.

Debug Logs (if applicable)


<insert debug logs here, please make sure they are within the 
`Nov 2, 2018 08:56:42 AM http://192.168.0.66/zm/index.php=>Logging out of any existing ZM sessions...
DataModel.js:2856 CURRENT SERVER: 
filelogger.min.js:6 Nov 2, 2018 08:56:42 AM zmAutologin called
filelogger.min.js:6 Nov 2, 2018 08:56:42 AM Checking if reCaptcha is enabled in ZM...
filelogger.min.js:6 Nov 2, 2018 08:56:42 AM ZM has recaptcha disabled - good
filelogger.min.js:6 Nov 2, 2018 08:56:43 AM zmAutologin successfully logged into Zoneminder
ionic.bundle.js:26799 TypeError: Cannot read property 'length' of undefined
    at getAuthKey (file:///C:/Users/Ian/AppData/Local/Programs/zmninjapro/resources/app.asar/www/js/DataModel.js:398:30)
    at Object.getAuthKey (file:///C:/Users/Ian/AppData/Local/Programs/zmninjapro/resources/app.asar/www/js/DataModel.js:1787:18)
    at file:///C:/Users/Ian/AppData/Local/Programs/zmninjapro/resources/app.asar/www/js/app.js:1304:24
    at file:///C:/Users/Ian/AppData/Local/Programs/zmninjapro/resources/app.asar/www/lib/ionic/js/ionic.bundle.js:24536:13
    at processQueue (file:///C:/Users/Ian/AppData/Local/Programs/zmninjapro/resources/app.asar/www/lib/ionic/js/ionic.bundle.js:29132:28)
    at file:///C:/Users/Ian/AppData/Local/Programs/zmninjapro/resources/app.asar/www/lib/ionic/js/ionic.bundle.js:29148:27
    at Scope.$eval (file:///C:/Users/Ian/AppData/Local/Programs/zmninjapro/resources/app.asar/www/lib/ionic/js/ionic.bundle.js:30400:28)`` quotes so they are formatted properly>

Thanks!

@pliablepixels
Copy link
Member

You seem to be having authentication problems. Can you send me an email - pliablepixels at gmail

@pliablepixels
Copy link
Member

Give this a go https://drive.google.com/drive/folders/1QIbVCWFctJ6GA3yziVVZDGRVwLqX0TBN?usp=sharing

If it doesn't work, please send me full logs (not just the excerpt)

@ghost
Copy link
Author

ghost commented Nov 2, 2018

Hi

Done as suggested but got same.

Failed to load resource: net::ERR_FILE_NOT_FOUND
index.html:171 ******* PLATFORM READY ****
filelogger.min.js:6 2018-11-02T14:28:16.767Z ******* app .run device ready
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Device is ready
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM You are running on desktop
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM configureStorageDB:localforage driver for storage:asyncStorage
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM localforage driver:asyncStorage
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Cloud settings plugin not found, skipping cloud sync...
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Cloudsync operation complete, continuing...
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM >>>>No data to import....
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Retrieving language before init is called...
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM No language set, switching to en
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Device Language is:en
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM >>>>Language to be used:en
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Language file loaded, continuing with rest
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM ZMData init: checking for stored variables & setting up log file
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Checking for new version updates...
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Checking for news updates
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Setting up POST LOGIN timer
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM Setting up pause and resume handler AFTER language is loaded...
filelogger.min.js:6 Nov 2, 2018 02:28:16 PM user profile encrypted, decoding...
filelogger.min.js:6 Nov 2, 2018 02:28:17 PM Setting DataModel init bandwidth to: highbw
filelogger.min.js:6 Nov 2, 2018 02:28:17 PM DataModel init retrieved store loginData
filelogger.min.js:6 Nov 2, 2018 02:28:17 PM Inside init-complete in app.js: All init over, going to portal login
filelogger.min.js:6 Nov 2, 2018 02:28:17 PM Entering Portal Main
filelogger.min.js:6 Nov 2, 2018 02:28:17 PM User credentials are provided
filelogger.min.js:6 Nov 2, 2018 02:28:17 PM not checking for touchID
filelogger.min.js:6 Nov 2, 2018 02:28:17 PM Cancelling zmAutologin timer
filelogger.min.js:6 Nov 2, 2018 02:28:17 PM http://192.168.0.66/zm/index.php=>Logging out of any existing ZM sessions...
filelogger.min.js:6 Nov 2, 2018 02:28:18 PM zmAutologin called
filelogger.min.js:6 Nov 2, 2018 02:28:18 PM Checking if reCaptcha is enabled in ZM...
filelogger.min.js:6 Nov 2, 2018 02:28:19 PM ZM has recaptcha disabled - good
filelogger.min.js:6 Nov 2, 2018 02:28:19 PM zmAutologin successfully logged into Zoneminder
filelogger.min.js:6 Nov 2, 2018 02:28:19 PM Deferring auth key, as monitorId unknown
filelogger.min.js:6 Nov 2, 2018 02:28:19 PM Stream authentication construction: undefined
filelogger.min.js:6 Nov 2, 2018 02:28:19 PM API Error handler: going to login getAPI returned error: "-1.-1.-1"
filelogger.min.js:6 Nov 2, 2018 02:28:19 PM --------->Setting up network state handlers....
filelogger.min.js:6 Nov 2, 2018 02:28:20 PM http://192.168.0.66/zm/index.php=>Logging out of any existing ZM sessions...
filelogger.min.js:6 Nov 2, 2018 02:28:20 PM zmAutologin called
filelogger.min.js:6 Nov 2, 2018 02:28:20 PM Checking if reCaptcha is enabled in ZM...
filelogger.min.js:6 Nov 2, 2018 02:28:21 PM ZM has recaptcha disabled - good
filelogger.min.js:6 Nov 2, 2018 02:28:21 PM zmAutologin successfully logged into Zoneminder
filelogger.min.js:6 Nov 2, 2018 02:28:21 PM Deferring auth key, as monitorId unknown
filelogger.min.js:6 Nov 2, 2018 02:28:21 PM Stream authentication construction: undefined
filelogger.min.js:6 Nov 2, 2018 02:28:21 PM In Auth State trans: Not logged in, requested to go to {"data":{"requireLogin":false},"cache":false,"url":"/invalidapi","templateUrl":"templates/invalidapi.html","controller":"zmApp.InvalidApiCtrl","name":"app.invalidapi"}

@pliablepixels
Copy link
Member

Is it possible for me to get access to the ZM portal with a test account? If so, please email access

@pliablepixels
Copy link
Member

pliablepixels commented Nov 2, 2018

Works for me:
47922219-eb57fd00-de8c-11e8-9ea1-d19b02040624

Make sure your settings match (and make sure your zmNinja version shows 1.3.029 in logs)

screen shot 2018-11-02 at 10 49 34 am

@ghost
Copy link
Author

ghost commented Nov 2, 2018 via email

@pliablepixels
Copy link
Member

sounds good.

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

1 participant