Probes disconnected with 'Failed to register probe' #626

Closed
opened 2026-04-05 16:21:29 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @wendellli99 on 12/5/2024

Describe the bug
Probes disconnected suddenly, likely after an update. I have tried npm update, npm stop and npm start.

Failed to register probe. Retrying after 30 seconds...
APIException [Error]: Error occurred while making request to http://ingestor:3400/probe-ingest/register.
    at Function.getErrorResponse (/usr/src/Common/Utils/API.ts:461:11)
    at Function.fetch (/usr/src/Common/Utils/API.ts:439:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async Function.post (/usr/src/Common/Utils/API.ts:329:12)
    at async Function._registerProbe (/usr/src/app/Services/Register.ts:125:48)
    at async Function.registerProbe (/usr/src/app/Services/Register.ts:102:9)
    at async runFunction (/usr/src/app/Jobs/Alive.ts:29:7)
    at async Task._execution (/usr/src/Common/Server/Utils/BasicCron.ts:24:7) {
  _code: 2,
  _error: AxiosError: getaddrinfo EAI_AGAIN ingestor
      at Function.AxiosError.from (/usr/src/Common/node_modules/axios/lib/core/AxiosError.js:92:14)
      at RedirectableRequest.handleRequestError (/usr/src/Common/node_modules/axios/lib/adapters/http.js:620:25)
      at RedirectableRequest.emit (node:events:519:28)
      at RedirectableRequest.emit (node:domain:488:12)
      at ClientRequest.eventHandlers.<computed> (/usr/src/Common/node_modules/follow-redirects/index.js:49:24)
      at ClientRequest.emit (node:events:519:28)
      at ClientRequest.emit (node:domain:488:12)
      at emitErrorEvent (node:_http_client:103:11)
      at Socket.socketErrorListener (node:_http_client:506:5)
      at Socket.emit (node:events:519:28)
      at Socket.emit (node:domain:488:12)
      at emitErrorNT (node:internal/streams/destroy:170:8)
      at emitErrorCloseNT (node:internal/streams/destroy:129:3)
      at processTicksAndRejections (node:internal/process/task_queues:90:21)
      at Axios.request (/usr/src/Common/node_modules/axios/lib/core/Axios.js:45:41)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at async Function.fetch (/usr/src/Common/Utils/API.ts:403:20)
      at async Function.post (/usr/src/Common/Utils/API.ts:329:12)
      at async Function._registerProbe (/usr/src/app/Services/Register.ts:125:48)
      at async Function.registerProbe (/usr/src/app/Services/Register.ts:102:9)
      at async runFunction (/usr/src/app/Jobs/Alive.ts:29:7)
      at async Task._execution (/usr/src/Common/Server/Utils/BasicCron.ts:24:7) {
    hostname: 'ingestor',
    syscall: 'getaddrinfo',
    code: 'EAI_AGAIN',
    errno: -3001,
    config: {
      transitional: [Object],
      adapter: [Array],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      env: [Object],
      validateStatus: [Function: validateStatus],
      headers: [Object [AxiosHeaders]],
      method: 'post',
      url: 'http://ingestor:3400/probe-ingest/register',
      data: '{"probeKey":"8A3Nuvh4JNmA37u2o4xsRHRtBhuHgfAn","probeName":"Probe-1","probeDescription":"Global","clusterKey":"yJ%2BEd3Zr7wPbHueCWqBsSrldKCUVOMqCtJmjzQaO19s%3D"}'
    },
    request: Writable {
      _events: [Object],
      _writableState: [WritableState],
      _maxListeners: undefined,
      _options: [Object],
      _ended: false,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 161,
      _requestBodyBuffers: [Array],
      _eventsCount: 3,
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [ClientRequest],
      _currentUrl: 'http://ingestor:3400/probe-ingest/register',
      [Symbol(shapeMode)]: true,
      [Symbol(kCapture)]: false
    },
    cause: Error: getaddrinfo EAI_AGAIN ingestor
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3001,
      code: 'EAI_AGAIN',
      syscall: 'getaddrinfo',
      hostname: 'ingestor'
    }
  }
}

Expected behavior
Probes should be working.

Screenshots
Screenshot 2024-12-05 at 13 33 04

