Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with NTRIP talking utf-8 #133

Open
vermut opened this issue Jul 28, 2024 · 0 comments
Open

Crash with NTRIP talking utf-8 #133

vermut opened this issue Jul 28, 2024 · 0 comments

Comments

@vermut
Copy link
Contributor

vermut commented Jul 28, 2024

I suspect something doesn't expect Unicode response from NTRIP server, but LatPos proudly uses Latvian locale for dates.

# curl -v --user veretennik:AAAEEEE http://91.216.2.20:5001/SITE
*   Trying 91.216.2.20:5001...
* Connected to 91.216.2.20 (91.216.2.20) port 5001
* Server auth using Basic with user 'veretennik'
> GET /SITE HTTP/1.1
> Host: 91.216.2.20:5001
> Authorization: Basic dmVyZXRlbm5pazpBQUFFRUVF
> User-Agent: curl/8.5.0
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 401 Unauthorized
< Server: GNSS Spider 7.9.0.386/1.0
< Date: sv▒td., 28 j▒l. 2024 13:38:56 GMT
# export OM_NTRIP_ENDPOINT="SITE"
# export OM_NTRIP_HOSTNAME="91.216.2.20"
# export OM_NTRIP_PASSWORD="FAKEPASS"
# export OM_NTRIP_PORT="5001"
# export OM_NTRIP_USER="veretennik"

Results in:

[ERROR] [1722173794.385135]: Unable to read response from server at http://91.216.2.20:5001
[ERROR] [1722173794.389700]: Exception: 'utf-8' codec can't decode byte 0xe7 in position 55: invalid continuation byte
[ERROR] [1722173794.394787]: Unable to connect to NTRIP server
[INFO] [1722173794.403409]: Stopping RTCM publisher
[INFO] [1722173794.410363]: Disconnecting NTRIP client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant