asked 2015-11-03 09:30:55 -0700

Hi all,

I have on the same proximity network: 6 LIFX bulbs updated with the latest firmware version and the LSF light controller running on an Android tablet with 4.4.2 (DeprecatedScenesV1_Debug_01_01_0459).

When I start/restart the LSF, in half of the times all the bulbs are discovered, whereas in all the other cases only 4 of them are present in the list.

When this happens, I got the following TCP error message from the adb:

E/TCP ( 5635): 12.529 * ERROR TCP TCPTransport ...outer/TCPTransport.cc:1880 | TCPTransport::Run(): No slot for new connection: ER_CONNECTION_LIMIT_EXCEEDED E/TCP ( 5635): 12.530 * ERROR TCP TCPTransport ...outer/TCPTransport.cc:1880 | TCPTransport::Run(): No slot for new connection: ER_CONNECTION_LIMIT_EXCEEDED

I image that this is related to the configuration of the bundled router within the app.

Any ideas how to fix this?

Thank you! Lino

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-03 12:18:38 -0700

praveenb gravatar image

You might be hitting the limit set for max_incomplete_connections.

The documentation for various options in routing node configuration file can be found here.

The bundled routing node configuration comes from allseen/core/alljoyn/alljoyn_core/router/bundled/BundledRouter.cc. By default, bundled routing node doesn't look for an external configuration file. To achieve that, you would need to recompile the sources with another scons option.

You can attempt one of the two following options:

  • If using the most recent 15.09 release, compile the source with TEST_CONFIG option supplying a path to an external routing node configuration xml file and place it at that path on the Android device.
  • If using a release older than 15.09, manually patch the source to set a larger value for max_incomplete_connections and recompile

Having said that, I think its useful to dig deeper. The piece in AllJoyn routing node that handles sessionless signal fetching has a retry mechanism, if JoinSession attempts fail. Hence, my suggestion is to open a JIRA ticket with LSF project and inform them of your issue.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-11-03 09:30:55 -0700

Seen: 86 times

Last updated: Nov 03 '15