Comments (4)
Why not set connection timeout on the server?
from traccar.
Why not set connection timeout on the server?
Do you mean the connection timeout described here, either globally or for the specific protocol this devices?
If so, that certainly could be a functional alternative, but the issue may not be universally applicable (other carriers or other devices, even those using the same protocol, might not be affected the same way). Having a per-device option to set a post-check-in window during which commands can be sent immediately vs. being queued would be more flexible and be usable by users who don't run their own server.
Regardless, I'll try changing the connection timeout on the server and see if that improves things. Thank you for the suggestion.
from traccar.
Small info from my side, regarding other devices also, for example Teltonika. Since TCP/IP connection is used, and mobile operators put not used connection in some weird sleep state (time differs from one mobile operator to the next and is not guaranteed), there is no way except using ping to determine if connection is open or not.
However, Teltonika devices return ACK packet, or reply message if command is sent successfully.
In short, just sending message to device if connection is open is bad practice. Message should be in queue and removed only when device confirms receiving it.
This would really be a must have feature..
from traccar.
@alenvukelic let us know once you complete your investigation about this weird state. Once we have all the details on what's happening and why it's happening, we can take it into the consideration.
from traccar.
Related Issues (20)
- how do i fetch all those devices that outside geofences? HOT 1
- Address not showing in Home Assistant HOT 1
- New astra telematics protocol X HOT 2
- Reduce Battery Usage HOT 1
- Feature request: sms function using a url HOT 5
- The protocol for port 5105 cannot display device power HOT 1
- Change ip direction for custom domain name HOT 1
- GL200 support for GTINF packet
- Bug Report: The device cache is never removed when the device is disconnected. HOT 1
- OpenID and Authentik throw GeneralSecurityException HOT 1
- Updating the satsol protocol HOT 3
- GT06 Protocol not decoding External power source voltage HOT 8
- Feature request - Extra options for permissions (odometer and computed attributes)
- connection suddenly refused HOT 1
- Traccar Websocket only sends a single device position after the first connect message HOT 1
- SMS notifications, Per User Limit setting solution HOT 3
- Example of How to login to Web Socket using token HOT 1
- Dear, can you fix address from localdb or our own address server HOT 1
- In the database group creation page, it cannot be displayed, needs to restart the service HOT 1
- Traccar_maanager_android credentials error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traccar.