开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: TWS Closing


 

Hi,

This may be related to Mike's case. It happens during the reboot in 闯ü谤驳别苍's post.? But IBKR TWS server remain?offline long enough during midnight reboot. What happens to the TWS workstation is that it will automatically reconnect every some?seconds until it reaches the maximum attempts/time without success. Then it seems to?lose?the authentication setup/token on the application side and I get an 'Invalid User or Password' error message in the TWS workstation and hangs there waiting for?input. Some older posts mentioned this behavior but there is no good solution.
Thank you.

Best,
Yilin


On Fri, Jul 29, 2022 at 1:53 PM 闯ü谤驳别苍 Reinold via <TwsApiOnGroupsIo=[email protected]> wrote:

Are you getting any error messages, such as code 1100 before TWS closes?
Any clues in the TWS logs?
Could there be network disruptions between TWS and IBKR (such as router/modem restarts, DHCP IP renewals, ...)?

Is it possible you experience Java JVM crashes?

We see brief TWS disconnects every night during the , which is at 23:45 - 00:45 ET during the week for US based IBKR systems. These are always brief enough so that TWS never closes and stays authenticated without causing client disconnects. This week they took place at (Central Time)

SUN??? 2022-07-24 23:16:37.843-0500
MON??? 2022-07-25 23:27:09.827-0500
TUE??? 2022-07-26 23:15:38.260-0500
WED??? 2022-07-27 23:17:11.020-0500
THU??? 2022-07-28 23:20:24.056-0500

闯ü谤驳别苍


On Fri, Jul 29, 2022 at 08:43 AM, Mike wrote:
All,

My TWS is closing at night, between 11 PM and 4 AM EST causing my app to disconnect.? Has anyone experienced issues with TWS closing?? What is the best way to diagnose whether the issue is TWS or elsewhere?

Mike

Join [email protected] to automatically receive all group messages.