Opened 14 years ago

Closed 14 years ago

#1481 closed bug (Fixed)

Unable to add a torrent trough web UI

Reported by: skolima Owned by: Damien Churchill
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 by Calum, 14 years ago

Component: otherwebui
Owner: set to Damien Churchill
Priority: majorminor
Type: defectbug

comment:2 by Calum, 14 years ago

Milestone: Future1.3.x

comment:3 by Damien Churchill, 14 years ago

What operating system is the server running on?

comment:4 by skolima, 14 years ago

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 by skolima, 14 years ago

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 by Damien Churchill, 14 years ago

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 by skolima, 14 years ago

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

comment:8 by Damien Churchill, 14 years ago

Milestone: 1.3.x1.3.2
Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.