I am getting this when I go to: localhost:9091/transmission/rpc
but I need that to work for a program I am using it with (mediafrontpage). Can I get some direction to how to solve this?
Thanks!
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.
By default, Transmission requires the session-id token to prevent csrf exploits.
If you want to disable the 409 test in order to get it to work with some other software, remove the line that says "#define REQUIRE_SESSION_ID" in libtransmission/rpc-server.c and rebuild Transmission.
Okay I have literally been trying all day to compile it and I just get error after error. Can't we just get an option for that? Is there another version I can download?
oneadvent@oneadvent-desktop:~$ sudo apt-get install libevent2-dev
[sudo] password for oneadvent:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libevent2-dev
oneadvent@oneadvent-desktop:~$ sudo apt-get install libevent-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libevent-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
oneadvent@oneadvent-desktop:~$
I just want to acces my Transmission, so why it doesnt work.
What do I have to do for it to work without compiling? Do I have to wait or what?
I read ther solution and I dont understand a thing:
"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 <-- HOW do I achieve that?
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: ...yhfa..."
I understand it's for my security... I dont necesseraly want to break this feature, I just want to understand how it work.
If you just want to use the stock web-ui with the stock transmission-daemon you should not have to compile anything yourself. My guess is you just ran into a small problem with the exact url. http://host:port/transmission/web/