Updating Transmission, cannot connect with Nginx Reverse proxy anymore?

  • Hi,


    Just ran the latest update of Transmission, and I cannot reach Transmission with my Nginx Reverse proxy setup anymore, which worked perfectly before.
    I can reach it if I go to http://192.168.1.2:9091, but if I try http://bt.lan/ or https://bt.mydomain.com I get an error: Connection Failed, Could not connect to the server.


    This is my reverse proxy for https://bt.mydomain.com



    And this is the reverse proxy for my local adress: http://bt.lan/




    You can skip the auth-parts of the first one, as that is for Organizr. And as I get the same problem with the local adress the problem is elsewhere. I haven't changed anything but updating Transmission to the latest version.


    Thank you!

  • Hello, maybe the explanation can be found in the error_log and access_log of nginx.
    I cannot see those lines in your configuration but maybe you have not touched thoses in nginx.conf. So the logs can be found at /var/logs/nginx/error.log and access.log. Maybe you can paste here the lasts lines.


    Thank you !

  • Hello, maybe the explanation can be found in the error_log and access_log of nginx.
    I cannot see those lines in your configuration but maybe you have not touched thoses in nginx.conf. So the logs can be found at /var/logs/nginx/error.log and access.log. Maybe you can paste here the lasts lines.


    Thank you !

    Code
    2018/01/15 12:49:26 [error] 1195#0: *861 connect() failed (111: Connection refused) while connecting to upstream, client: [MYIPADRESS], server: bt.lan, request: "POST /transmission/rpc HTTP/1.1", upstream: "http://127.0.0.1:9091/transmission/rpc", host: "bt.lan", referrer: "http://bt.lan/transmission/web/"

    Is what I find in error.log, the access log does not show anything weird.

  • I have now found what causes the problem.
    I have authentification disabled for Transmission RPC. But if I enable it, and go to http://bt.lan/ or https://bt.mydomain.com and enter username and password it works great. But if I disable authentification it doesn't work. Connection failed. I have not touched anything in my setup, it is exactly the same as before I updated and everything worked.


    The reason I don't have authentification on is that I use Organizr to authenticate and "lock" my services behind.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!