SocketCluster / socketcluster-client

JavaScript client for SocketCluster
MIT License
290 stars 92 forks source link

CompatibilityError: An obsolete SCC component at address 10.128.28.1 is incompatible with the scc-state@^6.1.1. Please, update the SCC component up to version ^6.0.0 #125

Open arjunsreepad opened 5 years ago

arjunsreepad commented 5 years ago

I recently setup socket cluster on my openshift docker environment, and i am getting below error

on socketcluster state:

{ CompatibilityError: An obsolete SCC component at address 10.128.28.1 is incompatible with the scc-state@^6.1.1. Please, update the SCC component up to version ^6.0.0
at Object.scServer.addMiddleware (/usr/src/server.js:178:11)
at /usr/src/node_modules/async/dist/async.js:228:33
at /usr/src/node_modules/async/dist/async.js:1105:9
at replenish (/usr/src/node_modules/async/dist/async.js:982:17)
at /usr/src/node_modules/async/dist/async.js:986:9
at _asyncMap (/usr/src/node_modules/async/dist/async.js:1103:5)
at /usr/src/node_modules/async/dist/async.js:1189:16
at /usr/src/node_modules/async/dist/async.js:1016:16
at Object.<anonymous> (/usr/src/node_modules/async/dist/async.js:227:20)
at Object.<anonymous> (/usr/src/node_modules/async/dist/async.js:89:12) name: 'CompatibilityError' }
{ SocketProtocolError: Server rejected handshake from client
at SCServerSocket._onSCClose (/usr/src/node_modules/socketcluster-server/scserversocket.js:249:17)
at SCServerSocket.disconnect (/usr/src/node_modules/socketcluster-server/scserversocket.js:269:10)
at /usr/src/node_modules/socketcluster-server/scserver.js:533:18
at /usr/src/node_modules/socketcluster-server/scserver.js:886:9
at /usr/src/node_modules/async/dist/async.js:1110:9
at /usr/src/node_modules/async/dist/async.js:460:16
at iterateeCallback (/usr/src/node_modules/async/dist/async.js:962:17)
at /usr/src/node_modules/async/dist/async.js:944:16
at /usr/src/node_modules/async/dist/async.js:1107:13
at Object.scServer.addMiddleware (/usr/src/server.js:186:3)
name: 'SocketProtocolError',
message: 'Server rejected handshake from client',
code: 4008 }

on scc-broker

1550948912211 - Origin: Worker (PID 39)
[Warning] SocketProtocolError: Socket hung up
at SCServerSocket._onSCClose (/usr/src/node_modules/socketcluster-server/scserversocket.js:249:17)
at WebSocket.internalOnClose (/usr/src/node_modules/socketcluster-server/scserversocket.js:80:10)
at process.nextTick (/usr/src/node_modules/sc-uws/uws.js:461:27)
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)