Skip to content
New issue

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

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

Already on GitHub? # to your account

urllib3 fails to handle multiple accounts #199

Open
swirly opened this issue Feb 11, 2025 · 1 comment
Open

urllib3 fails to handle multiple accounts #199

swirly opened this issue Feb 11, 2025 · 1 comment

Comments

@swirly
Copy link

swirly commented Feb 11, 2025

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

@dfra
Copy link

dfra commented Feb 17, 2025

I agree. Have the same setup and same issues.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants