Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dgtlmoon opened this issue Feb 10, 2024 · 0 comments
Assignees
Labels

Comments

@dgtlmoon
Copy link
Owner

dgtlmoon commented Feb 10, 2024

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 <module>
    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
@dgtlmoon dgtlmoon self-assigned this Feb 10, 2024
@dgtlmoon dgtlmoon changed the title [bug/feature] when something else is already on the socket, the app will continue quietly. [bug/feature] when something else is already on the socket at startup, the app will continue silently.. Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant