English > English corner

Fence entry/exit inconsistent with 1 phone, ok with the other

(1/3) > >>

cv27:
Hello Egmont,


I have been struggling with the app on one particular phone over the last several months.  Both phones are currently on BT 1.0.7 and have identical configurations.

One phone, a Samsung S4 on Android 5.0.1, is running just fine.  The other one, a Samsung S5 on Android 6.0.1, consistently misses sending either a fence entry or an exit.  Power conservation on the S5 is off for the app and it does send tracking information correctly.

I've spent hours reviewing parameters, documentation and logs to understand, but to no avail.  I do see sporadically the message "Error (GR02) in get of the server response: Unable to resolve host "xxx.entrydns.org": No address associated with hostname".  But that DNS entry is resolvable, so one would assume a malfunctioning socket, but then tracking information and some fences do get sent by the app.

Can you point to any debugging technique to narrow down the issue?  I guess I could set the logging to 'info' to get a complete picture.  Anything else?

Admin:

--- Zitat ---One phone, a Samsung S4 on Android 5.0.1, is running just fine.  The other one, a Samsung S5 on Android 6.0.1, consistently misses sending either a fence entry or an exit.  Power conservation on the S5 is off for the app and it does send tracking information correctly.
--- Ende Zitat ---
Did you set the accuracy in the app to a value greater 0. Then set it to 0.


--- Zitat ---Error (GR02) in get of the server response: Unable to resolve host "xxx.entrydns.org": No address associated with hostname
--- Ende Zitat ---
If so, no internet is available. Try to play with the radius. Maybe you have at that point no internet.
Did you gave the app the internet permission?


--- Zitat ---Can you point to any debugging technique to narrow down the issue?  I guess I could set the logging to 'info' to get a complete picture.  Anything else?
--- Ende Zitat ---
Debug is writing more out.
Other techniques are not available.

cv27:
Accuracy - set to 0.
Internet - permissions show it has WiFi/Internet access; keep in mind EgiGeoZoneBT on the S5 phone works ok for a while, registering a fence exit, transmitting tracking information, but then misses the fence entry for some reason.


I found another issue.  My wife powers off the S5 when going to a medical appointment and powers it back up when leaving that location.  Logging on the HS PHLocation plugin side shows the S5 transmitting everything it should until the phone is powered off.  When the phone is powered up again, the HS PHLocation plugin does not receive anymore; here's what the logging shows on the S5 EgiGeoZoneBT side, at power on:

2017-02-21 15:35:45,059 - [ERROR::de.egi.geofence.geozone.bt.StartupReceiver::de.egi.geofence.geozone.bt.StartupReceiver] - Logger set!
2017-02-21 15:35:45,087 - [ERROR::de.egi.geofence.geozone.bt.StartupReceiver::de.egi.geofence.geozone.bt.StartupReceiver] - EgiGeoZone gestartet
2017-02-21 15:35:45,131 - [ERROR::de.egi.geofence.geozone.bt.StartupReceiver::de.egi.geofence.geozone.bt.StartupReceiver] - call registerGeofencesAfterRebootOrUpdate: android.intent.action.BOOT_COMPLETED
2017-02-21 15:35:45,132 - [ERROR::de.egi.geofence.geozone.bt.StartupReceiver::de.egi.geofence.geozone.bt.StartupReceiver] - in registerGeofencesAfterRebootOrUpdate
2017-02-21 15:35:45,144 - [ERROR::de.egi.geofence.geozone.bt.StartupReceiver::de.egi.geofence.geozone.bt.StartupReceiver] - registerPathsenseAfterRebootOrUpdate
2017-02-21 15:46:12,812 - [ERROR::de.egi.geofence.geozone.bt.geofence.PathsenseGeofenceEventReceiverService::de.egi.geofence.geozone.bt.geofence.PathsenseGeofenceEventReceiverService] - Do not call events after reboot or at update

Next time I get a chance, I'll do the power off/on with 'debug' on.

In the meantime, do you see any explanation for EgiGeoZoneBT not transmitting after being powered back on?

cv27:
Hello Egmont,


I left you a PM.  Please confirm you received it.

Admin:
I got an email from you and here the answers.

1. The problem that you get the Retry request for zone. No server profile found: ... log entry is a bug. The Retry is working anyway! Resolved it yesterday with version 1.0.8.

2. That the tracking intervall is 5 minutes, but you changed it to 2 minutes, can be a bug. I will look at it.
    Where did you set the 2 minutes intervall? At the zone tracking settings? Or in the main app settings?

3. I can't see other errors in the log. Maybe sometimes you the device does not get an update from the Geofencing services.


--- Zitat ---In the meantime, do you see any explanation for EgiGeoZoneBT not transmitting after being powered back on?
--- Ende Zitat ---
What do you mean with not transmitting? The tracking or geofence events?

If it misses the fence events, then something is getting the device to sleep! Check Smart Manager, own battery optimisations and put the app on the white list.

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln