Forward URL - messed up formatting

Quade dennis7 years ago

Hi Anton

I've been using forward URL with some success
However, some messages are getting jumbled it seems.
Most messages are fine, but occasionally i'm seeing malformed encoded data

here is an example of a messed up message
?d36001780&dved6vldtu&ixm=5764100&deviceTim=115rtcltloialttd=13475lniue3.023&liue18.&ed0.0&coCvet%22%3A1%2C%22di1%22%3A0%2C%2%2ut1%23fle2C%2ot%22%3Atruio69%22%3A3%2C%22mto%2se%C22workMod%23A%C2ss%22%33%2%22adc1%A8%2%2pdo%2%3A.2222dp%2%3A.0%2%22wer%22%3A6.83%Co42%A%C22io252452%2io20%2A9%2i199%2302%2tor%2%A30%C2vernqed2%A20000000000002%2a%22%3%20000005b81065c543800152f3455050000001391000303041530000553791b01b0042b100c88bc450c0000000f9f01e000000001465%22%2%2itne22A.%C2totitne22%378125E7%TP/1.1Connection: keep-alive

The obvious issue is "deviceTim" is missing an e on the word time

Have you seen this before?

In my traccar.xml i have:

<entry key='database.driver'>SQL SERVER details are all in here......have ommited

<entry key='database.ignoreUnknown'>true</entry>
<entry key='database.registerUnknown'>true</entry>
<entry key='server.timeout'>360</entry>
<entry key='distance.enable'>true</entry>
<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>power,ignition,battery,odometer</entry>
<entry key='database.saveOriginal'>true</entry>
<entry key='forward.enable'>true</entry>
<entry key='forward.url'>http://127.0.0.1:8080/?id={uniqueId}&amp;deviceId={deviceId}&amp;valid={valid}&amp;fixTime={fixTime}&amp;deviceTime={deviceTime}&amp;protocol={protocol}&amp;latitude={latitude}&amp;longitude={longitude}&amp;altitude={altitude}&amp;speed={speed}&amp;course={course}&amp;statusCode={statusCode}&amp;attributes={attributes}</entry>

<entry key='event.enable'>true</entry>
<entry key='event.forward.enable'>true</entry>
<entry key='event.forward.url'>http://127.0.0.1:8080</entry>
<entry key='gt06.alternative'>true</entry>
<entry key='gt06.timezone'>0</entry>
<entry key='gt06.alternative'>true</entry>
<entry key='gt06.timezone'>0</entry>

Can you suggest anything to try please?

Anton Tananaev7 years ago

I don't think it's possible. Please provide packet capture logs with the problem.