Skip to content

[BUG] Torznab #34

Closed
Closed

Description

@Dim145

🐛 Bug Description

I am unable to identify myself with the API key for calls to the torznab API.
I get the following error:

{
  "error": true,
  "url": "http://opentracker-app:3000/api/torznab?apikey=xxxxxxx",
  "statusCode": 401,
  "statusMessage": "Server Error",
  "message": "Incorrect user credentials",
  "data": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<error code=\"100\" description=\"Incorrect user credentials\"/>"
}

🖥️ Environment

  • Browser (if applicable): curl
  • Trackarr Version: 0.5.2
  • Docker Version: 27.1.2

Activity

  1. Dim145 commented on Jan 8, 2026

    @Dim145
    ContributorAuthor

    This comes from checking the size of the passkey.
    The size should be 40 characters according to the regex, but mine is only 32...
    Is this normal?

  2. florianjs commented on Jan 8, 2026

    @florianjs
    Owner

    I'm making changes to accept also 32 passkey, but there is also another issue with Prowlarr :
    Prowlarr sends HEAD request, not curl request and Nitro handles curls and HEAD resquest differently.

    I'm on it

  3. florianjs commented on Jan 8, 2026

    @florianjs
    Owner

    Got it.

    2026-01-08 16:19:50.0|Trace|IndexerHttpClient|Res: HTTP/2.0 [GET] https://tracker.xxxx.xxx/api/torznab/api?t=caps&apikey=(removed) 302.Found (97 bytes) (148 ms)

    Prowlarr automatically append /api at the end of the url...

  4. florianjs commented on Jan 8, 2026

    @florianjs
    Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions