WebDevSimplified / Zoom-Clone-With-WebRTC

1.52k stars 865 forks source link

GET http://localhost:3001/peerjs/id?ts=16064630731310.9478529963693267 net::ERR_EMPTY_RESPONSE #34

Open eesayas opened 4 years ago

eesayas commented 4 years ago

Anyone getting this error? I'm stuck I don't know what to do

edznan commented 4 years ago

Same here.

kdhaka94 commented 4 years ago

Just remove the parameters from const myPeer = new Peer() , so by default it will use their own server to provide the id.

borissimkin commented 3 years ago

Perhaps you forgot to start the peer server

npm install -g peer
peerjs --port 3001
khalidMhd commented 3 years ago

same issue

ShivanshShalabh commented 3 years ago

Just remove the parameters from const myPeer = new Peer() , so by default it will use their own server to provide the id. Thanks a ton @kdhaka94!! Was encountring this error from last night and had no clue how to fix it. Changed it from: var peer = new Peer(undefined, { path: '/peerjs', host: '/', port: '443', }); To: var peer = new Peer();

Reshabcsst commented 1 year ago

thanks bro it helps me a lot