Opened 13 years ago

Closed 13 years ago

#1481 closed bug (Fixed)

Unable to add a torrent trough web UI

Reported by: skolima Owned by: damoxc
Priority: minor Milestone: 1.3.2
Component: Web UI Version: 1.3.1
Keywords: Cc:


I am unable to add a torrent to deluge through the Web UI, I have to use the command line or the GTK client. I have apache proxying setup so that Deluge works in /deluge/ path on the same port that Apache uses. When I try to add a torrent from Firefox (3.6 or 4), upload file does not work, only getting the file from url. In IE both modes work, but both browsers fail when I try to start the actual transfer.

IE failure message:

Message: 'this.torrents[...].filename' is null or not an object Line: 448 Char: 849 Code: 0 URI:

Firefox failure message:

Error: this.torrents[a] is undefined Source file: Line: 448

Change History (8)

comment:1 Changed 13 years ago by Cas

  • Component changed from other to webui
  • Owner set to damoxc
  • Priority changed from major to minor
  • Type changed from defect to bug

comment:2 Changed 13 years ago by Cas

  • Milestone changed from Future to 1.3.x

comment:3 Changed 13 years ago by damoxc

What operating system is the server running on?

comment:4 Changed 13 years ago by skolima

Linux [redacted] 2.6.36-gentoo-r5 #1 SMP Wed Dec 29 12:57:50 CET 2010 i686 Intel(R) Atom(TM) CPU 330 @ 1.60GHz GenuineIntel? GNU/Linux

Apache 2.2.17 configuration:

ProxyRequests? Off

<Location /deluge>

RequestHeader? append X-Deluge-Base "/deluge/" SSLRequireSSL AuthType? Basic AuthName? "[redacted]" AuthUserFile? /var/www/localhost/www.access Require valid-user


<Proxy *>

Order deny,allow Allow from all


ProxyPass? /deluge ProxyPassReverse? /deluge ProxyPassReverseCookieDomain? localhost ProxyPassReverseCookiePath? / /deluge/

comment:5 Changed 13 years ago by skolima

Once more without wiki markup:

ProxyRequests Off

<Location /deluge>
   RequestHeader append X-Deluge-Base "/deluge/"
   AuthType Basic
   AuthName ""
   AuthUserFile /var/www/localhost/www.access
   Require valid-user

<Proxy *>
   Order deny,allow
   Allow from all

ProxyPass /deluge
ProxyPassReverse /deluge
ProxyPassReverseCookieDomain localhost
ProxyPassReverseCookiePath / /deluge/

comment:6 Changed 13 years ago by damoxc

Are you able to install Deluge from source? If you can could you try installing:

I committed some fixes last night related to reverse proxying and I was just able to add a torrent via file upload through my reverse proxy setup (I'm using nginx though).

comment:7 Changed 13 years ago by skolima

With the version you have linked I am able to correctly add a torrent and the transfer starts as it should.

comment:8 Changed 13 years ago by damoxc

  • Milestone changed from 1.3.x to 1.3.2
  • Resolution set to fixed
  • Status changed from new to closed

Excellent, I'll mark this as fixed then. Thanks for testing!

Note: See TracTickets for help on using tickets.