SocketCluster / SocketCluster/socketcluster-client
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
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 300
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
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)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the OpenShift Docker setup and inspect the compatibility failure reported from /usr/src/server.js, along with the socketcluster-server stack entries. Compare the SCC component and scc-state versions involved, then verify that the server accepts the client handshake without CompatibilityError or SocketProtocolError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100