videochat-peerjs-example icon indicating copy to clipboard operation
videochat-peerjs-example copied to clipboard

script.js:58 Error: Could not get an ID from the server.

Open vol-and opened this issue 4 years ago • 0 comments

2021-01-27-Window

has someone the idea why I get it on a remote server? I can see myself, but no ID

I've changed only some rows for the server, such as:

website-server.js 60: var LANAccess = "IP of my server";

script.js

var peer = new Peer({
        host: "hostname of my server"

index.html <script src="source/js/script.js"></script> // resources -> source, because the console throws error of not finding script.js putted all dependencies in one package.json file.

I use Plesk server with Node.js App Version: 12.4.0; Modus: production.

the path to peer-server.js for Node.js App is right.

Can someone help?

vol-and avatar Jan 27 '21 13:01 vol-and