2 Replies Latest reply on Jan 11, 2018 1:00 AM by prathinam RSS
    prathinam Newbie

    Unable to connect Rasperry pi to thingworx composer(hosted Server)

    Please solve my following error file

    [TRACE] 2018-01-10 18:05:58,560 jsonConfigurator::getInteger: Key = connect_retry_interval, Parent = ws_connection

    [TRACE] 2018-01-10 18:05:58,560 jsonConfigurator::getValueByType: Key connect_retry_interval not found

     

     

    pp-1801091128ap.devportal.ptc.io:443-->[TRACE] 2018-01-10 18:05:58,560 jsonConfigurator::getInteger: Key = max_connect_delay, Parent = ws_connection

    [TRACE] 2018-01-10 18:05:58,560 jsonConfigurator::getValueByType: Key max_connect_delay not found

    [TRACE] 2018-01-10 18:05:58,561 SDK: twApi_Connect: Delaying 1 milliseconds before connecting

    [DEBUG] 2018-01-10 18:05:58,563 SDK: twTlsClient_Reconnect: Re-establishing SSL context

    [DEBUG] 2018-01-10 18:05:58,653 SDK: twTlsClient_Connect: Connecting to server

    [TRACE] 2018-01-10 18:05:58,843 SDK: twWs_Connect: Connected to pp-1801091128ap.devportal.ptc.io:443

    [TRACE] 2018-01-10 18:05:58,843 SDK: twWs_Connect: Sent request:

    GET /Thingworx/WS HTTP/1.1

    User-Agent: ThingWorx C SDK

    Upgrade: websocket

    Connection: Upgrade

    Host: pp-1801091128ap.devportal.ptc.io

    Sec-WebSocket-Version: 13

    Sec-WebSocket-Key: kERfPIBJjsMpr3dRglI6Mg==

    Max-Frame-Size: 8192

    appKey: 61e6d9c2-066e-4812-885a-9b31f0944747

     

     

     

     

    [ERROR] 2018-01-10 18:06:08,843 SDK: twWs_Connect: Error trying to connect

    [DEBUG] 2018-01-10 18:06:08,843 SDK: twTlsClient_Reconnect: Re-establishing SSL context

    [DEBUG] 2018-01-10 18:06:08,859 SDK: twTlsClient_Connect: Connecting to server

    [DEBUG] 2018-01-10 18:06:13,976 SDK: twTlsClient_Reconnect: Re-establishing SSL context

    [DEBUG] 2018-01-10 18:06:13,992 SDK: twTlsClient_Connect: Connecting to server

    [TRACE] 2018-01-10 18:06:14,109 SDK: twWs_Connect: Connected to pp-1801091128ap.devportal.ptc.io:443

    [TRACE] 2018-01-10 18:06:14,109 SDK: twWs_Connect: Sent request:

    GET /Thingworx/WS HTTP/1.1

    User-Agent: ThingWorx C SDK

    Upgrade: websocket

    Connection: Upgrade

    Host: pp-1801091128ap.devportal.ptc.io

    Sec-WebSocket-Version: 13

    Sec-WebSocket-Key: W+3YjdF8IwIzbah1YTBMHQ==

    Max-Frame-Size: 8192

    appKey: 61e6d9c2-066e-4812-885a-9b31f0944747

     

     

     

     

    [ERROR] 2018-01-10 18:06:24,109 SDK: twWs_Connect: Error trying to connect

    [DEBUG] 2018-01-10 18:06:24,109 SDK: twTlsClient_Reconnect: Re-establishing SSL context

    [DEBUG] 2018-01-10 18:06:24,125 SDK: twTlsClient_Connect: Connecting to server

    [DEBUG] 2018-01-10 18:06:29,241 SDK: twTlsClient_Reconnect: Re-establishing SSL context

    [DEBUG] 2018-01-10 18:06:29,289 SDK: twTlsClient_Connect: Connecting to server

    [TRACE] 2018-01-10 18:06:29,407 SDK: twWs_Connect: Connected to pp-1801091128ap.devportal.ptc.io:443

    [TRACE] 2018-01-10 18:06:29,408 SDK: twWs_Connect: Sent request: