dgtlmoon / dgtlmoon/changedetection.io

[bug/feature] when something else is already on the socket at startup, the app will continue silently..

Open
#2,177 0 comments 0 reactions 1 assignee Claimed by @dgtlmoon View on GitHub
triage
Dominant language
Python
Stars
34.1k
Forks
2k
Avg merge
23h 38m
Merged PRs (30d)
67

Description

all versions, but i see it in `0.45.14`

app should exit with error level `1`

```
Traceback (most recent call last):
File "/var/www/changedetection.io/changedetection.py", line 6, in
changedetectionio.main()
File "/var/www/changedetection.io/changedetectionio/__init__.py", line 195, in main
eventlet.wsgi.server(eventlet.listen((host, int(port)), s_type), app)
File "/var/www/changedetection.io/.venv/lib/python3.10/site-packages/eventlet/convenience.py", line 78, in listen
sock.bind(addr)
OSError: [Errno 98] Address already in use

..

2024-02-10 20:05:42.951 | DEBUG | changedetectionio.flask_app:ticker_thread_check_time_launch_checks:1640 - System env MINIMUM_SECONDS_RECHECK_TIME 20
2024-02-10 20:05:42.953 | DEBUG | changedetectionio.flask_app:ticker_thread_check_time_launch_checks:1729 - > Queued watch UUID 7f370035-2d25-44a1-be89-9b6d2e5b030a last checked at 0 queued at 1707591942.95 priority 1707591942 jitter 0.00s, 1707591942.95s since last checked
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.