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
On my machine I am able to curl my elastic as insecure
rohan-sirohi@mediaman:~$ curl https://elastic:"pwd"@192.168.13.167:9200
curl: (60) SSL certificate problem: self-signed certificate in certificate chain
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
rohan-sirohi@mediaman:~$ curl -k https://elastic:"pwd"@192.168.13.167:9200
{
"name" : "elasticsearch-8x",
"cluster_name" : "hetzner-elastic",
"cluster_uuid" : "5YQHfeqKTpOpePEcjPLZYw",
"version" : {
"number" : "8.13.1",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "9287f29bba5e270bd51d557b8daccb7d118ba247",
"build_date" : "2024-03-29T10:05:29.787251984Z",
"build_snapshot" : false,
"lucene_version" : "9.10.0",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
If I try to do setup this elastic with pm2-elasticsearch
pm2 set pm2-elasticsearch:elasticsearchUrl "https://elastic:[email protected]:9200?insecure=true"
Its not working getting errors
rohan-sirohi@mediaman:~$ pm2 logs 4
[TAILING] Tailing last 15 lines for [4] process (change the value with --lines option)
/var/www/.pm2/logs/pm2-elasticsearch-out.log last 15 lines:
/var/www/.pm2/logs/pm2-elasticsearch-error.log last 15 lines:
4|pm2-elas | at sendReqWithConnection (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/transport.js:266:15)
4|pm2-elas | at next (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/connection_pool.js:243:7)
4|pm2-elas | at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
4|pm2-elas | NoConnections [Error]: No Living connections
4|pm2-elas | at sendReqWithConnection (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/transport.js:266:15)
4|pm2-elas | at next (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/connection_pool.js:243:7)
4|pm2-elas | at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
4|pm2-elas | NoConnections [Error]: No Living connections
4|pm2-elas | at sendReqWithConnection (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/transport.js:266:15)
4|pm2-elas | at next (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/connection_pool.js:243:7)
4|pm2-elas | at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
4|pm2-elas | NoConnections [Error]: No Living connections
4|pm2-elas | at sendReqWithConnection (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/transport.js:266:15)
4|pm2-elas | at next (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/connection_pool.js:243:7)
4|pm2-elas | at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
4|pm2-elasticsearch | NoConnections [Error]: No Living connections
4|pm2-elasticsearch | at sendReqWithConnection (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/transport.js:266:15)
4|pm2-elasticsearch | at next (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/connection_pool.js:243:7)
4|pm2-elasticsearch | at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
4|pm2-elasticsearch | NoConnections [Error]: No Living connections
4|pm2-elasticsearch | at sendReqWithConnection (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/transport.js:266:15)
4|pm2-elasticsearch | at next (/var/www/.pm2/modules/pm2-elasticsearch/node_modules/elasticsearch/src/lib/connection_pool.js:243:7)
4|pm2-elasticsearch | at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
^C
rohan-sirohi@mediaman:~$
If you need additional information let me know I will provide
The text was updated successfully, but these errors were encountered:
On my machine I am able to curl my elastic as insecure
If I try to do setup this elastic with pm2-elasticsearch
Its not working getting errors
If you need additional information let me know I will provide
The text was updated successfully, but these errors were encountered: