mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
after 4 months with no issues today: This site can’t be reached anymore .... #646
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#646
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 @JchDupuy38 on GitHub (Dec 10, 2021).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
My Uptime-Kuma is running in a rancher environment with no issues for 4 months. I shutdown the server for 2 weeks and on reboot yesterday, the container runs but I cannot access the web page, error message "ERR_CONNECTION_REFUSED".
Logs show the following:
Version: 1.11.1
Creating express and socket.io instance
Server Type: HTTP
Data Dir: ./data/
Connecting to the Database
SQLite config:
[ { journal_mode: 'wal' } ]
[ { cache_size: -12000 } ]
SQLite Version: 3.36.0
Connected
Your database version: 10
Latest database version: 10
Database patch not needed
Database Patch 2.0 Process
Load JWT secret from database.
Adding route
Adding socket handler
Init the server
Trace: RangeError [ERR_SOCKET_BAD_PORT]: options.port should be >= 0 and < 65536. Received NaN.
at new NodeError (internal/errors.js:322:7)
at validatePort (internal/validators.js:216:11)
at Server.listen (net.js:1457:5)
at /app/server/server.js:1336:12 {
code: 'ERR_SOCKET_BAD_PORT'
}
at process. (/app/server/server.js:1542:13)
at process.emit (events.js:400:28)
at processPromiseRejections (internal/process/promises.js:245:33)
at processTicksAndRejections (internal/process/task_queues.js:96:32)
🐻 Uptime-Kuma Version
1.11.1
💻 Operating System and Arch
Ubuntu 20.04.3 LTS
🌐 Browser
Chrome
🐋 Docker Version
Rancher 2.4-6254-head
🟩 NodeJS Version
No
@louislam commented on GitHub (Dec 10, 2021):
Usually related to K8s, removing all auto environment variables could solve this problem. In this case, I think Rancher added
UPTIME_KUMA_PORTwithnullvalue which causes this problem.Related issue: https://github.com/louislam/uptime-kuma/issues/895