librespeed / speedtest-cli

Command line client for LibreSpeed
GNU Lesser General Public License v3.0
506 stars 64 forks source link

Telemetry bug for ispinfo #85

Open FingerlessGlov3s opened 7 months ago

FingerlessGlov3s commented 7 months ago

When you use telemetry and submit it to the latest version of https://github.com/librespeed/speedtest telemetry backend. The ispinfo field in the database isn't populated correctly.

What the field contains

{"processedString":"{\"processedString\":\"10.0.0.70\",\"rawIspInfo\":\"\"}","rawIspInfo":{"ip":"","hostname":"","city":"","region":"","country":"","loc":"","org":"","postal":"","timezone":""}}

What I expect it should be

{"processedString":"10.0.0.70","rawIspInfo":""}

I've changed the IP address in these examples to 10.0.0.70