You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an odd edge case, and it's sort of on the boundary between ibapi and the tws system, but it doesn't seem to be documented clearly anywhere.
I hit a problem where I could connect to the client, but the handshake was timing out; I was able to connect with another script.
The bug turned out to be -- I believe -- that the clientID I was using was too large: in ibapi, it's an int64, but the tws docs only say int.
I don't know whether the correct fix is to use an int32 or to document that using too large a clientID will cause an unexplained failure, but I thought it was worth mentioning.
C
The text was updated successfully, but these errors were encountered:
On my machine, using 18446744073709551615 as a clientID fails to complete
handshake.
Digging a bit deeper:
* 2147483646 (2^31-2) succeeds
* 2147483647 (2^31-1) fails
Hello,
This is an odd edge case, and it's sort of on the boundary between ibapi and the tws system, but it doesn't seem to be documented clearly anywhere.
I hit a problem where I could connect to the client, but the handshake was timing out; I was able to connect with another script.
The bug turned out to be -- I believe -- that the clientID I was using was too large: in ibapi, it's an int64, but the tws docs only say int.
I don't know whether the correct fix is to use an int32 or to document that using too large a clientID will cause an unexplained failure, but I thought it was worth mentioning.
C
The text was updated successfully, but these errors were encountered: