bpptkg / bpptkg-meteo

BPPTKG weather station data fetcher and schema tables library
https://pypi.org/project/bpptkg-meteo/
MIT License
1 stars 1 forks source link

Vaisala babadan connection hang event heartbeat interval had been sent #2

Closed indrarudia closed 2 years ago

indrarudia commented 2 years ago

Vaisala babadan experienced a connection hang, even after heartbeat interval had been sent regularly.

For now, the only way to solve this issue is restarting the service via supervisorctl, e.g. sudo supervisorctl restart vaisala-bbd.

indrarudia commented 2 years ago

Adding timeout (timeout=60) solve the issue:

https://github.com/bpptkg/bpptkg-meteo/blob/5a073ffe274882f25b89cfc357a4169c3f71cfb2/examples/vaisala-bbd/vb/app.py#L48