Connector Exception 6: Connector Reconnected to the ThingWorx Platform
This exception appears if ThingWorx Platform and eMessage Connector are running when an Axeda agent sends data item messages to the Connector, and then ThingWorx Platform is stopped and restarted. For more information, refer to Observation 12: Connector websocket connection errors with ThingWorx Platform.
1. Start ThingWorx Platform.
2. Start eMessage Connector.
3. Start agent, which is configured to send data item messages to the Connector.
4. Stop ThingWorx Platform.
5. Start ThingWorx Platform.
In this scenario, when ThingWorx Platform is restarted, the Connector re-establishes its connections with ThingWorx Platform. The following messages are logged, showing that the connections have been re-established:
... [AsyncChannelManagerScheduledExecutor]
...Subchannel <ThingWorx-URL>
in channel <ThingWorx_URL> was no longer valid - unregistering it
...
INFO ... Needed to reconnect subchannels on client endpoint
...
INRO .. Preparing new Connection Authentication Request for channel:

INFO ... Authentication Request was SUCCESSFUL [session id: 1,
endpointId: 1, requestId: 326, channel: com.Thingworx.sdk.impl.transport.
... INFO ... Opening fabric channel
... INFO ... Resetting fabric connection.
... [NettyClient-NIO-4]
INFO ... Preparing additional Connection Authentication Request
... [NettyClient-NIO-4]
INFO ... Preparing additional Connection Authentication Request
... [NettyClient-NIO-4]
INFO ... Preparing additional Connection Authentication Request
... [NettyClient-NIO-4]
INFO ... Preparing additional Connection Authentication Request

... [NettyClient-NIO-3]
INFO ... Authentication Request was SUCCESSFUL [session id: 1,
endpointId: 1, requestId: 331, channel: com.Thingworx.sdk.impl.transport.
MuxingBytesChannel$AuthTrackingBytesChannel@15ab16ec ]
... [NettyClient-NIO-2]
INFO ... Authentication Request was SUCCESSFUL [session id: 1,
endpointId: 1, requestId: 330, channel: com.Thingworx.sdk.impl.transport.
MuxingBytesChannel$AuthTrackingBytesChannel@30632ddc ]
... [NettyClient-NIO-5]
INFO ... Authentication Request was SUCCESSFUL [session id: 1,
endpointId: 1, requestId: 327, channel: com.Thingworx.sdk.impl.transport.
... ]
... [NettyClient-NIO-6]
INFO ... Authentication Request was SUCCESSFUL [session id: 1,
endpointId: 1, requestId: 329, channel: com.Thingworx.sdk.impl.transport.
... ]
Was this helpful?