Difference between revisions of "ECONNREFUSED"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
+
<code>ECONNREFUSED</code>: Error connection refused
  
 
  {"type":"log","@timestamp":"2022-11-08T21:07:45+00:00","tags":["error","elasticsearch-service"],"pid":7,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 127.0.0.1:9200"}
 
  {"type":"log","@timestamp":"2022-11-08T21:07:45+00:00","tags":["error","elasticsearch-service"],"pid":7,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 127.0.0.1:9200"}
  
  
  {"type":"log","@timestamp":"2022-11-08T20:57:10+00:00","tags":["error","elasticsearch-service"],"pid":7,"message":"Unable to retrieve version information from Elasticsearch nodes. [[getaddrinfo]] ENOTFOUND elasticsearch"}
+
  {"type":"log","@timestamp":"2022-11-08T20:57:10+00:00","tags":["error","elasticsearch-service"],"pid":7,"message":"Unable to retrieve version information from Elasticsearch nodes. [[getaddrinfo]] [[ENOTFOUND]] elasticsearch"}
  
  
Line 10: Line 10:
 
     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
 
     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
  
 +
== Examples ==
 +
Running command npm install
 +
npm ERR! code ECONNREFUSED
 +
npm ERR! syscall connect
 +
npm ERR! errno ECONNREFUSED
 +
npm ERR! FetchError: request to https://yourweb/repository/app-services-npm/x/x/-/x.tgz failed, reason: connect ECONNREFUSED 123.123.123:443
 +
npm ERR!    at ClientRequest.<anonymous> (/usr/local/lib/x/nx/nx/x/lib/ix)
 +
npm ERR!    at ClientRequest.emit (node:events:513:28)
 +
npm ERR!    at TLSSocket.socketErrorListener (node:_http_client:0000
 +
npm ERR!    at TLSSocket.emit (node:events:5:00)
 +
npm ERR!    at emitErrorNT (node:internal/streams/destroy:0000)
 +
npm ERR!    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
 +
npm ERR!    at processTicksAndRejections (node:internal/process/task_queues:0000)
 +
npm ERR!  FetchError: request to https://web/repository/app-services-npm/x/x/-/x
 +
svelte-3.26.11.tgz failed, reason: connect ECONNREFUSED 123/123/123/123:443
 +
npm ERR!    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/x/x/lib/ix)
 +
npm ERR!    at ClientRequest.emit (node:events:x00)
 +
npm ERR!    at TLSSocket.socketErrorListener (node:_00)
 +
npm ERR!    at TLSSocket.emit (node:events:0000)
 +
npm ERR!    at emitErrorNT (node:internal/streams/destroy:0000)
 +
npm ERR!    at emitErrorCloseNT (node:internal/streams/destroy:0000)
 +
npm ERR!    at processTicksAndRejections (node:internal/process/task_queues:0000) {
 +
npm ERR!  code: 'ECONNREFUSED',
 +
npm ERR!  errno: 'ECONNREFUSED',
 +
npm ERR!  syscall: 'connect',
 +
npm ERR!  address: '123.123.123.123',
 +
npm ERR!  port: 443,
 +
npm ERR!  type: 'system'
 +
npm ERR! }
 +
npm ERR!
 +
npm ERR! If you are behind a proxy, please make sure that the
 +
npm ERR! 'proxy' config is set properly.  See: 'npm help config'
 +
npm ERR! A complete log of this run can be found in:
 +
npm ERR!    /root/.npm/_logs/2logs
 +
[Container] 2024/02/05 08:03:48.00 Command did not exit successfully npm install exit status 1
 +
[Container] 2024/02/05 08:03:48.00 Phase complete: PRE_BUILD State: FAILED
 +
[Container] 2024/02/05 08:03:48.00 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: npm
 +
install. Reason: exit status 1
  
{{ES}}
+
== Related ==
 +
* <code>[[npm install]]</code>
 +
 
 +
 
 +
== See also ==
 +
* {{HTTPS}}
 +
 
 +
[[Category:ES]]

Latest revision as of 11:04, 8 February 2024

ECONNREFUSED: Error connection refused

{"type":"log","@timestamp":"2022-11-08T21:07:45+00:00","tags":["error","elasticsearch-service"],"pid":7,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 127.0.0.1:9200"}


{"type":"log","@timestamp":"2022-11-08T20:57:10+00:00","tags":["error","elasticsearch-service"],"pid":7,"message":"Unable to retrieve version information from Elasticsearch nodes. getaddrinfo ENOTFOUND elasticsearch"}


HTTP 13814: SOCKET ERROR: connect ECONNREFUSED ::1:61153 Error: connect ECONNREFUSED ::1:61153
   at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)

Examples[edit]

Running command npm install
npm ERR! code ECONNREFUSED
npm ERR! syscall connect
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to https://yourweb/repository/app-services-npm/x/x/-/x.tgz failed, reason: connect ECONNREFUSED 123.123.123:443
npm ERR!     at ClientRequest.<anonymous> (/usr/local/lib/x/nx/nx/x/lib/ix)
npm ERR!     at ClientRequest.emit (node:events:513:28)
npm ERR!     at TLSSocket.socketErrorListener (node:_http_client:0000
npm ERR!     at TLSSocket.emit (node:events:5:00)
npm ERR!     at emitErrorNT (node:internal/streams/destroy:0000)
npm ERR!     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:0000)
npm ERR!  FetchError: request to https://web/repository/app-services-npm/x/x/-/x 
svelte-3.26.11.tgz failed, reason: connect ECONNREFUSED 123/123/123/123:443
npm ERR!     at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/x/x/lib/ix)
npm ERR!     at ClientRequest.emit (node:events:x00)
npm ERR!     at TLSSocket.socketErrorListener (node:_00)
npm ERR!     at TLSSocket.emit (node:events:0000)
npm ERR!     at emitErrorNT (node:internal/streams/destroy:0000)
npm ERR!     at emitErrorCloseNT (node:internal/streams/destroy:0000)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:0000) {
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect',
npm ERR!   address: '123.123.123.123',
npm ERR!   port: 443,
npm ERR!   type: 'system'
npm ERR! }
npm ERR! 
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config' 
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2logs
[Container] 2024/02/05 08:03:48.00 Command did not exit successfully npm install exit status 1
[Container] 2024/02/05 08:03:48.00 Phase complete: PRE_BUILD State: FAILED
[Container] 2024/02/05 08:03:48.00 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: npm 
install. Reason: exit status 1

Related[edit]


See also[edit]

Advertising: