Can't help you with Python, but you might want to consult a "second opinion" in the form of a different API (Java, C, Csharp) to see wether it is TWS/network/IB related or some issue with the Python API.
The API distribution, for example, contains a few already compiled programs such as IBSampleApp.exe in case you run on Windows or the OS independent Java demo app jar.
toggle quoted message
Show quoted text
On Thu, Mar 4, 2021 at 10:14 AM, <msaracena@...> wrote:
I believe I may be having a similar issue.? Just started this morning though first time I've ever seen it.? Also connecting via TWS Python API but I am running everything locally on my computer. When I call the connect method I get no response for about a minute then it produces this traceback from the source code.? Haven't changed any of my code for about 2 weeks and I've been able to repeat this error a few times.? When I go to TWS data it does not show my local connection.? This is also intermittent, and rebooting my computer seems to fix it.