backendSettings = {
"scheme":"http",
"host":"localhost",
"port":3000,
"key":"/keys/Adster69.key",
"cert":"/keys/Adster69.crt",
"resource":"/socket.io",
"publishUrl":"/TTH/nodejs/publish",
"serviceKey":"",
"backend":{
"port":80,
"host":"locahhost",
"messagePath":"/TTH/nodejs/message"},
"clientsCanWriteToChannels":false,
"clientsCanWriteToClients":false,
"extensions":["nodejs.server.extension.js"],
"debug":true,
"transports":["websocket",
"flashsocket",
"htmlfile",
"xhr-polling",
"jsonp-polling"],
"jsMinification":true,
"jsEtag":true,
"logLevel":1};
When i start server using node server.js, it returns as follows:
Extension loaded: nodejs.server.extension.js
Started http server.
Also browser inspect element shows 400 (BAD request ) error?
Give me a solution? its urgent!!
Comments
Comment #1
slv_ commentedThis doesn't seem an issue with the chat module I'm afraid.
This looks like it has a few wrong things:
"locahhost"...
Also one of the "CanWrite" properties need to be set to TRUE
Try to use any of the modules packed with the nodejs module itself and see if they work. If they don't, it's an issue with your config. Open a support request for the nodejs chat module, not here.
Also, when reporting errors / asking for request, use #2137781: TEMPLATE to report new issues..
Finally, read the file called "README", to avoid asking things already solved in there:
http://catb.org/~esr/faqs/smart-questions.html
Closing.
PS: "Priority" field is used in regards to the module and how an issue might be relevant to the module itself for *all* the users, not to specify that an individual has an urgent need for help.