Skip to content

Suffix /announce is stripped from tracker url #811

@wichtfx

Description

@wichtfx

For some reason, the suffix /announce is stripped from the tracker url when uploading a torrent.
My workflow is the following:

  1. create a torrent with the /announce suffix
  2. upload the torrent to torrust-index
  3. the created torrent has an auth key as expected
  4. the tracker url in the torrent has no /announce suffix
  5. any client cannot connect to the tracker
  6. if manually adding the /announce suffix the client can contact the tracker....

Here below is my config.toml:

[website]
name = "Torrust"

[metadata]
app = "torrust-index"
purpose = "configuration"
schema_version = "2.0.0"

[logging]
#threshold = "off"
#threshold = "error"
#threshold = "warn"
threshold = "info"
#threshold = "debug"
#threshold = "trace"

[tracker]
token = "redacted"
listed = false
private = true
api_url = "example.com:1212"
url = "example.com:7070"

[auth]
user_claim_token_pepper = "redacted"

[database]
connect_url = "sqlite:///var/lib/torrust/index/database/sqlite3.db?mode=rwc"

[mail.smtp]
port = 1025
server = "mailcatcher"

[registration]
[registration.email]

[tracker_statistics_importer]
torrent_info_update_interval = 3600
port = 3002

Thanks for the help

Metadata

Metadata

Assignees

Labels

BugIncorrect BehaviorHigh PriorityFocus Required

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions