mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Cannot execute a check from the Uptime Kuma container to my MySql container #2154
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#2154
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @reddwarf666 on GitHub (Apr 30, 2023).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
MySql check fails when Uptime Kuma tries to connect to the MySql instance
Some info:
So what I try to achieve is a MySql monitor from container "uptime-kuma" to container "mc_mysql".
I see no obvious reason that the exact same test from my laptop works but on the same server the check fails.
📝 Error Message(s) or Log
==> Performing startup jobs and maintenance tasks
==> Starting application with user 0 group 0
Welcome to Uptime Kuma
Your Node.js version: 16
2023-04-30T15:16:31Z [SERVER] INFO: Welcome to Uptime Kuma
2023-04-30T15:16:31Z [SERVER] INFO: Node Env: production
2023-04-30T15:16:31Z [SERVER] INFO: Importing Node libraries
2023-04-30T15:16:31Z [SERVER] INFO: Importing 3rd-party libraries
2023-04-30T15:16:37Z [SERVER] INFO: Creating express and socket.io instance
2023-04-30T15:16:37Z [SERVER] INFO: Server Type: HTTP
2023-04-30T15:16:37Z [SERVER] INFO: Importing this project modules
2023-04-30T15:16:37Z [NOTIFICATION] INFO: Prepare Notification Providers
2023-04-30T15:16:37Z [SERVER] INFO: Version: 1.21.2
2023-04-30T15:16:38Z [DB] INFO: Data Dir: ./data/
2023-04-30T15:16:38Z [SERVER] INFO: Connecting to the Database
2023-04-30T15:16:38Z [DB] INFO: SQLite config:
[ { journal_mode: 'wal' } ]
[ { cache_size: -12000 } ]
2023-04-30T15:16:38Z [DB] INFO: SQLite Version: 3.41.1
2023-04-30T15:16:38Z [SERVER] INFO: Connected
2023-04-30T15:16:38Z [DB] INFO: Your database version: 10
2023-04-30T15:16:38Z [DB] INFO: Latest database version: 10
2023-04-30T15:16:38Z [DB] INFO: Database patch not needed
2023-04-30T15:16:38Z [DB] INFO: Database Patch 2.0 Process
2023-04-30T15:16:38Z [SERVER] INFO: Load JWT secret from database.
2023-04-30T17:16:38+02:00 [SERVER] INFO: Adding route
2023-04-30T17:16:39+02:00 [SERVER] INFO: Adding socket handler
2023-04-30T17:16:39+02:00 [SERVER] INFO: Init the server
2023-04-30T17:16:39+02:00 [SERVER] INFO: Listening on 3001
2023-04-30T17:16:40+02:00 [AUTH] INFO: Login by token. IP=192.168.2.39
2023-04-30T17:16:40+02:00 [AUTH] INFO: Username from JWT: steven
2023-04-30T17:16:40+02:00 [AUTH] INFO: Successfully logged in user steven. IP=192.168.2.39
2023-04-30T17:16:44+02:00 [MANAGE] INFO: Pause Monitor: 1 User ID: 1
2023-04-30T17:16:45+02:00 [MONITOR] INFO: Get Monitor: 1 User ID: 1
2023-04-30T17:16:49+02:00 [MONITOR] INFO: Get Monitor: 1 User ID: 1
2023-04-30T17:16:53+02:00 [MANAGE] INFO: Resume Monitor: 1 User ID: 1
2023-04-30T17:16:59+02:00 [AUTH] INFO: Login by token. IP=192.168.2.39
2023-04-30T17:16:59+02:00 [AUTH] INFO: Username from JWT: steven
2023-04-30T17:16:59+02:00 [AUTH] INFO: Successfully logged in user steven. IP=192.168.2.39
2023-04-30T17:25:14+02:00 [AUTH] INFO: Login by token. IP=192.168.2.39
2023-04-30T17:25:14+02:00 [AUTH] INFO: Username from JWT: steven
2023-04-30T17:25:14+02:00 [AUTH] INFO: Successfully logged in user steven. IP=192.168.2.39
2023-04-30T17:25:19+02:00 [MONITOR] INFO: Get Monitor: 1 User ID: 1
2023-04-30T17:25:31+02:00 [MANAGE] INFO: Delete Monitor: 1 User ID: 1
2023-04-30T17:25:33+02:00 [AUTH] INFO: Login by token. IP=192.168.2.39
2023-04-30T17:25:33+02:00 [AUTH] INFO: Username from JWT: steven
2023-04-30T17:25:33+02:00 [AUTH] INFO: Successfully logged in user steven. IP=192.168.2.39
2023-04-30T17:26:15+02:00 [MANAGE] INFO: Resume Monitor: 2 User ID: 1
2023-04-30T17:26:15+02:00 [MONITOR] INFO: Added Monitor: undefined User ID: 1
2023-04-30T17:26:28+02:00 [MANAGE] INFO: Pause Monitor: 2 User ID: 1
2023-04-30T17:26:34+02:00 [AUTH] INFO: Login by token. IP=192.168.2.39
2023-04-30T17:26:34+02:00 [AUTH] INFO: Username from JWT: steven
2023-04-30T17:26:34+02:00 [AUTH] INFO: Successfully logged in user steven. IP=192.168.2.39
2023-04-30T17:32:28+02:00 [MANAGE] INFO: Delete Monitor: 2 User ID: 1
2023-04-30T17:33:46+02:00 [MANAGE] INFO: Resume Monitor: 3 User ID: 1
2023-04-30T17:33:46+02:00 [MONITOR] INFO: Added Monitor: undefined User ID: 1
2023-04-30T17:34:16+02:00 [MONITOR] INFO: Get Monitor: 3 User ID: 1
2023-04-30T17:34:30+02:00 [MANAGE] INFO: Resume Monitor: 3 User ID: 1
2023-04-30T17:34:30+02:00 [MONITOR] INFO: Get Monitor: 3 User ID: 1
2023-04-30T17:16:39+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:16:53+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:17:13+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:17:33+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:17:53+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:18:13+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:18:33+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:18:53+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:19:13+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:19:33+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:19:53+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:20:13+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:20:33+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:20:53+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:21:13+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:21:33+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:21:54+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:22:14+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:22:34+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:22:54+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:23:14+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:23:34+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:23:54+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:24:14+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:24:34+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:24:54+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:25:14+02:00 [MONITOR] WARN: Monitor #1 'Uptime-Kuma': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
AxiosError: connect ENOENT /var/run/docker.sock
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
address: '/var/run/docker.sock',
syscall: 'connect',
code: 'ENOENT',
errno: -2,
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function] },
validateStatus: [Function: validateStatus],
headers: { Accept: '/', 'User-Agent': 'Uptime-Kuma/1.21.2' },
url: '/containers/json?all=true',
httpsAgent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype],
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
maxCachedSessions: 0,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
socketPath: '/var/run/docker.sock',
method: 'get',
data: undefined
},
request: <ref 1> Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError],
socket: [Function: handleRequestSocket]
},
_eventsCount: 3,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'http:',
path: '/containers/json?all=true',
method: 'GET',
headers: [Object],
agent: undefined,
agents: [Object],
auth: undefined,
socketPath: '/var/run/docker.sock',
nativeProtocols: [Object],
hostname: '::1',
pathname: '/containers/json',
search: '?all=true'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [Socket],
_header: 'GET /containers/json?all=true HTTP/1.1\r\n' +
'Accept: /\r\n' +
'User-Agent: Uptime-Kuma/1.21.2\r\n' +
'Host: [::1]\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: '/var/run/docker.sock',
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/containers/json?all=true',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '::1',
protocol: 'http:',
_redirectable: [Circular 1],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kEndCalled)]: true,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'http://[::1]/containers/json?all=true',
[Symbol(kCapture)]: false
}
}
AxiosError: connect ENOENT /var/run/docker.sock
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
address: '/var/run/docker.sock',
syscall: 'connect',
code: 'ENOENT',
errno: -2,
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function] },
validateStatus: [Function: validateStatus],
headers: { Accept: '/', 'User-Agent': 'Uptime-Kuma/1.21.2' },
url: '/containers/json?all=true',
httpsAgent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype],
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
maxCachedSessions: 0,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
socketPath: '/var/run/docker.sock',
method: 'get',
data: undefined
},
request: <ref 1> Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError],
socket: [Function: handleRequestSocket]
},
_eventsCount: 3,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'http:',
path: '/containers/json?all=true',
method: 'GET',
headers: [Object],
agent: undefined,
agents: [Object],
auth: undefined,
socketPath: '/var/run/docker.sock',
nativeProtocols: [Object],
hostname: '::1',
pathname: '/containers/json',
search: '?all=true'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [Socket],
_header: 'GET /containers/json?all=true HTTP/1.1\r\n' +
'Accept: /\r\n' +
'User-Agent: Uptime-Kuma/1.21.2\r\n' +
'Host: [::1]\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: '/var/run/docker.sock',
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/containers/json?all=true',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '::1',
protocol: 'http:',
_redirectable: [Circular 1],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kEndCalled)]: true,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'http://[::1]/containers/json?all=true',
[Symbol(kCapture)]: false
}
}
AxiosError: connect ENOENT https://localhost:2376
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
address: 'https://localhost:2376',
syscall: 'connect',
code: 'ENOENT',
errno: -2,
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function] },
validateStatus: [Function: validateStatus],
headers: { Accept: '/', 'User-Agent': 'Uptime-Kuma/1.21.2' },
url: '/containers/json?all=true',
httpsAgent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype],
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
maxCachedSessions: 0,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
socketPath: 'https://localhost:2376',
method: 'get',
data: undefined
},
request: <ref 1> Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError],
socket: [Function: handleRequestSocket]
},
_eventsCount: 3,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'http:',
path: '/containers/json?all=true',
method: 'GET',
headers: [Object],
agent: undefined,
agents: [Object],
auth: undefined,
socketPath: 'https://localhost:2376',
nativeProtocols: [Object],
hostname: '::1',
pathname: '/containers/json',
search: '?all=true'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [Socket],
_header: 'GET /containers/json?all=true HTTP/1.1\r\n' +
'Accept: /\r\n' +
'User-Agent: Uptime-Kuma/1.21.2\r\n' +
'Host: [::1]\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: 'https://localhost:2376',
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/containers/json?all=true',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '::1',
protocol: 'http:',
_redirectable: [Circular 1],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kEndCalled)]: true,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'http://[::1]/containers/json?all=true',
[Symbol(kCapture)]: false
}
}
AxiosError: connect ENOENT https://localhost:2375
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
address: 'https://localhost:2375',
syscall: 'connect',
code: 'ENOENT',
errno: -2,
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function] },
validateStatus: [Function: validateStatus],
headers: { Accept: '/', 'User-Agent': 'Uptime-Kuma/1.21.2' },
url: '/containers/json?all=true',
httpsAgent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype],
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
maxCachedSessions: 0,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
socketPath: 'https://localhost:2375',
method: 'get',
data: undefined
},
request: <ref *1> Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError],
socket: [Function: handleRequestSocket]
},
_eventsCount: 3,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'http:',
path: '/containers/json?all=true',
method: 'GET',
headers: [Object],
agent: undefined,
agents: [Object],
auth: undefined,
socketPath: 'https://localhost:2375',
nativeProtocols: [Object],
hostname: '::1',
pathname: '/containers/json',
search: '?all=true'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [Socket],
_header: 'GET /containers/json?all=true HTTP/1.1\r\n' +
'Accept: /\r\n' +
'User-Agent: Uptime-Kuma/1.21.2\r\n' +
'Host: [::1]\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: 'https://localhost:2375',
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/containers/json?all=true',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '::1',
protocol: 'http:',
_redirectable: [Circular *1],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kEndCalled)]: true,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'http://[::1]/containers/json?all=true',
[Symbol(kCapture)]: false
}
}
2023-04-30T17:33:46+02:00 [MONITOR] WARN: Monitor #3 'MySql': Pending: connect ECONNREFUSED 127.0.0.1:3306 | Max retries: 1 | Retry: 1 | Retry Interval: 20 seconds | Type: mysql
2023-04-30T17:34:06+02:00 [MONITOR] WARN: Monitor #3 'MySql': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:34:26+02:00 [MONITOR] WARN: Monitor #3 'MySql': Failing: connect ECONNREFUSED 127.0.0.1:3306 | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:34:40+02:00 [MONITOR] WARN: Monitor #3 'MySql': Pending: connect ETIMEDOUT | Max retries: 1 | Retry: 1 | Retry Interval: 20 seconds | Type: mysql
2023-04-30T17:35:10+02:00 [MONITOR] WARN: Monitor #3 'MySql': Failing: connect ETIMEDOUT | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:35:40+02:00 [MONITOR] WARN: Monitor #3 'MySql': Failing: connect ETIMEDOUT | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
2023-04-30T17:36:10+02:00 [MONITOR] WARN: Monitor #3 'MySql': Failing: connect ETIMEDOUT | Interval: 20 seconds | Type: mysql | Down Count: 0 | Resend Interval: 0
🐻 Uptime-Kuma Version
1.21.2
💻 Operating System and Arch
Alpine AMD64
🌐 Browser
Chrome 112.0.5615.137
🐋 Docker Version
20.10.24
🟩 NodeJS Version
No response
@github-actions[bot] commented on GitHub (Jul 29, 2023):
We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.
@github-actions[bot] commented on GitHub (Jul 31, 2023):
This issue was closed because it has been stalled for 2 days with no activity.