web interface fails on load

Bug #1744696 reported by Richard C
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
transmission (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Upstream issue report (fixed in upstream version 2.92) https://github.com/transmission/transmission/issues/476

I am unable to connect to the remote web UI, or use any other remote control application. Transmission itself works, but I can't control it except by ssh-ing into the machine its running on with transmission-remote.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: transmission 2.84-3ubuntu3.1
ProcVersionSignature: Ubuntu 4.4.0-109.132-generic 4.4.98
Uname: Linux 4.4.0-109-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Mon Jan 22 21:57:36 2018
Dependencies: transmission-common 2.84-3ubuntu3.1
InstallationDate: Installed on 2013-06-24 (1673 days ago)
InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: transmission
UpgradeStatus: Upgraded to xenial on 2017-02-05 (351 days ago)

Revision history for this message
Richard C (richard-c) wrote :
Revision history for this message
Leonidas S. Barbosa (leosilvab) wrote :

Hi,

I couldn't reproduce your issue in xenial using the same settings.json from git url. I can access the web ui with no msg or error and also upload a torrent file normally.

RPC page gives me this:

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: T1lMgv8HPeGmqojuDnzC9sC2ujyxUssUDIUF8FuicbVP4Ahj

Can you provide more details about your settings/environment.
Here are the steps I followed to try to reproduce:

1) I upgrade my transmission and transmission-daemon to 2.84-3ubuntu3.1
2) sudo systemctl stop transmission-daemon.service
3) copy and paste settings.json from git url into /etc/transmission/settings.json
4) sudo systemctl start transmission-daemon.service
5) Open a url for transmission webui in another host.

Let me know if I miss something.

Revision history for this message
Richard C (richard-c) wrote :

Hi Leonid,

thanks for quick response, and sorry for my tardy reply (I had to fix a more pressing issue first).

I went looking for the settings.json file you mention (for reference, I'm using https://anonscm.debian.org/cgit/collab-maint/transmission.git/tree/debian/settings.json?id=refs/heads/master ).

Using the content there, I was able to trace the issue - my ancient config file didn't require the (now compulsory, I think) authentication. Regardless, it's now working.

Please close this bug; thanks for your help.

Richarrd

Richard C (richard-c)
Changed in transmission (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.