-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Not able to download files and getting the following error in socket creation #142
Comments
I had the same error running this command on my Mac with Python 3.12.4. |
Tried with Python 3.13 and now got slightly different error
|
Did not work for me with Python 3.9.13 either. |
I asked ChatGPT for help, and it suggested downgrading the WebSockets version: |
Thanks a lot. worked for me too with the downgraded websockets version. |
same here worked after downgrading websockets |
Just for others, not sure if that is the best solution but it works for me, didn't work much with python yet:
|
Just for others, what worked for me under Windows 11 --> open "Eingabeauforderung" (search "cmd")
|
Same Problem with 3.13.1. websockets downgrade worked for me on win11 |
I was using this Dockerfile to build my own local container when I was hit with this error. I read all the tips here and some other related issues on thus project and am still failing. Furthermore, I'd appreciate some pointers. I went with the advice from this thread to go with python 3.9 and websockets==10.2 and no such luck. What happens is, I get asked the PIN, the connection to TR succeeds, I can see the subscriptions happening and downloading, and it gets to about 5200 /out of 5500 and then hundreds of error messages like this one:
Just in case you're curious, I override the CMD in the compose file with:
and |
Deleted , Not helpful |
I have the same problem (Windows 11, Python 3.13.1). |
When you say change, you mean add? As looking at the original file, I see no such line: https://github.com/pytr-org/pytr/blob/master/pytr/timeline.py I'm going to give it a try, thanks for sharing your solution. I hope the original maintainer will fix this officially. |
Hi ovizii, This Solution is Not Helpful it works only one time at another day again not , i will delete it. |
Description of the bug
I am getting the following error in multiple commands.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Files to be downloaded.
Error log
2024-11-10 16:56:38+0100 main DEBUG logging is set to debug
2024-11-10 16:56:38+0100 account INFO Credentials file not found
Please enter your TradeRepublic phone number in the format +4912345678:
xxx
Please enter your TradeRepublic pin:
Pin (Input is hidden): xxx
Save credentials? Type "y" to save credentials:
2024-11-10 16:56:41+0100 account INFO Credentials not saved
Enter the code you received to your mobile app as a notification.
Enter nothing if you want to receive the (same) code as SMS. (Countdown: 31)
Code: xxx
2024-11-10 16:56:46+0100 account INFO Logged in
2024-11-10 16:56:46+0100 dl INFO Created history file
2024-11-10 16:56:46+0100 timeline INFO Subscribing to #1 timeline transactions
2024-11-10 16:56:46+0100 api INFO Connecting to websocket ...
Environment
The text was updated successfully, but these errors were encountered: