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

PeerJS Server EMPTY_RESPONSE prompting periodically #70

Closed
0x1211 opened this issue Apr 8, 2015 · 2 comments
Closed

PeerJS Server EMPTY_RESPONSE prompting periodically #70

0x1211 opened this issue Apr 8, 2015 · 2 comments

Comments

@0x1211
Copy link

0x1211 commented Apr 8, 2015

Good afternoon everyone,
The team and I are facing an issue while using PeerJS for a little WebRTC project while trying to establish a connection to our server peer.
The issue prompted oftenly between two test with one OK and no changes between tests. This is what we read in our browser Network tab :

Request URL:
    http://server-ip:9000/peerjs/HelloWorldServer16/v2b3bzn3cbzw7b9/id?i=0

Request Headers
    Provisional headers are shown
Origin:
    http://localhost:8080
Referer:
    http://localhost:8080/
User-Agent:
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) 
    AppleWebKit/537.36 (KHTML, like Gecko) 
    Chrome/41.0.2272.118 Safari/537.36
Query String
    i:0

In the Console :

POST 
http://server-ip:9000/peerjs/HelloWorldServer16/v2b3bzn3cbzw7b9/id?i=0 
net::ERR_EMPTY_RESPONSE

It ended with :

WebSocket connection to 'ws://server-ip:9000/peerjs?key=peerjs&id=HelloWorldServer16&token=v2b3bzn3cbzw7b9' 
failed: Connection closed before receiving a handshake response

I let you look further about this issue and decide if it concerns a patch or not.

Thank you and good bye :-)

@Gigibit
Copy link

Gigibit commented Oct 10, 2018

Same issue, have you found a solution?

@afrokick
Copy link
Member

afrokick commented Apr 1, 2019

Please leave a new comment if it'll occur again

@afrokick afrokick closed this as completed Apr 1, 2019
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

3 participants