I can't add a device it's offline

Tomasz2 months ago

Hi. I have installed tracer in the latest version.
Linux ubuntu 24.04
I share the port and the port is visible

[object Object]

I have configured IP4 and it shows I see IP6

[object Object]

how to change to ip4 so that it is supported because it does not connect to traccar

home page traccar works but does not see devices

Anton Tananaev2 months ago

I don't think it has anything to do with IPv6 or IPv4. Modern systems have combined stack, so even though it might show IPv6, it should actually handle both.

Tomasz2 months ago

I only see udp6 ports and it doesn't want to connect. I thought that was the reason.

undefined

Anton Tananaev2 months ago

That's probably not the reason.

Tomasz2 months ago

on the phone sending failed. What could be the reason?

Tomasz2 months ago

I found the logs

[object Object]
Anton Tananaev2 months ago

It looks like you have Traccar Client that is sending to the wrong port here. Not sure how it's related to your original problem.

Tomasz2 months ago

I found something like this.What port should be permanently set for iPhone? I think the error is in the table in the database, it does not accept data
The specific error, NumberFormatException, suggests that Traccar is expecting a numeric value but is instead receiving an unexpected string format.

The issue seems to be occurring when the software is trying to decode the data sent by the device. The message For input string: T /?id=627492&timestamp=1742990374&lat=51.210988&lon=18.587085&speed=0&bearing=0&altitude=202.5911567794738&accuracy=16.54329452201937&batt=60.00000381469727 HTTP/1.1 indicates that the data contains unexpected characters (T /?id=...) that Traccar cannot parse properly.

Anton Tananaev2 months ago

Of course it can't parse because you're not using the right port. Please read the documentation. It clearly indicates the correct port.

Tomasz2 months ago

I'm sorry but I've been playing with this app for 3 hours

Tomasz2 months ago

it works, thank you, if you were in Poland I'll buy you a beer

Anton Tananaev2 months ago

I'll take you up on that offer next time I visit Poland ;-)