I had the same problem since when I started using TWS, but it was not a major problem because after the temporary disconection TWS reconnected automatically. However, in the last two days something has changend. After I get disconnected a pop up winodow shows up giving me two possible options: "Re-Login" or "Exit TWS". To make TWS reconnect and corrertly work with my API systems I have to click on Re-login.
Clearly, since this happen at 5 a.m I am not awake and I am left disconnected until I wake up. Why is this happening and how can i solve it?
Thanks