Skip to content

Direct Click to transmission failing with invalid header error. #615

@famewolf

Description

@famewolf

Reporting Issues:

To ensure that a I has enough information to work with please include all of the following information.

Use proper markdown syntax to structure your post (i.e. code/log in code blocks).

Make sure you provide the following information below:

  • Version
    Latest from Feb 3rd.

  • Branch

  • Commit hash

  • Operating system
    Freenas Jail

  • Python version

  • What you did?

  • What happened?

  • What you expected?

  • How can we reproduce your issue?

  • What are your (relevant) settings?

  • Include a link to your FULL (not just a few lines!) log file that has the error. Please use Gist or Pastebin.

Close your issue when it's solved! If you found the solution yourself please comment so that others benefit from it.

Link to log:

Running transmission via it's ip and port works fine while,
When clicking on the word "transmission" in the htpc_manager display which would normally link directly to that app vs the htpc manager "front end" of it the following error occurs:

409: Conflict
Your request had an invalid session-id header.

To fix this, follow these steps:

When reading a response, get its X-Transmission-Session-Id header and remember it
Add the updated header to your outgoing requests
When you get this 409 error message, resend your request with the updated header
This requirement has been added to help prevent CSRF attacks.

X-Transmission-Session-Id: 7JSTOz5gcepVV4S3Qh4S0w8XPUL6wkG8oFBuGg7G82hiTnL8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions