Closed 430scud closed 1 year ago
heres the beginning and the last part of the debug log
2023-08-08 23:52:28,583 ib_insync.client INFO Connecting to 127.0.0.1:7497 with clientId 3... 2023-08-08 23:52:28,584 ib_insync.client INFO Connected 2023-08-08 23:52:28,588 ib_insync.client DEBUG <<< 176,20230808 23:52:27 PST 2023-08-08 23:52:28,588 ib_insync.client DEBUG >>> 71,2,3, 2023-08-08 23:52:28,588 ib_insync.client INFO Logged on to server version 176 2023-08-08 23:52:28,591 ib_insync.client DEBUG <<< 15,1,UXXXXXXXX, 2023-08-08 23:52:28,591 ib_insync.client DEBUG <<< 9,1,1 2023-08-08 23:52:28,592 ib_insync.client DEBUG <<< 4,2,-1,2104,Market data farm connection is OK:usfuture, 2023-08-08 23:52:28,592 ib_insync.wrapper INFO Warning 2104, reqId -1: Market data farm connection is OK:usfuture 2023-08-08 23:52:28,592 ib_insync.client DEBUG <<< 4,2,-1,2104,Market data farm connection is OK:cafarm, 2023-08-08 23:52:28,592 ib_insync.wrapper INFO Warning 2104, reqId -1: Market data farm connection is OK:cafarm 2023-08-08 23:52:28,592 ib_insync.client DEBUG <<< 4,2,-1,2104,Market data farm connection is OK:cashfarm, 2023-08-08 23:52:28,592 ib_insync.wrapper INFO Warning 2104, reqId -1: Market data farm connection is OK:cashfarm 2023-08-08 23:52:28,592 ib_insync.client DEBUG <<< 4,2,-1,2104,Market data farm connection is OK:usopt, 2023-08-08 23:52:28,592 ib_insync.wrapper INFO Warning 2104, reqId -1: Market data farm connection is OK:usopt 2023-08-08 23:52:28,592 ib_insync.client DEBUG <<< 4,2,-1,2104,Market data farm connection is OK:usfarm, 2023-08-08 23:52:28,592 ib_insync.wrapper INFO Warning 2104, reqId -1: Market data farm connection is OK:usfarm 2023-08-08 23:52:28,592 ib_insync.client DEBUG <<< 4,2,-1,2106,HMDS data farm connection is OK:ushmds.nj, 2023-08-08 23:52:28,592 ib_insync.wrapper INFO Warning 2106, reqId -1: HMDS data farm connection is OK:ushmds.nj 2023-08-08 23:52:28,592 ib_insync.client DEBUG <<< 4,2,-1,2106,HMDS data farm connection is OK:ushmds, 2023-08-08 23:52:28,592 ib_insync.wrapper INFO Warning 2106, reqId -1: HMDS data farm connection is OK:ushmds 2023-08-08 23:52:28,592 ib_insync.client DEBUG <<< 4,2,-1,2158,Sec-def data farm connection is OK:secdefnj, 2023-08-08 23:52:28,592 ib_insync.wrapper INFO Warning 2158, reqId -1: Sec-def data farm connection is OK:secdefnj 2023-08-08 23:52:28,593 ib_insync.client INFO API connection ready 2023-08-08 23:52:28,593 ib_insync.client DEBUG >>> 61,1
.... lists all the account details and ends with the following ....
2023-08-08 23:52:29,395 ib_insync.client DEBUG <<< 73,1,5,UXXXXX,,WarrantValue,0.00,BASE 2023-08-08 23:52:29,395 ib_insync.client DEBUG <<< 73,1,5,UXXXXX,,WarrantValue,0.00,CAD 2023-08-08 23:52:29,395 ib_insync.client DEBUG <<< 73,1,5,UXXXXX,,WarrantValue,0.00,USD 2023-08-08 23:52:29,395 ib_insync.client DEBUG <<< 74,1,5 2023-08-08 23:52:29,395 ib_insync.client DEBUG >>> 7,3,6,0,,,,,, 2023-08-08 23:52:33,397 ib_insync.ib INFO Disconnecting from 127.0.0.1:7497, 193 B sent in 11 messages, 32.7 kB received in 661 messages, session time 4.81 s. 2023-08-08 23:52:33,397 ib_insync.client INFO Disconnecting 2023-08-08 23:52:33,397 ib_insync.client INFO Disconnected.
connects and the disconnects?
2023-08-09 00:32:39,649 ib_insync.client INFO Connecting to 127.0.0.1:7497 with clientId 5... 2023-08-09 00:32:39,650 ib_insync.client INFO Connected 2023-08-09 00:32:43,652 ib_insync.client INFO Disconnecting 2023-08-09 00:32:43,653 ib_insync.client ERROR API connection failed: TimeoutError() 2023-08-09 00:32:43,653 ib_insync.client INFO Disconnected.
I updated my TWS and now get this error? What did you do to fix it?
im on macbook m1 with TWS running
Last week I was able to run the example code on your project README.
Now I am unable to run it. I am able to connect to the port via telnet.
I also see in the verbose logs that it is able to connect
im really not sure how to continue here.