I have a problem with the installation. I installed Node.JS on my root 
server, started the server.js with no errors.

When i refresh the page with the chat, sometimes it is able to create a 
channel, sometimes i get the error "could not create channel". Node gives 
me the following debug output while i refresh the page:

Successfully added channel 'Chat__node_1' setContentToken: message { token: 
'ABfSaj9iB7rY7efYEPOp4v1CddJtTCE_uVnoTRUiKiA', channel: 'Chat__node_1', 
notifyOnDisconnect: true } setContentToken 
ABfSaj9iB7rY7efYEPOp4v1CddJtTCE_uVnoTRUiKiA for channel Chat__node_1 
publishMessageToContentChannel: message { broadcast: false, channel: 
'Chat__node_1', callback: 'nodejsChatUserOnlineHandler', data: { chatroom: 
'Chat__node_1', name: 'citycamcheck', subject: 'New user connected', body: 
'User citycamcheck has entered the chat', user: { uid: '1', name: 
'citycamcheck', picture: '0' } }, clientSocketId: '' } 
getNodejsSessionIdsFromUid { uid: '1', sessionIds: [] } No active sessions 
for uid: 1

Also Chrome console tells me:

GET http://localhost:8080/socket.io/socket.io.js 
net::ERR_CONNECTION_REFUSED citycamcheck.de/:58

My nodejs.config.js is:

/** * This configuration file was built using the 'Node.js server 
configuration builder'. * For a more fully commented example see the file 
nodejs.config.js.example in the root of this module */ backendSettings = { 
"scheme":"http", "host":"localhost", "port":8080, 
"key":"/path/to/key/file", "cert":"/path/to/cert/file", 
"resource":"/socket.io", "publishUrl":"publish", "serviceKey":"", 
"backend":{ "port":80, "host":"localhost", 
"messagePath":"/nodejs/message"}, "clientsCanWriteToChannels":true, 
"clientsCanWriteToClients":true, "extensions":["nodejs_chat.module.js"], 
"debug":true, "transports":["websocket", "flashsocket", "htmlfile",</code> 
"xhr-polling", "jsonp-polling"], "jsMinification":true, "jsEtag":true, 
"logLevel":1};

I already tried to reinstall node.js, with no changes. Running it on Debian 
7.5. Do you have any ideas, or at least where to start searching ?

Yours

Daniel

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/c2baa842-bdae-4412-bb64-7865769fe36d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to