[ts-gen] MacOS Shim problems

Richard Pruss boadie at gmail.com
Tue May 12 20:53:05 EDT 2009


Hi Folks,

Picking this up after a few months hiatus, but I now have something weird on
Mac OS with connection.

Compile and database connection all seem to work fine but;

Quady:shim-090428 ric$ ./shim --data

          The trading shim has connected to the database server and
          loaded  51620 products.

An attempt to connect to host localhost on port 7496 failed; you may
need to start, restart, or provide access permissions to, the IB tws.
Connect: Connection refused
errno: 61; port 7496

Problem: 520 the IB tws socket connect failed
Exiting

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.

When I tested the Telnet I notice Apple is now trying all the Ipv6
localhosts first so, I change
the Feedhost in .shimrc to 127.0.0.1 and I seem to get a little deeper,:

          The trading shim has connected to the database server and
          loaded  51620 products.  The IB tws offered api level 44,
          and connection negotiation resulted in an api level of 23
          and a client id of  1.  A query shows the account code to
          be DU(number removed).  Program initialization has been completed.

but then it freezes and does not accept commands.

Is their some way of seeing what is going on a little deeper.

Thanks,
Ric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.trading-shim.org/pipermail/ts-general/attachments/20090513/4f040371/attachment.html 


More information about the ts-general mailing list