Hellowlol / HTPC-Manager

A fully responsive interface to manage all your favorite software on your Htpc.
MIT License
344 stars 48 forks source link

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

Open famewolf opened 4 years ago

famewolf commented 4 years ago

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:

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

MichaIng commented 3 years ago

Could you reopen the issue at the new maintained repository, please: https://github.com/HTPC-Manager/HTPC-Manager/issues

NB: It is a Python 3 migration, so if you want to use it, you likely need to adjust your startup scripts/services accordingly 😉.