simplewebrtc / signalmaster

simple socket.io server for webrtc signaling
Other
1.31k stars 486 forks source link

Error when deploy to Heroku #102

Open t4ngth00 opened 7 years ago

t4ngth00 commented 7 years ago

Hello there,

Does anyone try to deploy this server to Heroku? Can you guys give me a tutorial for it? I built successfully but the server didn't work.

Thanks in advance.

lucaurso commented 7 years ago

Did you manage to make it work on Heroku? If yes, how?

lucaurso commented 7 years ago

@t4ngth00 I managed to make it work. Check this answer on Stackoverflow https://stackoverflow.com/a/22809750

t4ngth00 commented 7 years ago

I've tried to use it with express and it has worked fine. However, by using with express, I got problem to run "https" on localhost.

t4ngth00 commented 7 years ago

Anyway, thank you so much.

jeffin07 commented 7 years ago

Hello every on e when i try to run it shows error

D:\webrtc-signal-master>node server.js dev environment detected fs.js:642 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^

Error: ENOENT: no such file or directory, open 'D:\webrtc-signal-master\server.key' at Error (native) at Object.fs.openSync (fs.js:642:18) at Object.fs.readFileSync (fs.js:510:33) at Object. (D:\webrtc-signal-master\server.js:16:17) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10)

D:\webrtc-signal-master> can anyone help