Hi!
I use secure connection to osmand via haproxy. My script send location to traccar, but traccar ignorind some devices's data. For examle:
I send http-request and can see in traccar-console device's data:
2022-07-27 11:01:30 INFO: [T0ad4f6f3] connected
2022-07-27 11:01:30 INFO: [T0ad4f6f3: osmand < 10.255.255.76] 474554202f3f69643d592d50432674696d657374616d703d31363538393139363839266c61743d35352e3833343634343331373632363935266c6f6e3d33372e3439353234333037323530393737267265616c69703d36322e3231332e38392e31333026626174743d3937266973703d4a53432532304176616e74656c26706f7765723d41432661636375726163793d3134302e3026636f6d70757465725f6e616d653d592d504326757365726e616d653d46616c736520485454502f312e310d0a686f73743a2067656f2e776865726569742e72750d0a757365722d6167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e543b2057696e646f7773204e5420362e313b2072752d5255292057696e646f7773506f7765725368656c6c2f352e312e31343430392e313030350d0a782d666f727761726465642d70726f746f3a2068747470730d0a782d666f727761726465642d666f723a2036322e3231332e38392e3133300d0a782d666f727761726465642d686f73743a2067656f2e776865726569742e72750d0a782d666f727761726465642d7365727665723a2064303362663434643261393630346139653038646438386237383934613438360d0a782d636c69656e742d69703a2031302e3235352e3235352e310d0a782d666f727761726465642d70726f746f3a2068747470730d0a782d666f727761726465642d666f723a2031302e3235352e3235352e310d0a636f6e6e656374696f6e3a20636c6f73650d0a0d0a
2022-07-27 11:01:30 INFO: [T0ad4f6f3: osmand > 10.255.255.76] 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2022-07-27 11:01:30 INFO: [T0ad4f6f3] error - Connection reset by peer - IOException (...)
2022-07-27 11:01:30 INFO: [T0ad4f6f3] disconnected
Traccar can view data, but don't update device....
In good case traccar write deviceID and additional parametrs, but here its empty. If I change deviceID in GUI, then traccar will answer "Unknown device":
2022-07-27 10:50:26 INFO: [T563701be: osmand < 10.255.255.76] 474554202f3f69643d592d50432674696d657374616d703d31363538393139303235266c61743d35352e3833343737343031373333333938266c6f6e3d33372e3439363031333634313335373432267265616c69703d36322e3231332e38392e31333026626174743d3937266973703d4a53432532304176616e74656c26706f7765723d41432661636375726163793d3230392e3530333430323730393936303926636f6d70757465725f6e616d653d592d504326757365726e616d653d46616c736520485454502f312e310d0a686f73743a2067656f2e776865726569742e72750d0a757365722d6167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e543b2057696e646f7773204e5420362e313b2072752d5255292057696e646f7773506f7765725368656c6c2f352e312e31343430392e313030350d0a782d666f727761726465642d70726f746f3a2068747470730d0a782d666f727761726465642d666f723a2036322e3231332e38392e3133300d0a782d666f727761726465642d686f73743a2067656f2e776865726569742e72750d0a782d666f727761726465642d7365727665723a2064303362663434643261393630346139653038646438386237383934613438360d0a782d636c69656e742d69703a2031302e3235352e3235352e310d0a782d666f727761726465642d70726f746f3a2068747470730d0a782d666f727761726465642d666f723a2031302e3235352e3235352e310d0a636f6e6e656374696f6e3a20636c6f73650d0a0d0a
2022-07-27 10:50:26 WARN: Unknown device - Y-PC (10.255.255.76)
2022-07-27 10:50:26 INFO: [T563701be: osmand > 10.255.255.76] 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
I think, what url-string is correct, but don't understand how debug it... If I remove problem device and change deviceID on good device to Y-PC - it will works.
Can you help? Thanks in advance!
The issue is that you close the connection immediately.
Hi!
I use secure connection to osmand via haproxy. My script send location to traccar, but traccar ignorind some devices's data. For examle:
I send http-request and can see in traccar-console device's data:
Traccar can view data, but don't update device....
In good case traccar write deviceID and additional parametrs, but here its empty. If I change deviceID in GUI, then traccar will answer "Unknown device":
I think, what url-string is correct, but don't understand how debug it... If I remove problem device and change deviceID on good device to Y-PC - it will works.
Can you help? Thanks in advance!