Skip to content

Client socket initialization timed out - Client did not receive a 'status' event #6

Description

@nmik2020

I am able to connect to my Server, but immediately afterwards Disconnect event is being called.

2018-04-17 14:29:24.183816-0400 SocketClusterTest[71243:3805015] WVJB SEND: {"data":{"secure":"false","hostname":"127.0.0.1","port":"8000"},"handlerName":"connectHandler"} 2018-04-17 14:29:24.225765-0400 SocketClusterTest[71243:3805015] WVJB RCVD: {"callbackId":"cb_1_1523989764224","handlerName":"onConnectHandler","data":{}} 2018-04-17 14:29:24.225937-0400 SocketClusterTest[71243:3805015] Connected ! 2018-04-17 14:29:33.227507-0400 SocketClusterTest[71243:3805015] WVJB RCVD: {"callbackId":"cb_2_1523989773226","handlerName":"onDisconnectedHandler","data":{}} 2018-04-17 14:29:33.228855-0400 SocketClusterTest[71243:3805015] WVJB RCVD: {"callbackId":"cb_3_1523989773228","handlerName":"onErrorHandler","data":{"data":"Client socket initialization timed out - Client did not receive a 'status' event"}}

On the Server side, I do get an auth error :

[Warning] SocketProtocolError: Server failed to sign auth token at SCSocket._onSCClose (/Users/nidal/Documents/Test/node_modules/socketcluster-server/scsocket.js:229:17) at WebSocket.internalOnClose (/Users/nidal/Documents/Test/node_modules/socketcluster-server/scsocket.js:74:10) at process.nextTick (/Users/nidal/Documents/Test/node_modules/uws/uws.js:445:27) at process._tickCallback (internal/process/next_tick.js:112:11)

Immediately on Connect, am I supposed to send an event to get an auth token?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions