Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
HI guys please somebody help
WebSocket connection to 'ws://{my hostname here}/socketcluster/' failed: Error during WebSaocket handshake: Unexpected response code: 404
Offline
https://doc.livehelperchat.com/docs/node-js/
You have to setup node ja proxy as stated for nginx for apache something similar should be.
Offline
content of settings.ini.php in the nodejshelper extension
I want to ask what should be the value for connect_db (i mean where i have put asterisks)
<?php
return array(
'connect_db' => '**********',
'connect_db_id' => 0,
'automated_hosting' => false,
'public_settings' => array(
'hostname' => (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : null),
'path' => '/socketcluster/',
'port' => null, //some custom port
'secure' => false, // true || false
)
);
?>
Offline
I do not think you understood fully what's required to have it working. It include NodeJS server setup, adjusting apache/nginx configuration and configuring extension. Having extension alone is not enough...
Offline
okay thanks
Offline
but what should be the value for connect_db (i mean where i have put asterisks)
Offline
I still have problem here
WebSocket connection to 'ws://<my url>:8000/socketcluster/' failed: WebSocket is closed before the connection is established.
Offline
connect_db is redis database id it has to match nodejs extension defined database.
Offline
Pages: 1