variant_to_string: assertion 'len < max_len' failed
% systemctl restart geoclue && sleep 5 && systemctl status geoclue
● geoclue.service - Location Lookup Service
Loaded: loaded (/usr/lib/systemd/system/geoclue.service; static; vendor preset: disabled)
Active: active (running) since Mon 2020-08-10 11:40:22 +07; 5s ago
Main PID: 20742 (geoclue)
Tasks: 5 (limit: 18947)
Memory: 10.4M
CGroup: /system.slice/geoclue.service
└─20742 /usr/lib/geoclue
Aug 10 11:40:22 svelte systemd[1]: geoclue.service: Succeeded.
Aug 10 11:40:22 svelte systemd[1]: Stopped Location Lookup Service.
Aug 10 11:40:22 svelte systemd[1]: Starting Location Lookup Service...
Aug 10 11:40:22 svelte systemd[1]: Started Location Lookup Service.
Aug 10 11:40:24 svelte geoclue[20742]: variant_to_string: assertion 'len < max_len' failed
My location:
% /usr/lib/geoclue-2.0/demos/where-am-i
Client object: /org/freedesktop/GeoClue2/Client/3
New location:
Latitude: 9.756796°
Longitude: 99.965989°
Accuracy: 30.000000 meters
Timestamp: Mon 10 Aug 2020 11:41:44 (1597034504 seconds since the Epoch)
I'm using:
url=https://www.googleapis.com/geolocation/v1/geolocate?key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
Google is silent on this error. Perhaps it has to do with my location? I'm in Thailand, Koh Phangan.
What is this error and how do I fix it?