nbusy / nbusy-android

NBusy Android app.
http://nbusy.com
Apache License 2.0
1 stars 0 forks source link

Connecting to NB servers 2 times after initial login #105

Closed soygul closed 7 years ago

soygul commented 7 years ago
07-12 10:09:32.756 14356-14356/com.nbusy.app I/ConnManagerService: Started by: ConnManager
07-12 10:09:32.759 14356-14356/com.nbusy.app I/ConnManagerService: Started by: ConnManager
soygul commented 7 years ago

Seems like this only happens in production mode. Needs verification with the release builds.

soygul commented 7 years ago

Also happens when first login attempt happens with no connection. Seems to be related to reconnect logic (explains the production mode stuff as it boots Heroku instance which takes time): https://github.com/nbusy/nbusy-android/issues/87

soygul commented 7 years ago

Turns out this is related to instance manager recycling old Titan Client instances. Providing a fresh instance every time solves the problem.