Deployment Type
Self-host with docker-compose. Version 7.0.3343.

*Originally created by @wendellli99 on 12/5/2024* **Describe the bug** Probes disconnected suddenly, likely after an update. I have tried `npm update`, `npm stop` and `npm start`. ``` Failed to register probe. Retrying after 30 seconds... APIException [Error]: Error occurred while making request to http://ingestor:3400/probe-ingest/register. at Function.getErrorResponse (/usr/src/Common/Utils/API.ts:461:11) at Function.fetch (/usr/src/Common/Utils/API.ts:439:30) at processTicksAndRejections (node:internal/process/task_queues:105:5) at async Function.post (/usr/src/Common/Utils/API.ts:329:12) at async Function._registerProbe (/usr/src/app/Services/Register.ts:125:48) at async Function.registerProbe (/usr/src/app/Services/Register.ts:102:9) at async runFunction (/usr/src/app/Jobs/Alive.ts:29:7) at async Task._execution (/usr/src/Common/Server/Utils/BasicCron.ts:24:7) { _code: 2, _error: AxiosError: getaddrinfo EAI_AGAIN ingestor at Function.AxiosError.from (/usr/src/Common/node_modules/axios/lib/core/AxiosError.js:92:14) at RedirectableRequest.handleRequestError (/usr/src/Common/node_modules/axios/lib/adapters/http.js:620:25) at RedirectableRequest.emit (node:events:519:28) at RedirectableRequest.emit (node:domain:488:12) at ClientRequest.eventHandlers.<computed> (/usr/src/Common/node_modules/follow-redirects/index.js:49:24) at ClientRequest.emit (node:events:519:28) at ClientRequest.emit (node:domain:488:12) at emitErrorEvent (node:_http_client:103:11) at Socket.socketErrorListener (node:_http_client:506:5) at Socket.emit (node:events:519:28) at Socket.emit (node:domain:488:12) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at processTicksAndRejections (node:internal/process/task_queues:90:21) at Axios.request (/usr/src/Common/node_modules/axios/lib/core/Axios.js:45:41) at processTicksAndRejections (node:internal/process/task_queues:105:5) at async Function.fetch (/usr/src/Common/Utils/API.ts:403:20) at async Function.post (/usr/src/Common/Utils/API.ts:329:12) at async Function._registerProbe (/usr/src/app/Services/Register.ts:125:48) at async Function.registerProbe (/usr/src/app/Services/Register.ts:102:9) at async runFunction (/usr/src/app/Jobs/Alive.ts:29:7) at async Task._execution (/usr/src/Common/Server/Utils/BasicCron.ts:24:7) { hostname: 'ingestor', syscall: 'getaddrinfo', code: 'EAI_AGAIN', errno: -3001, config: { transitional: [Object], adapter: [Array], transformRequest: [Array], transformResponse: [Array], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: [Object], validateStatus: [Function: validateStatus], headers: [Object [AxiosHeaders]], method: 'post', url: 'http://ingestor:3400/probe-ingest/register', data: '{"probeKey":"8A3Nuvh4JNmA37u2o4xsRHRtBhuHgfAn","probeName":"Probe-1","probeDescription":"Global","clusterKey":"yJ%2BEd3Zr7wPbHueCWqBsSrldKCUVOMqCtJmjzQaO19s%3D"}' }, request: Writable { _events: [Object], _writableState: [WritableState], _maxListeners: undefined, _options: [Object], _ended: false, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 161, _requestBodyBuffers: [Array], _eventsCount: 3, _onNativeResponse: [Function (anonymous)], _currentRequest: [ClientRequest], _currentUrl: 'http://ingestor:3400/probe-ingest/register', [Symbol(shapeMode)]: true, [Symbol(kCapture)]: false }, cause: Error: getaddrinfo EAI_AGAIN ingestor at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) { errno: -3001, code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'ingestor' } } } ``` **Expected behavior** Probes should be working. **Screenshots** <img width="237" alt="Screenshot 2024-12-05 at 13 33 04" src="https://github.com/user-attachments/assets/04cfff1a-10f0-4bbc-bfa0-581117f5a821"> **Deployment Type** Self-host with docker-compose. Version 7.0.3343.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#626