How can I tell if forward url succeeded ?

Nate barak8 years ago

Hi,

I put the following lines in my traccar.xml :

<entry key='forward.enable'>true</entry>
<entry key='forward.url'>https://myserver.com</entry>

I know it will be blocked because its unauthenticated, but still I need to get a POST from traccar server which I don't.
How can I check if the forward succeed ?
Thanks !

Anton Tananaev8 years ago

Traccar doesn't log anything. You need to check on your server side.

Nate barak8 years ago

I do check on my server side, but no forward.
Any thoughts ?

Anton Tananaev8 years ago

The only other option is to debug Java code.

Nate barak8 years ago

I want to make sure i'm not missing anything.
I use Android client app in order to see my android in traccar's web ui locally.
I put interval time on 5 seconds, plus I put the forward url command.

The above means that every 5 seconds the Android will report traccar which supposes to report my server ?

Thanks.

Anton Tananaev8 years ago

Have you verified that your Android report it?

Nate barak8 years ago

How would I verify that ?

Anton Tananaev8 years ago

Check the web app.

Nate barak8 years ago

Looks good. I can see it gets updated

I have another lead, when running the server, although its starting I have an error :
Error: Constraint "UK_USER_TOKEN" not found

What is the above mean ?thanks

Anton Tananaev8 years ago

You can ignore that error.

You can't have updates and send errors at the same time.

Nate barak8 years ago

Got you, ignored.
I tried putting my server URL in traccar client and I can see the reports to my server, but still not working with the forward url, any idea ?

Anton Tananaev8 years ago

Have you checked logs to see that you get data from the app?