Closed janvgils closed 6 months ago
Hi Jan, I don't think there is another SIDS telemetry submitter that gets activated when you decode BEESAT-3. I think that these HTTP 400 errors come from the SatNOGS DB server. Perhaps the reason is that the decoder is producing some frames which have a length of zero. Can you do a capture of the HTTP traffic with Wireshark? That would show more details about the problem. I don't have a GNU Radio 3.8 installation at hand to test it myself (if I recall correctly Mobitex-NX is not available for newer versions of GNU Radio).
Good day Daniel,
I will have look and let you know.
I started a tcpdump and only saw sessions being created towards the satnogs database (https, so not able to check the payload) So this indeed seems to be related to the SatNOGS SIDS receiver.
Thanks for the support and all the best.
You can have wireshark decrypt your HTTPS if you save the SSL key log and give it to wireshark. See instructions around SSLKEYLOGFILE
in https://www.comparitech.com/net-admin/decrypt-ssl-with-wireshark/ for instance.
Thanks for sharing that information, what a great way to learn new technology.
It works like a charm and is confirming the frame field is empty.
Request URI Query: noradID=39135&source=PE0SAT&locator=longLat&longitude=x.xx&latitude=x.xx&version=1.6.6&frame=×tamp=2023-12-25T11%3A30%3A30.080Z
Request URI Query Parameter: noradID=39135
Request URI Query Parameter: source=PE0SAT
Request URI Query Parameter: locator=longLat
Request URI Query Parameter: longitude=x.xx
Request URI Query Parameter: latitude=x.xx
Request URI Query Parameter: version=1.6.6
Request URI Query Parameter: frame=
Request URI Query Parameter: timestamp=2023-12-25T11%3A30%3A30.080Z
And the reply is:
HTTP/1.1 400 Bad Request\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 400 Bad Request\r\n]
[HTTP/1.1 400 Bad Request\r\n]
So it seems I was right that the problem are the empty frames generated by the Mobitex-NX decoder.
I've looked at the SiDS v0.9 document and it's not clear to me whether empty frames are permitted or not. Table 2 says that an HTTP error 400 shall be generated if any of the fields are empty. But the definition of the frame
field in Table 1 allows for optional whitespaces. So I wonder what should happen with a frame
field that only consists of whitespace. In any case, this is a corner case and the document is from 2015, so we could make a new version (together with the SatNOGS people) that makes it clear whether empty frames are allowed or not.
When decoding a BEESAT-3 observation I get a HTTP Error 400.
gr_satellites BEESAT-3.yml --wavfile 8758709.wav --samp_rate 48e3
The strange thing is, that the YML file doesn't have a SIDS parameter and all other observations that use the standard SatNOGS SIDS configuration don't experience this behavior.
Going through all the Mobitex related code I can't find a SIDS parameter but I get the impression that it is configured somewhere. If this is the case, please remove it and follow the SIDS option that can be configured in the yml files.
Used YML:
Decode output: