Skip to content
This repository was archived by the owner on Jun 14, 2026. It is now read-only.
This repository was archived by the owner on Jun 14, 2026. It is now read-only.

Mobile unable to connect to the event server #403

@rajil

Description

@rajil

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
(example only, please edit this line) Android 6.0.1 Marshmallow

The version of the app you are reporting:
(example only, please edit this line) 1.2.31

Device details:
(example only, please edit this line) Samsung Note 4

What is the nature of your issue
Bug

Details
I have configured zmeventnotification.pl on the server and can see messages in the server log. However the client does not connect to the event server.

I have set my $useSecure = 0 on the server. On the client the connect strict is ws://mylanip:9000

Client log

Dec 3, 2016 09:49 PM INFO user profile encrypted, decoding...
Dec 3, 2016 09:49 PM INFO Setting up pause and resume handler AFTER language is loaded...
Dec 3, 2016 09:49 PM INFO Setting up POST LOGIN timer
Dec 3, 2016 09:49 PM INFO Checking for news updates
Dec 3, 2016 09:49 PM INFO Checking for new version updates...
Dec 3, 2016 09:49 PM INFO No Event Server present. Not initializing
Dec 3, 2016 09:49 PM INFO ZMData init: checking for stored variables & setting up log file
Dec 3, 2016 09:49 PM INFO Language file loaded, continuing with rest
Dec 3, 2016 09:49 PM INFO >>>>Language to be used:en
Dec 3, 2016 09:49 PM INFO Device Language is:en
Dec 3, 2016 09:49 PM INFO Language stored as:en
Dec 3, 2016 09:49 PM INFO App Version: 1.2.31
Dec 3, 2016 09:49 PM INFO Retrieving language before init is called...
Dec 3, 2016 09:49 PM INFO Enabling native transitions...
2016-12-04T03:49:19.619Z INFO Enabling insecure SSL
2016-12-04T03:49:19.608Z INFO Updating statusbar
2016-12-04T03:49:19.606Z INFO >>>>No data to import....
2016-12-04T03:49:19.356Z INFO localforage driver for storage:asyncStorage
2016-12-04T03:49:19.354Z DEBUG text zoom factor is 1
2016-12-04T03:49:18.947Z INFO You are running on android

Server log

2016-12-03 21:49:24.231430	zmeventnotification		69153	INF	Storing token ...LlYrkXDHbS,monlist:-1,intlist:-1,pushstate:enabled	zmeventnotification.pl	
2016-12-03 21:49:24.230720	zmeventnotification		69153	INF	Duplicate token found, marking for deletion	zmeventnotification.pl	
2016-12-03 21:49:24.162640	zmeventnotification		69153	INF	Correct authentication provided by mylanip	zmeventnotification.pl

Any idea why the client is not connecting to the server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions