Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

SSL: WRONG_VERSION_NUMBER #178

Open
takabinance opened this issue Apr 26, 2024 · 0 comments
Open

SSL: WRONG_VERSION_NUMBER #178

takabinance opened this issue Apr 26, 2024 · 0 comments

Comments

@takabinance
Copy link

I've recently upgraded to v0.12. I have also switched proxy servers.

After that I started sporadically getting the following message on all accounts. It works fine for hours and then it hits this issue and times all accounts out:

2024-04-26 20:50:04.938 | WARNING | twscrape.queue_client:req:243 - Unknown error. Account timeouted for 15 minutes. Create issue please: https://github.com/vladkens/twscrape/issues If it mistake, you can unlock account now with `twscrape reset_locks`. Err: <class 'ssl.SSLError'>: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1006)

In 20 seconds, it locks about 100 accounts.

If I wait 15 minutes or execute twscrape reset_locks, everything works fine again. It seems to do this a few times per day (again, on all accounts).

If it's related to proxy server availability (??), it seems maybe better to add a delay (and maybe not lock for 15 minutes)... but is it possible it's related to proxy <> Twitter?

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

No branches or pull requests

1 participant