-
Notifications
You must be signed in to change notification settings - Fork 144
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
Mobile Interface - Devices appear and disappear #144
Comments
Thanks for reporting, sounds like an issue from #126. Do you experience same issue when looking into mobile web UI from desktop web browser? If so then please take a look at the javascript console for error messages. |
Yes, problem exists on both android mobile chrome browser and desktop browser accessing the mobile UI. Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-max-device-pixel-ratio: 1), (max-resolution: 120dpi) I believe you are correct that it is related to #126 because I have, on some occasions, opened the mobile UI on my phone and did not see one or two devices, even after waiting for a while, they never showed up. |
Ok, what about loading positions from archive? Do you get correct trace? Maybe these are some jumps related to incorrect work of GPS on your device? |
On the desktop UI, loading from archive yields correct trace. If the device is in motion while on the mobile UI, they disappear and after a while, reappear at the new location. Web UI updates normally. There are 3 GPS devices, all the same gps103 protocol. Only 2 drop off the mobile UI. When I dropped and re-created the mysql database, I entered the devices in a different order. One of them which was giving problems has stopped disappearing, now it's another one. |
Well, I will try to do a code revision next week to indicate an issue. But from my understanding the code is quite simple: both mobile and desktop UI use same code to retrieve latest positions, just the serialization format differs. Maybe this is some kind of issue in OpenLayers. You can also give me some kind of temporary access to your web UI if that's an option (in such case I can debug your issue directly in browser). Right now on my traccar instances this issue does not reproduce. |
Not a problem. I have sent an email to vitavaque@gmail.com with details for admin credentials. Kindly confirm receipt. Please let me know if you require SSH access to the server as well. Thanks for your assistance. |
Got them, thanks. I will start looking tomorrow. |
I think I have found and fixed the issue. Please try latest version. |
Issue has been corrected. All devices remain on the mobile UI as they should now. Thanks! |
Glad to hear that! Please don't forget to remove my user account from your server. |
Written news, included in latest available and demo versions. |
I am experiencing this issue on the mobile interface where just 2 of my devices constantly disappear and reappear, presumably when the interface refreshes. I have my refresh set to 5 seconds. Below screenshots should indicate what I mean:
When I log on:

After about 5 secs:

After about 10 secs:

After about 20 secs:

And then both devices disappear again:

These are device IDs 2 and 3. The other IDs don't seem to exhibit this problem. I have reinstalled the traccar server and dropped and recreated a fresh mysql database and the problem persists.
This is the April 7 version of traccar-web.war. The problem was experienced in previous releases as well.
The text was updated successfully, but these errors were encountered: