Globalstar data is not being processed by Traccar

TomN8 months ago

Hi, I have set up a Globalstar Smart One C, and added the device to my config. However, data is not being processed, as you can see in the logs:

2024-03-17 12:49:27  INFO: [T71078da6: globalstar < 18.130.135.198] 504f5354202f20485454502f312e310d0a486f73743a2039322e3230352e3136322e3139333a353138350d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a4163636570743a202a2f2a0d0a557365722d4167656e743a20707974686f6e2d72657175657374732f322e31302e300d0a636f6e74656e742d747970653a20746578742f786d6c0d0a436f6e74656e742d4c656e6774683a203534320d0a0d0a3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d227574662d38223f3e0a3c21444f4354595045207374754d657373616765732053595354454d2022687474703a2f2f636f64792e676c70636f6e6e6563742e636f6d2f4454442f5374754d6573736167655f526576362e647464223e0a3c7374754d65737361676573206d65737361676549443d226237653366663161653435633131656562333633303639303731316538636165222074696d655374616d703d2231372f30332f323032342031323a34383a353520474d542220786d6c6e733a7873693d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d612d696e7374616e636522207873693a6e6f4e616d657370616365536368656d614c6f636174696f6e3d22687474703a2f2f636f64792e676c70636f6e6e6563742e636f6d2f5853442f5374754d6573736167655f526576315f302e787364223e0a3c7374754d6573736167653e0a3c65736e3e302d343334363037353c2f65736e3e0a3c756e697854696d653e313731303637393735313c2f756e697854696d653e0a3c6770733e4e3c2f6770733e0a3c7061796c6f616420656e636f64696e673d2268657822206c656e6774683d22392220736f757263653d227063223e30783030343732303035303541423732304130303c2f7061796c6f61643e0a3c2f7374754d6573736167653e0a3c2f7374754d657373616765733e0a
2024-03-17 12:49:27  INFO: [T71078da6] error - DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true. - SAXParseException (... < GlobalstarProtocolDecoder:137 < ExtendedObjectDecoder:75 < ... < WrapperContext:102 < ...)

Any Idea what I'm doing wrong?
Thank you!

Best regards

Tom

Anton Tananaev8 months ago

Looks like this needs to be removed:

<!DOCTYPE stuMessages SYSTEM "http://cody.glpconnect.com/DTD/StuMessage_Rev6.dtd">
TomN8 months ago

I consider you mean in the XML doc the provider is sendung over? Correct? Thank you!

Anton Tananaev8 months ago

Yes.

TomN8 months ago

Ok, will check. Thank you!