The issue is with Android/zmNinja from Google Play store.
zmNinja will only work with a woking zm installed. It seems that my installations of zm-1.29.0 is working.
But Adroid/zmNinja refuses to connect or authorize.
Desktop/zmNinja is working. See attachment with zm settings that are working just fine with Desktop/zmNinja under Fedora Linux.
Any help will be greatly appreciated.
Linforpros
So in essence here is the bunch of logs to sip through:
zm Log
Code: Select all
2016-02-01 18:06:17.507637 zmc_m4 20992 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-01 18:06:17.479489 zmc_m4 20992 ERR Found unsupported content type '' zm_remote_camera_http.cpp 1007
2016-02-01 18:03:58.094572 zmc_m6 21015 INF myCookieStore: 4000 - Capturing at 3.06 fps zm_monitor.cpp 3128
2016-02-01 18:03:57.355711 zmc_m3 20967 INF tStore: 3000 - Capturing at 2.29 fps zm_monitor.cpp 3128
2016-02-01 18:03:16.662407 zmc_m4 20992 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-01 18:03:16.641178 zmc_m4 20992 ERR Found unsupported content type '' zm_remote_camera_http.cpp 1007
2016-02-01 18:02:19.930905 zms 22311 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2016-02-01 18:00:50.266142 zmc_m4 20992 INF StreetJapan: 1000 - Capturing at 0.89 fps zm_monitor.cpp 3128
2016-02-01 18:00:15.775384 zmc_m4 20992 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-01 18:00:15.747339 zmc_m4 20992 ERR Found unsupported content type '' zm_remote_camera_http.cpp 1007
2016-02-01 17:59:40.904083 web_php 20729 INF Login successful for user "admin" /usr/share/zoneminder/www/includes/functions.php 59
2016-02-01 17:58:31.468134 zmc_m6 21015 INF myCookieStore: 3000 - Capturing at 3.07 fps zm_monitor.cpp 3128
2016-02-01 17:57:13.179511 zmc_m4 20992 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-01 17:57:13.161034 zmc_m4 20992 ERR Found unsupported content type '' zm_remote_camera_http.cpp 1007
2016-02-01 17:57:07.721810 zmaudit 21028 INF Deleting 1 old images zmaudit.pl
2016-02-01 17:56:40.238755 zmc_m3 20967 INF tStore: 2000 - Capturing at 2.29 fps zm_monitor.cpp 3128
2016-02-01 17:54:12.159955 zmc_m4 20992 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-01 17:54:12.139748 zmc_m4 20992 ERR Found unsupported content type '' zm_remote_camera_http.cpp 1007
2016-02-01 17:53:46.756831 zms 21921 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
journal -u zoneminder.service -r
Code: Select all
-- Logs begin at Tue 2016-01-19 12:13:33 CST, end at Mon 2016-02-01 18:12:19 CST. --
Feb 01 18:12:19 localhost.localdomain zmc_m4[20992]: ERR [Unable to get response, disconnecting]
Feb 01 18:12:19 localhost.localdomain zmc_m4[20992]: ERR [Found unsupported content type '']
Feb 01 18:11:14 localhost.localdomain zmc_m3[20967]: INF [tStore: 4000 - Capturing at 2.29 fps]
Feb 01 18:09:26 localhost.localdomain zmc_m6[21015]: INF [myCookieStore: 5000 - Capturing at 3.05 fps]
Feb 01 18:09:18 localhost.localdomain zmc_m4[20992]: ERR [Unable to get response, disconnecting]
Feb 01 18:09:18 localhost.localdomain zmc_m4[20992]: ERR [Found unsupported content type '']
Feb 01 18:06:17 localhost.localdomain zmc_m4[20992]: ERR [Unable to get response, disconnecting]
Feb 01 18:06:17 localhost.localdomain zmc_m4[20992]: ERR [Found unsupported content type '']
Feb 01 18:03:58 localhost.localdomain zmc_m6[21015]: INF [myCookieStore: 4000 - Capturing at 3.06 fps]
Feb 01 18:03:57 localhost.localdomain zmc_m3[20967]: INF [tStore: 3000 - Capturing at 2.29 fps]
Feb 01 18:03:16 localhost.localdomain zmc_m4[20992]: ERR [Unable to get response, disconnecting]
Feb 01 18:03:16 localhost.localdomain zmc_m4[20992]: ERR [Found unsupported content type '']
Feb 01 18:00:50 localhost.localdomain zmc_m4[20992]: INF [StreetJapan: 1000 - Capturing at 0.89 fps]
Feb 01 18:00:15 localhost.localdomain zmc_m4[20992]: ERR [Unable to get response, disconnecting]
Feb 01 18:00:15 localhost.localdomain zmc_m4[20992]: ERR [Found unsupported content type '']
Feb 01 17:58:31 localhost.localdomain zmc_m6[21015]: INF [myCookieStore: 3000 - Capturing at 3.07 fps]
Feb 01 17:57:13 localhost.localdomain zmc_m4[20992]: ERR [Unable to get response, disconnecting]
Feb 01 17:57:13 localhost.localdomain zmc_m4[20992]: ERR [Found unsupported content type '']
Feb 01 17:57:07 localhost.localdomain zmaudit[21028]: INF [Deleting 1 old images]
Feb 01 17:56:40 localhost.localdomain zmc_m3[20967]: INF [tStore: 2000 - Capturing at 2.29 fps]
Feb 01 17:54:12 localhost.localdomain zmc_m4[20992]: ERR [Unable to get response, disconnecting]
Feb 01 17:54:12 localhost.localdomain zmc_m4[20992]: ERR [Found unsupported content type '']
Feb 01 17:53:05 localhost.localdomain zmc_m6[21015]: INF [myCookieStore: 2000 - Capturing at 3.03 fps]
Feb 01 17:52:42 localhost.localdomain zmdc[20934]: WAR [Can't find process with command of 'zma -m 5']
Feb 01 17:52:42 localhost.localdomain zmdc[20934]: WAR [Can't find process with command of 'zmtrack.pl -m 5']
Feb 01 17:52:42 localhost.localdomain zmdc[20934]: INF [Command 'zmc -m 5' removed from pending list at 16/02/01
Feb 01 17:52:42 localhost.localdomain zmdc[20934]: INF ['zma -m 5' exited normally]
Feb 01 17:52:42 localhost.localdomain zma_m5[20997]: INF [Got signal 15 (Terminated), exiting]
Feb 01 17:52:42 localhost.localdomain zmdc[20934]: INF ['zma -m 5' sending stop to pid 20997 at 16/02/01 17:52:4
Feb 01 17:52:42 localhost.localdomain zmdc[20934]: WAR [Can't find process with command of 'zmtrack.pl -m 5']
Feb 01 17:52:35 localhost.localdomain zmdc[20934]: ERR ['zmc -m 5' exited abnormally, exit status 255]
Feb 01 17:52:35 localhost.localdomain zmc_m5[21739]: ERR [Failed to pre-capture monitor 5 1765765156 (1/1)]
Feb 01 17:52:35 localhost.localdomain zmc_m5[21739]: ERR [Unable to connect to camera]
Feb 01 17:52:35 localhost.localdomain zmc_m5[21739]: ERR [Unable to connect to the remote camera, aborting]
httpd config F23
Code: Select all
grep '^[^#].*' /etc/httpd/conf.d/ssl.conf
Listen 443 https
SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
SSLSessionCache shmcb:/run/httpd/sslcache(512000)
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost _default_:443>
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3
SSLHonorCipherOrder on
SSLCipherSuite PROFILE=SYSTEM
SSLProxyCipherSuite PROFILE=SYSTEM
SSLCertificateFile /etc/pki/tls/certs/zoneminder.crt
SSLCertificateKeyFile /etc/pki/tls/private/zoneminder.key
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-5]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
Code: Select all
Feb 1, 2016 6:15:36 PM INFO zmAutologin Error null
Feb 1, 2016 6:15:36 PM INFO Checking if reCaptcha is enabled in ZM...
Feb 1, 2016 6:15:36 PM INFO zmAutologin called
Feb 1, 2016 6:15:36 PM INFO Cancelling zmAutologin timer
Feb 1, 2016 6:15:36 PM INFO not checking for touchID
Feb 1, 2016 6:15:36 PM INFO User credentials are provided
Feb 1, 2016 6:15:35 PM INFO App is resuming from background
Feb 1, 2016 6:12:17 PM INFO Stopping network pull...
Feb 1, 2016 6:12:17 PM INFO Cancelling zmAutologin timer
Feb 1, 2016 6:12:17 PM INFO App is going into background
Feb 1, 2016 6:10:16 PM INFO zmAutologin Error null
Feb 1, 2016 6:10:16 PM INFO Checking if reCaptcha is enabled in ZM...
Feb 1, 2016 6:10:16 PM INFO zmAutologin called
Feb 1, 2016 6:10:16 PM INFO Saving all parameters to storage
Feb 1, 2016 6:10:16 PM INFO Authentication is disabled, setting dummy user & pass
Feb 1, 2016 6:10:13 PM INFO zmAutologin Error null
Feb 1, 2016 6:10:13 PM INFO Checking if reCaptcha is enabled in ZM...
Feb 1, 2016 6:10:13 PM INFO zmAutologin called
Feb 1, 2016 6:10:13 PM INFO Saving all parameters to storage
Feb 1, 2016 6:10:13 PM INFO Authentication is disabled, setting dummy user & pass
Feb 1, 2016 6:10:08 PM INFO zmAutologin Error null
Feb 1, 2016 6:10:08 PM INFO Checking if reCaptcha is enabled in ZM...
Feb 1, 2016 6:10:08 PM INFO zmAutologin called
Feb 1, 2016 6:10:08 PM INFO Saving all parameters to storage
Feb 1, 2016 6:10:08 PM INFO Authentication is disabled, setting dummy user & pass
Feb 1, 2016 6:09:53 PM ERROR Monitor load failed null
Feb 1, 2016 6:09:53 PM INFO getMonitors:Loading all monitors
Feb 1, 2016 6:09:49 PM INFO zmAutologin Error null
Feb 1, 2016 6:09:49 PM INFO Checking if reCaptcha is enabled in ZM...
Feb 1, 2016 6:09:49 PM INFO zmAutologin called
Feb 1, 2016 6:09:49 PM INFO Cancelling zmAutologin timer
Feb 1, 2016 6:09:49 PM INFO not checking for touchID
Feb 1, 2016 6:09:49 PM INFO User credentials are provided
Feb 1, 2016 6:09:49 PM INFO App is resuming from background
Feb 1, 2016 6:09:33 PM INFO Stopping network pull...
Feb 1, 2016 6:09:33 PM INFO Cancelling zmAutologin timer
Feb 1, 2016 6:09:33 PM INFO App is going into background
Feb 1, 2016 6:09:31 PM INFO zmAutologin Error null
Feb 1, 2016 6:09:31 PM INFO Checking if reCaptcha is enabled in ZM...
Feb 1, 2016 6:09:31 PM INFO zmAutologin called
Feb 1, 2016 6:09:31 PM INFO Cancelling zmAutologin timer
Feb 1, 2016 6:09:31 PM INFO not checking for touchID
Feb 1, 2016 6:09:31 PM INFO User credentials are provided
Feb 1, 2016 6:09:31 PM INFO App is resuming from background
Feb 1, 2016 5:52:44 PM INFO Stopping network pull...
Feb 1, 2016 5:52:44 PM INFO Cancelling zmAutologin timer
Feb 1, 2016 5:52:44 PM INFO App is going into background
Feb 1, 2016 5:50:42 PM INFO zmAutologin Error null
Feb 1, 2016 5:50:42 PM INFO Checking if reCaptcha is enabled in ZM...
Feb 1, 2016 5:50:42 PM INFO zmAutologin called
Feb 1, 2016 5:50:42 PM INFO Saving all parameters to storage
Feb 1, 2016 5:50:42 PM INFO Authentication is disabled, setting dummy user & pass
Feb 1, 2016 5:50:26 PM INFO zmAutologin Error null
Feb 1, 2016 5:50:26 PM INFO Checking if reCaptcha is enabled in ZM...
Feb 1, 2016 5:50:26 PM INFO zmAutologin called
Feb 1, 2016 5:50:26 PM INFO Cancelling zmAutologin timer
Feb 1, 2016 5:50:26 PM INFO not checking for touchID
Feb 1, 2016 5:50:26 PM INFO User credentials are provided
Feb 1, 2016 5:50:26 PM INFO zmNinja Version: 1.0.5
Feb 1, 2016 5:50:26 PM INFO Deleting old log file as it exceeds 20000 bytes
2016-02-01T23:50:26.080Z INFO No Event Server present. Not initializing
2016-02-01T23:50:26.078Z INFO DataModel init recovered this loginData as {"serverName":"zoneminder","username":"admin","password":"<deleted>","url":"https://<server>","apiurl":"https://<server>/api","eventServer":"wss://<server>","maxMontage":"10","streamingurl":"https://<server>","maxFPS":"3","montageQuality":"50","singleImageQuality":"50","useSSL":true,"keepAwake":true,"isUseAuth":"1","isUseEventServer":"0","disablePush":"0","eventServerMonitors":"","eventServerInterval":"","refreshSec":"2","enableDebug":false,"usePin":false,"pinCode":"","canSwipeMonitors":true,"persistMontageOrder":false,"onTapScreen":"montage","enableh264":true,"gapless":false,"montageOrder":"","montageHiddenOrder":"","montageArraySize":"0","graphSize":200,"minAlarmCount":"1","montageSize":"10","useNphZms":true,"packMontage":true}
2016-02-01T23:50:26.064Z INFO ZMData init: checking for stored variables & setting up log file
2016-02-01T23:50:26.053Z INFO Device is ready
EDIT: Feb 1 2016
The problem disapeared after generation of a cert with the right /ip/hostname. Uploading of the cert to phone, restarting httpd.service.
Thank you for private e-mails to get it solved.
Linforpros