Send failed, device instantly disconnects?

1vi9pun92 years ago

I have tried on the demo server and my device and location are detected (device ID: 892213) But on my own traccar server, the device is never seen a "online". The status on the mobile app says Location update \n Send Failed repeatedly.
The server repeatedly says this (partially redacted because i'm not sure what information is being sent:

2023-11-07 06:46:43  INFO: [T54c1f5d1: osmand > myip] 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a2023-11-07 06:46:43  INFO: [T54c1f5d1] disconnected
2023-11-07 06:46:45  INFO: [T62f8e00c] connected
2023-11-07 06:46:45  INFO: [T62f8e00c: osmand < myip] 1603010200010001fc030385f12aa7cd2c186d0945b4fe93d4944f62c7bd....00000000000000000000000000000000000000000
2023-11-07 06:46:45  INFO: [T62f8e00c: osmand > myip] 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2023-11-07 06:46:45  INFO: [T62f8e00c] disconnected

using the hex decoder on 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a gives:

HTTP/1.1 400 Bad Request
content-length: 0

The one redacted in the middle tells me something about binary hex unable to be converted to text.

My app is configured to connect to https://myserver:5055 the port checker says that port 5055 on myserver is open.

1vi9pun92 years ago

Ok I just realised that connecting directly through port 5055 bypassed my nginx server so that https was no longer applicable. Using http works. Is there a way to use https? is the information sent through plain text without SSL?

Anton Tananaev2 years ago

If you want to use https, you have to put a proxy in front.