Hi Folks,<br><br>Picking this up after a few months hiatus, but I now have something weird on Mac OS with connection.<br><br>Compile and database connection all seem to work fine but;<br><br>Quady:shim-090428 ric$ ./shim --data<br>
<br> The trading shim has connected to the database server and<br> loaded 51620 products. <br><br>An attempt to connect to host localhost on port 7496 failed; you may<br>need to start, restart, or provide access permissions to, the IB tws.<br>
Connect: Connection refused<br>errno: 61; port 7496<br><br>Problem: 520 the IB tws socket connect failed<br>Exiting<br><br>I was geting this same message regardless of if TWS is running or not. When TWS is up, I can telnet the port and my java history downloader is working fine.<br>
<br>When I tested the Telnet I notice Apple is now trying all the Ipv6 localhosts first so, I change<br>the Feedhost in .shimrc to 127.0.0.1 and I seem to get a little deeper,:<br><br> The trading shim has connected to the database server and<br>
loaded 51620 products. The IB tws offered api level 44,<br> and connection negotiation resulted in an api level of 23<br> and a client id of 1. A query shows the account code to<br> be DU(number removed). Program initialization has been completed.<br>
<br>but then it freezes and does not accept commands.<br><br>Is their some way of seeing what is going on a little deeper.<br><br>Thanks,<br>Ric<br><br>