use case :
- 2 withings account
- 2 garmin connect account
- 1 server to use cron on (no docker)
I use a cron job, per user, with a script that does just a
withings-sync
after changing to the right directory with a .env file correctly set
Problem : urllib3 use a connection pool and it is persistent. So when logging for the second user, the connection is already established and the datas are sent to the first user.
Only solution I've found is to use a second server ... not nice :(
Seems to be related to the way urllib3 works, and the way the connection is kept to not have MFA
use case :
I use a cron job, per user, with a script that does just a
withings-sync
after changing to the right directory with a .env file correctly set
Problem : urllib3 use a connection pool and it is persistent. So when logging for the second user, the connection is already established and the datas are sent to the first user.
Only solution I've found is to use a second server ... not nice :(
Seems to be related to the way urllib3 works, and the way the connection is kept to not have MFA