Skip to content

Error starting HTTP tracker: Failed to install stop signal: channel closed #592

@josecelano

Description

@josecelano

Parent issue: #582
Relates to: #588

It seems it happens the same as for the API.

$ cargo run
   Compiling torrust-tracker v3.0.0-alpha.12-develop (/home/josecelano/Documents/git/committer/me/github/torrust/torrust-tracker)
    Finished dev [optimized + debuginfo] target(s) in 6.15s
     Running `target/debug/torrust-tracker`
Loading default configuration file: `./share/default/config/tracker.development.sqlite3.toml` ...
2024-01-09T18:41:28.673861275+00:00 [torrust_tracker::bootstrap::logging][INFO] logging initialized.
2024-01-09T18:41:28.674460221+00:00 [torrust_tracker::bootstrap::jobs][INFO] TLS not enabled
thread 'tokio-runtime-worker' panicked at src/servers/signals.rs:52:25:
Failed to install stop signal: channel closed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-01-09T18:41:28.674545891+00:00 [torrust_tracker::bootstrap::jobs::health_check_api][INFO] Starting Health Check API server: http://127.0.0.1:1313
2024-01-09T18:41:28.674614050+00:00 [torrust_tracker::bootstrap::jobs::health_check_api][INFO] Torrust Health Check API server started on: http://127.0.0.1:1313
^C2024-01-09T18:41:32.832838679+00:00 [torrust_tracker][INFO] Torrust shutting down..
2024-01-09T18:41:32.832829739+00:00 [torrust_tracker::bootstrap::jobs::torrent_cleanup][INFO] Stopping torrent cleanup job..
2024-01-09T18:41:32.832855399+00:00 [torrust_tracker::servers::health_check_api::server][INFO] Stopping Torrust Health Check API server o http://127.0.0.1:1313 ...
2024-01-09T18:41:32.832936908+00:00 [torrust_tracker::bootstrap::jobs::health_check_api][INFO] Health Check API server on http://127.0.0.1:1313 stopped
Killed

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIncorrect Behavior

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions