Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket error: Error: unexpected server response (403) #244

Open
sorokinvld opened this issue Oct 13, 2016 · 0 comments
Open

Socket error: Error: unexpected server response (403) #244

sorokinvld opened this issue Oct 13, 2016 · 0 comments

Comments

@sorokinvld
Copy link

sorokinvld commented Oct 13, 2016

Hi.

After installation on an Ubuntu (16 lts) EC2 Instance I get error:

[wsc] =✘= Socket error: { Error: unexpected server response (403)
    at ClientRequest.response (/home/ubuntu/web/node_modules/ws/lib/WebSocket.js:719:15)
    at ClientRequest.g (events.js:291:16)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at HTTPParser.parserOnIncomingClient (_http_client.js:474:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
    at Socket.socketOnData (_http_client.js:363:20)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
  type: 'error',
  target: 
   WebSocket {
     domain: null,
     _events: { error: [Function: onerror] },
     _eventsCount: 1,
     _maxListeners: undefined,
     _socket: null,
     _ultron: null,
     _closeReceived: false,
     bytesReceived: 0,
     readyState: 3,
     supports: { binary: true },
     extensions: null,
     _binaryType: 'arraybuffer',
     _isServer: false,
     url: 'ws://localhost:8546/api/?_primuscb=LUzwiR9',
     protocolVersion: 13,
     _closeTimer: null,
     _closeCode: 1006 } }

nodejs-legacy installed.

geth with parameter "--ws" says:
$admin.startWS()
WebSocket RPC already running on localhost:8546

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant