Opened 10 years ago

Closed 10 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:

Description

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: https://my.address.com/deluge/js/deluge-all.js

Firefox failure message:

Error: this.torrents[a] is undefined Source file: https://my.address.com/deluge/js/deluge-all.js Line: 448

Change History (8)

comment:1 Changed 10 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 10 years ago by Cas

  • Milestone changed from Future to 1.3.x

comment:3 Changed 10 years ago by damoxc

What operating system is the server running on?

comment:4 Changed 10 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

</Location>

<Proxy *>

Order deny,allow Allow from all

</Proxy>

ProxyPass? /deluge http://127.0.0.1:8112 ProxyPassReverse? /deluge http://127.0.0.1:8112 ProxyPassReverseCookieDomain? 127.0.0.1 localhost ProxyPassReverseCookiePath? / /deluge/

comment:5 Changed 10 years ago by skolima

Once more without wiki markup:

ProxyRequests Off

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

<Proxy *>
   Order deny,allow
   Allow from all
</Proxy>

ProxyPass /deluge http://127.0.0.1:8112
ProxyPassReverse /deluge http://127.0.0.1:8112
ProxyPassReverseCookieDomain 127.0.0.1 localhost
ProxyPassReverseCookiePath / /deluge/

comment:6 Changed 10 years ago by damoxc

Are you able to install Deluge from source? If you can could you try installing: http://git.deluge-torrent.org/deluge/snapshot/deluge-fe9fe7977ca07dc4d432be4223ffe07a2330f4b3.tar.gz

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 10 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 10 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.