Error length hexadecimal. Flespi Protocol.

Josue 6 years ago

Hi. I have a problem using the flespi protocol. It sends a very long data and the server cuts the request in several segments and gives error.

2020-04-17 18:11:21  INFO: [8f2e8e33: flespi < 193.193.165.35] HEX: 504f5354202f20485454502f312e310d0a436f6e74656e742d547970653a6170706c69636174696f6e2f6a736f6e0d0a436f6e6e656374696f6e3a204b6565702d616c6976650d0a486f73743a203130372e3135302e34322e31383a353134390d0a436f6e74656e742d4c656e6774683a20313430330d0a0d0a5b7b226368616e6e656c2e6964223a32313236392c22637573746f6d2e56424154223a342e3331372c22637573746f6d2e56505752223a31322e3135342c22637573746f6d2e706172313132223a313533382c22637573746f6d2e706172313336223a302c22637573746f6d2e706172313337223a302c22637573746f6d2e706172313533223a302c22637573746f6d2e706172313534223a302c22637573746f6d2e706172313537223a34313933313430362c22637573746f6d2e706172313538223a302c22637573746f6d2e706172313539223a302c22637573746f6d2e706172313631223a302c22637573746f6d2e706172313637223a302c22637573746f6d2e706172313738223a302c22637573746f6d2e7061723231223a352c22637573746f6d2e706172323138223a302c22637573746f6d2e706172323430223a302c22637573746f6d2e70617235223a302c22637573746f6d2e776c6e5f616363656c5f6d6178223a302c22637573746f6d2e776c6e5f63726e5f6d6178223a302c226964656e74223a22333532333533303835303730333730222c2270656572223a223133322e3139312e31312e3234393a3137383130222c22706f736974696f6e2e616c746974756465223a3134312c22706f736974696f6e2e646972656374696f6e223a302c22706f736974696f6e2e6c61746974756465223a2d31322e31323735312c22706f736974696f6e2e6c6f6e676974756465223a2d37372e3033313538332c22706f736974696f6e2e736174656c6c69746573223a322c22706f736974696f6e2e7370656564223a302c2270726f746f636f6c2e6964223a372c227365727665722e74696d657374616d70223a313538373136353038302e39343636372c2274696d657374616d70223a313538373136353037357d2c7b226368616e6e656c2e6964223a32313236392c22637573746f6d2e56424154223a342e3331372c22637573746f6d2e56505752223a31322e3135342c22637573746f6d2e706172313132223a313533382c22637573746f6d2e706172313336223a302c22637573746f6d2e706172313337223a302c22637573746f6d2e706172313533223a302c22637573746f6d2e706172313534223a302c22637573746f6d2e706172313537223a34313933313430362c22637573746f6d2e706172313538223a302c22637573746f6d2e706172313539223a302c22637573746f6d2e706172313631223a
2020-04-17 18:11:21  INFO: [8f2e8e33: flespi < 193.193.165.35] HEX: 302c22637573746f6d2e706172313637223a302c22637573746f6d2e706172313738223a302c22637573746f6d2e7061723231223a352c22637573746f6d2e706172323138223a302c22637573746f6d2e706172323430223a302c22637573746f6d2e70617235223a302c22637573746f6d2e776c6e5f616363656c5f6d6178223a302c22637573746f6d2e776c6e5f63726e5f6d6178223a302c226465766963652e6964223a3633343435372c226465766963652e6e616d65223a22507275656261222c226465766963652e747970652e6964223a31302c226964656e74223a22333532333533303835303730333730222c2270656572223a223133322e3139312e31312e3234393a3137383130222c22706f736974696f6e2e616c746974756465223a3134312c22706f736974696f6e2e646972656374696f6e223a302c22706f736974696f6e2e6c61746974756465223a2d31322e31323735312c22706f736974696f6e2e6c6f6e676974756465223a2d37372e3033313538332c22706f736974696f6e2e736174656c6c69746573223a322c22706f736974696f6e2e7370656564223a302c2270726f746f636f6c2e6964223a372c227365727665722e74696d657374616d70223a313538373136353038302e39343636372c2274696d657374616d70223a313538373136353037357d5d
2020-04-17 18:11:21  INFO: [8f2e8e33: flespi > 193.193.165.35] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
Anton Tananaev 6 years ago

Server doesn't cut anything. Are you familiar with TCP protocol?

Josue 6 years ago

Yes of course.

Anton Tananaev 6 years ago

If you are, you should know that "the server cuts the request" statement is incorrect.

RyD 6 years ago

Is it possible to increase the size limit on traccar when using a retranslator of multiple devices in 1 connection? where will this limit configuration is in traccar?

Anton Tananaev 6 years ago

In the protocol file.

Josue 6 years ago

It is possible that in an update you set that value in traccar.xml

Anton Tananaev 6 years ago

I don't see why not. Feel free to send a pull request.