Giter Site home page Giter Site logo

can't add torrent on deluge about seedbox HOT 3 CLOSED

jfroment avatar jfroment commented on May 22, 2024
can't add torrent on deluge

from seedbox.

Comments (3)

jfroment avatar jfroment commented on May 22, 2024

Hello,

I always had this warning since the beginning when I started using deluge, it seems unrelated and without any impact.
I also have this error (cannot upload a torrent), but sometimes this bug disappears and comes back...

To mitigate this, here are two workarounds:

  • Use flood (bundled in this repository), which is just an UI on top of deluge, where adding torrent/magnets always works (and drag and drop into the UI is a real plus)
  • Enable Auto-Add torrents in deluge plugins settings, and then upload a torrent in the dedicated watched folder (via Nextcloud for example), Deluge will automatically import it.

I thought I was the only one having this precise issue since I never found anything related in recent Deluge bugtracker's issues, but I'm keeping this ticket open, so I'll try to have a deeper look into it when I can find some time.

from seedbox.

Mrmel94 avatar Mrmel94 commented on May 22, 2024

Same here I opened a ticket some months ago : #21
And I have a friend that also have the same issue, so we're using the plugin auto add torrent because flood not working same issue as in this ticket : #20

I will do the upgrade in 2.0 soon, maybe it will works in this release.. i will test and let you know

from seedbox.

jfroment avatar jfroment commented on May 22, 2024

Thanks for the feedback.

After another quick research, I found a solution which consists of adding custom headers for Deluge on Traefik (here). It was working before, so an update in Deluge must have added this requirement (but nothing in the release notes).

With the newly released seedbox v2, you can add your own routing rule for Traefik. I will incorporate the fix for Deluge in the next version (v2.0.1 I think).

So, for now the fix is the following:

  • Upgrade to v2.0 first
  • Edit the config.yaml file and disable traefik routing on deluge to avoid conflicts (traefik.enabled: false on deluge service):
    image
  • Add a deluge-rules.yaml file in the samples/custom-traefik directory with the following content:
http:
  routers:
    deluge-1:
      rule: 'Host(`deluge.{{ env "TRAEFIK_DOMAIN" }}`)'
      middlewares:
        - common-auth@file
        - redirect-to-https
        - deluge-headers
      service: deluge-1
  services:
    deluge-1:
      loadBalancer:
        servers:
          - url: "http://deluge:8112" # or "http://gluetun:8112" if you enable vpn on deluge (available since v2.0)
  middlewares:
    deluge-headers:
      headers:
        customresponseheaders:
          X-Frame-Options: sameorigin
          Content-Security-Policy: frame-ancestors https://*.{{ env "TRAEFIK_DOMAIN" }}
        customrequestheaders:
          X-Frame-Options: sameorigin
          Content-Security-Policy: frame-ancestors https://*.{{ env "TRAEFIK_DOMAIN" }}
  • Run ./run-seedbox.sh and it should work now.

As said, I will add this custom headers in a bundled middleware.
When v2.0.1 is out with the fix, you will be able to remove this custom file, re-enable traefik automatic rules on deluge, and it should work out of the box.

I'm keeping this ticket opened until 2.0.1 release and waiting for your feedback. Have a nice day.

from seedbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.