← 返回

Receiving TimeoutException

Hi

I have moved my application to my server, but on connecting I get an error:


2017/11/07 16:31:02.182|Error  |BasketMessageAdapter|Connection error for InteractiveBrokersMessageAdapter: System.TimeoutException: Connection was not established in allowed time.
2017/11/07 16:31:02.183|Error  |InteractiveBrokersTrader|System.TimeoutException: Connection was not established in allowed time.

评论 (3)

登录创建账户, 登录或注册以发表评论

Support
Support

Could you please send whole exception info (stack trace included)?

Johan Kirsten
Johan Kirsten 作者

Hi

It seems like this problem only occurs when IB TWS loses connection. If you wait it returns and you can connect again

Regards

Support
Support
Support

In this case we recommend to use direct connection to Interactive Brokers via FIX protocol.