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.