jessecooper / pyetrade

Python E-Trade API Wrapper
GNU General Public License v3.0
209 stars 97 forks source link

urllib3 version needs to be 1.xx.xx #87

Open SeanLyn opened 1 year ago

SeanLyn commented 1 year ago

urllib3 version cannot be 2.xx.xx (2.0.4 is the latest) To avoid this error message, urllib3 needs to be 1.xx.xx ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

This is a universal problem at the oauth step for all eTrade related python codes on github.

I use version 1.26.06, and the eTrade official example Python code works fine with this version. https://cdn2.etrade.net/1/22102718310.0/aempros/content/dam/etrade/developer-site/en_US/document/downloads/EtradePythonClient.zip)

My suggestion is to add urllib3 version to requirements.txt

1rocketdude commented 1 year ago

I concur with adding urllib3 version 1.26.06 as a requirement.txt entry.Periodically, we can check to see if version 2 begins to work. Who knows what is actually causing the problem. If version 2 starts to work, we can remove the requirements entry at a later date.On Sep 9, 2023, at 11:36 AM, SeanLyn @.***> wrote: urllib3 version cannot be 2.xx.xx (2.0.4 is the latest) To avoid this error message, urllib3 needs to be 1.xx.xx ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) This is a universal problem at the oauth step for all eTrade related python codes on github. I use version 1.26.06, and the eTrade official example Python code works fine with this version. https://cdn2.etrade.net/1/22102718310.0/aempros/content/dam/etrade/developer-site/en_US/document/downloads/EtradePythonClient.zip) My suggestion is to add urllib3 version to requirements.txt

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

cnMuggle commented 1 year ago

I have urllib3==2.0.7 today, it doesn't work. Switch to urllib3==1.26.06 works.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.