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

Connection to remotedev-server fails #10

Open
dp-1a opened this issue Jan 16, 2020 · 0 comments
Open

Connection to remotedev-server fails #10

dp-1a opened this issue Jan 16, 2020 · 0 comments

Comments

@dp-1a
Copy link

dp-1a commented Jan 16, 2020

Hello,

I wanted to give you middleware a try but it seems there is an issue when establishing the connection to the remotedev-server.

Origin: Worker (PID 94704)
   [Warning] SocketProtocolError: Server received a message before the client handshake
    at SCServerSocket._onSCClose (/Users//.npm/_npx/94504/lib/node_modules/remotedev-server/node_modules/socketcluster-server/scserversocket.js:267:17)
    at WebSocket.<anonymous> (/Users/xxxx/.npm/_npx/94504/lib/node_modules/remotedev-server/node_modules/socketcluster-server/scserversocket.js:117:12)
    at WebSocket.emit (events.js:321:20)
    at Receiver.receiverOnMessage (/Users/xxxx/.npm/_npx/94504/lib/node_modules/remotedev-server/node_modules/ws/lib/websocket.js:800:20)
    at Receiver.emit (events.js:321:20)
    at Receiver.dataMessage (/Users/xxxx/.npm/_npx/94504/lib/node_modules/remotedev-server/node_modules/ws/lib/receiver.js:422:14)
    at Receiver.getData (/Users/xxxx/.npm/_npx/94504/lib/node_modules/remotedev-server/node_modules/ws/lib/receiver.js:352:17)
    at Receiver.startLoop (/Users/xxxx/.npm/_npx/94504/lib/node_modules/remotedev-server/node_modules/ws/lib/receiver.js:138:22)
    at Receiver._write (/Users/xxxx/.npm/_npx/94504/lib/node_modules/remotedev-server/node_modules/ws/lib/receiver.js:74:10)
    at doWrite (_stream_writable.js:453:12)
    at writeOrBuffer (_stream_writable.js:435:5)
    at Receiver.Writable.write (_stream_writable.js:326:11)
    at Socket.socketOnData (/Users/xxxx/.npm/_npx/94504/lib/node_modules/remotedev-server/node_modules/ws/lib/websocket.js:875:35)
    at Socket.emit (events.js:321:20)
    at addChunk (_stream_readable.js:305:12)
    at readableAddChunk (_stream_readable.js:280:11)

Tried it with node version v13.6.0 and the latest version of the remotedev-server package 0.3.1

Any idea what the issue might be?

Best regards
dp-1a

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