0

I have followed the suggested video tutorials https://www.youtube.com/watch?v=u1sxDaH3Z-U and https://www.youtube.com/watch?v=f8XAT1oB1eA

Im using the node.js watchdog submodule for debugging. That's what the tutorial video did. She didnt have any problems.

Any clues?

backendSettings = {
  "scheme":"http",
  "host":"localhost",
  "port":8989,
  "key":"/etc/nginx/ssl/SECURITY.key",
  "cert":"/etc/nginx/ssl/SECURITY.crt",
  "resource":"/socket.io",
  "publishUrl":"publish",
  "serviceKey":"",
  "backend":{
  "port":80,
  "host":"panduh420.com",
  "messagePath":"/nodejs/message"},
  "clientsCanWriteToChannels":true,
  "clientsCanWriteToClients":true,
  "extensions":"",
  "debug":false,
  "transports":["websocket",
  "polling"],
  "jsMinification":true,
  "jsEtag":true,
  "logLevel":1};

enter image description here errors

  • Did you try my answer? how did it go? – No Sssweat Dec 7 '15 at 7:05
1

I had problems too. On line 3, for some reason using localhost never worked for me. Change line 3 to

"host":"panduh420.com",

Also, if your server has a firewall, make sure port 8989 is open.

Also, if you are not going to use https, then you don't need a key or cert.

here is mine

backendSettings = {
  "scheme":"http",
  "host":"mywebsite.com",
  "port":8080,
  "key":"/path/to/key/file",
  "cert":"/path/to/cert/file",
  "resource":"/socket.io",
  "publishUrl":"publish",
  "serviceKey":"",
  "backend":{
  "port":80,
  "host":"mywebsite.com",
  "messagePath":"/nodejs/message"},
  "clientsCanWriteToChannels":false,
  "clientsCanWriteToClients":false,
  "extensions":"",
  "debug":false,
  "transports":["websocket",
  "flashsocket",
  "htmlfile",
  "xhr-polling",
  "jsonp-polling"],
  "jsMinification":true,
  "jsEtag":true,
  "logLevel":1};
|improve this answer|||||
  • thanks for trying to help. Unfortunately that didn't work. I tried just changing the config file to panduh420.com and then i also tried changing every place in the site module configuration from localhost to panduh420.com. still nothing. – Anon Ymous Dec 8 '15 at 7:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.