java.io.FileNotFoundException: http://demo.traccar.org:5055

AlfredoBazo2 years ago

Hello,

I am getting this error many times and it is not sending the position. It works one out of 100 times. Some days ago, it was working fine.

What's wrong? How can I fix it?

Thanks in advance.

Anton Tananaev2 years ago

Where are you getting this error exactly? Screenshot please.

AlfredoBazo2 years ago
Anton Tananaev2 years ago

Have you tried the official version as is?

AlfredoBazo2 years ago

No, because I have inherited a project and I am working on it. Is there any explanation of why sometimes it works, and some others it does not?

Thanks in advance.

Anton Tananaev2 years ago

Don't know, but the not found error usually means that the unique id is not registered on the server.

AlfredoBazo2 years ago

But as I said, it was working fine a couple of weeks ago without registering the id in the server...so I'm lost.

Anton Tananaev2 years ago

It will never work if the device is not registered.

AlfredoBazo2 years ago

And why has it worked before? I am using an app like that one: https://m.apkpure.com/es/traccar-client/org.traccar.client created by you. The only point is that it contains several modifications according to the needs of the project but the piece of code where it is failing has never been modified by us.

Anton Tananaev2 years ago

The only reason it could have worked before - the device was registered. Maybe you forgot about it or maybe the id just happened to match someone else's device.

AlfredoBazo2 years ago

Thanks Anton! I registered the device yesterday and sometimes it works and sometimes it doesn't. I mean, that several times is not sending the position. Any clue? As I said, it was working fine a week ago or so.

Anton Tananaev2 years ago

No clue. If it's registered, it should work.