Disconnect/Network issues with Windows 11 Pro 24H2 and yfinance() #2145
-
My computer's been having issues with Windows 11 Pro 24H2 (latest builds since around October) and python yfinance() library. Quotes run for a while then stop. If I reboot computer they start again but stop after a while again. Python is allowed through firewall. I had upgraded to 0.2.50 but had to downgrade to 0.2.18 which seems to be a little more stable. I also have Linux Mint installed (dual boot) and there are no problems on that OS. I've also tried Mint through VirtualBox and no problems there. Just Windows 11 Pro 24H2 (recent builds). I tried to downgrade Windows but it won't let me, always updates to latest. I reset the network and firwall but still an issue. It must be a network/security/firewall issue or something, not sure. Seems like Windows might close connection if not active after a certain period of time if low/no activity. I don't know anything about networking and firewall. If anyboday has any suggestions it would be appreciated. tia |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Can you narrow down the version? Was it 0.2.32? |
Beta Was this translation helpful? Give feedback.
-
Ran 0.2.18 on Windows and quotes stopped. No matter which version of yfinance() I use with the latest Windows 11 Pro builds quotes stop after a time (about 15 minutes). If I reboot they start up again but then discontinue. Went over to Linux and no issues. Running 0.2.50 there. |
Beta Was this translation helpful? Give feedback.
-
I found the following. Not sure what it means or if relevant (I know nothing about networking): TCP Optimization Improvements in Windows 11 Pro 24H2 |
Beta Was this translation helpful? Give feedback.
-
I decided to format and reinstall clean windows. something fundamental was wrong. I'll post update. |
Beta Was this translation helpful? Give feedback.
-
So after formatting and reinstalling Windows, quotes still stop after about 1/2 hour. No idea what's going on with Windows 11 Pro 24H2. If anybody ever reads this and knows please post. Over on Linux quotes work as expected. Really want to go full linux but a few programs I use are tied to Windows ecosystem and don't even run on Wine etc. I might run them through VirtualBox though and be done with ridiculous Windows. |
Beta Was this translation helpful? Give feedback.
-
Lots of reported networking issues with 24H2... A lot of people are saying the following worked. Some bizzare setting deep in the bowels of the registry. I did this and will report back. Remove WinHTTP Web Proxy Auto-Discovery Services from the DependonService under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wcmsvc |
Beta Was this translation helpful? Give feedback.
Lots of reported networking issues with 24H2...
https://answers.microsoft.com/en-us/windows/forum/all/problem-in-network-windows-11-24h2/ac1e20e5-091a-45ab-a3c7-94ca7b31577d?page=6
A lot of people are saying the following worked. Some bizzare setting deep in the bowels of the registry. I did this and will report back.
Remove WinHTTP Web Proxy Auto-Discovery Services from the DependonService under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wcmsvc