peers / peerjs-server

Server for PeerJS
https://peerjs.com
MIT License
4.34k stars 1.08k forks source link

I'm getting "EXPIRE" response in network tab from Peerjs Server (Hosting Own Peer Server in Digital Ocean). #299

Closed stephen-optisol closed 1 year ago

stephen-optisol commented 1 year ago

I'm new to peerjs and server architecture. could you please help me to resolve this issue. I have used peer@0.2.10 version for server and peerjs for client.

expireerror

clientsideerror

We are running the peer server connected to reverse proxy with open lite speed server.

I'm checking with firewall and ufw in server. there is no blockage and can communicate with peer server. Got this output while running in debug mode.

debugmode

Seeking your advice on this. Thanks in advance.

jonasgloning commented 1 year ago

Hey @stephen-optisol, PeerJS server 0.2 was released a few years ago and is probably incompatible with newer client versions. Please try it again with a more recent server version. If the error remains, I'll try and help you debug the issue.

stephen-optisol commented 1 year ago

@jonasgloning sorry i mentioned the wrong client version for peerjs. actually, we have no idea which version of min file was used. could you please help me to identify version from min file ? PFA

https://codefile.io/f/Ia49190pstrFJF98NcOq

jonasgloning commented 1 year ago

I haven't checked the exact version, but 0.3.19 looks like a good match.

Definitely after 0.3.10 and before 1.0.0.