You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to connect in my local machine (ubuntu 10.04) i am getting below error. Can you please give me any solution to fix that. Thanks in advance for your help.
My Code:
var loopback = require('loopback');
var app = loopback();
var cql = require('node-cassandra-cql');
var client = new cql.Client({hosts: ['192.168.1.40:9042'], keyspace: 'catalog'});
client.connect(function established(err){if (err) console.log(err);
else console.log('Connection with Cassandra established');});
app.listen(9042);
Getting Error :
{ [PoolConnectionError]
name: 'PoolConnectionError',
info: 'Represents a error while trying to connect the pool, all the connections failed.',
individualErrors:
[ { [Error: Socket was closed]
message: 'Socket was closed',
info: 'Cassandra Driver Error',
isServerUnhealthy: true } ] }
The text was updated successfully, but these errors were encountered:
Respected Sir,
When i try to connect in my local machine (ubuntu 10.04) i am getting below error. Can you please give me any solution to fix that. Thanks in advance for your help.
My Code:
var loopback = require('loopback');
var app = loopback();
var cql = require('node-cassandra-cql');
var client = new cql.Client({hosts: ['192.168.1.40:9042'], keyspace: 'catalog'});
client.connect(function established(err){if (err) console.log(err);
else console.log('Connection with Cassandra established');});
app.listen(9042);
Getting Error :
{ [PoolConnectionError]
name: 'PoolConnectionError',
info: 'Represents a error while trying to connect the pool, all the connections failed.',
individualErrors:
[ { [Error: Socket was closed]
message: 'Socket was closed',
info: 'Cassandra Driver Error',
isServerUnhealthy: true } ] }
The text was updated successfully, but these errors were encountered: