Giter Site home page Giter Site logo

Comments (7)

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024

I fixed this issue. Thanks for your reporting :)

from torrentbox.

dausruddin avatar dausruddin commented on July 17, 2024

Thanks. But somehow now it show me Server Error (500)

from torrentbox.

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024

If you set DEBUG to True, then what is error message?

from torrentbox.

dausruddin avatar dausruddin commented on July 17, 2024

The error page is quite long. This is the first yellow part:

RuntimeError at /api/add_torrent/
invalid bencoding
Request Method: POST
Request URL:    http://xxx.xxx.xxx.xxx:8000/api/add_torrent/
Django Version: 1.8.3
Exception Type: RuntimeError
Exception Value:    
invalid bencoding
Exception Location: /home/torrent/TorrentBOX/api/views.py in add_torrent, line 39
Python Executable:  /usr/bin/python
Python Version: 2.7.6
Python Path:    
['/home/torrent/TorrentBOX',
 '/usr/local/lib/python2.7/dist-packages/pip-7.1.0-py2.7.egg',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages']
Server time:    목요일, 20 8월 2015 21:37:55 +0900

from torrentbox.

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024

I think torrent file that you used is broken or invalid. Is it valid torrent file?

from torrentbox.

dausruddin avatar dausruddin commented on July 17, 2024
http://torcache.net/torrent/5986FC0B101CB4A5958E26EF0AFD421290EA634E.torrent

I believe it is valid as it accepted by my transmission seedbox

from torrentbox.

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024

Maybe because of torcache.net site's robot detection, when I requested without user-agent I get 403 Forbidden. So I added simple user-agent and it worked. Can you check this solution works well with you?

from torrentbox.

Related Issues (9)

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.