RPC proxy

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
Post Reply
Motherjoker
Posts: 2
Joined: Tue Jun 03, 2014 2:03 pm

RPC proxy

Post by Motherjoker »

Hi
I've successfully installed transmission on my openwrt router
I proxied everything on port 443 with lighttpd proxy

Code: Select all

$SERVER["socket"] == ":443" {
  ssl.engine = "enable"
  ssl.pemfile = "pemfile.pem"
  ssl.ca-file = "cafile.crt"
  ssl.honor-cipher-order = "enable"
  ssl.cipher-list = "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-RC4-SHA:ECDHE-RSA-RC4-SHA:ECDH-ECDSA-RC4-SHA:ECDH-RSA-RC4-SHA:ECDHE-RSA-AES256-SHA:RC4-SHA"
}

Code: Select all

$HTTP["scheme"] == "http" {
    $HTTP["host"] =~ ".*" {
        url.redirect = (".*" => "https://%0$0")
    }
}

Code: Select all

$HTTP["url"] =~ "^/transmission/web/" {
    server.document-root = "/opt/usr/share/"
    expire.url = ( "" => "access 1 hours" )
} else $HTTP["url"] =~ "^/transmission/(rpc|upload)" {
    proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => 9091 ) ) )
}
Everything works fine, but if I try to upload a torrent from transmission-remote-gtk, it gaves me a 417 HTTP error
Uploading torrents from web interface works perfectly
What can I do?

Thanks!

UPDATE:
Settings upload (like speed limit) doesn't work too (error 417)
Motherjoker
Posts: 2
Joined: Tue Jun 03, 2014 2:03 pm

Re: RPC proxy

Post by Motherjoker »

With another remote GUI (transmission-remote-gui) it works perfectly, so it is a transmission-remote-gtk bug
Post Reply