qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.75k stars 3.92k forks source link

RSS failed to load #6468

Closed daviddoji closed 7 years ago

daviddoji commented 7 years ago

Please provide the following information

qBittorrent version and Operating System:

qBittorrent 3.3.10-2, Archlinux

If on linux, libtorrent and Qt version:

Using libtorrent 0.13.6-2 Using Qt version 5.6.2

What is the problem:

Failing to load RSS feed

What is the expected behavior:

RSS feed are read and torrents are started automatically

Steps to reproduce:

Launching from CLI

Extra info(if any):

qbittorrent Failed to download RSS feed at "http://showrss.info/user/5040.rss?magnets=true&namespaces=false&name=clean&quality=null&re=null" Reason: "Remote host name has not been found (host name not valid)

sledgehammer999 commented 7 years ago

libtorrent 0.13.6-2

I doubt that is the correct version. Look the version of libtorrent-rasterbar. Also, can you test with 3.3.11?

daviddoji commented 7 years ago

sorry, my mistake. The version is 1.1.1.0. Libtorrent-rasterbar is in the newest version (1:1.1.1-6)

I'll try the newer version later and I'll let you know.

daviddoji commented 7 years ago

I'll try to build the 3.3.11 version and I got this error:

` # make cd src/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /datos/Descargas/qbittorrent-3.3.11/src/src.pro QMAKE_LRELEASE= ) && make -f Makefile

make[1]: se entra en el directorio '/datos/Descargas/qbittorrent-3.3.11/src' compiling base/bittorrent/session.cpp

base/bittorrent/session.cpp: En el constructor ‘BitTorrent::Session::Session(QObject*)’: base/bittorrent/session.cpp:334:26: error: ‘generate_fingerprint’ no es un miembro de ‘libt’ std::string peerId = libt::generate_fingerprint(PEER_ID, VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, VERSION_BUILD); ^~~~

base/bittorrent/session.cpp: En la función miembro ‘BitTorrent::SessionStatus BitTorrent::Session::status() const’: base/bittorrent/session.cpp:3030:36: aviso: ‘libtorrent::session_status libtorrent::session_handle::status() const’ is deprecated [-Wdeprecated-declarations] return m_nativeSession->status(); ^

In file included from /usr/include/libtorrent/session.hpp:53:0, from base/bittorrent/session.cpp:66: /usr/include/libtorrent/session_handle.hpp:284:18: nota: se declara aquí session_status status() const; ^~

base/bittorrent/session.cpp: En la función miembro ‘BitTorrent::CacheStatus BitTorrent::Session::cacheStatus() const’: base/bittorrent/session.cpp:3035:46: aviso: ‘libtorrent::cache_status libtorrent::session_handle::get_cache_status() const’ is deprecated [-Wdeprecated-declarations] return m_nativeSession->get_cache_status(); ^

In file included from /usr/include/libtorrent/session.hpp:53:0, from base/bittorrent/session.cpp:66: /usr/include/libtorrent/session_handle.hpp:297:16: nota: se declara aquí cache_status get_cache_status() const; ^~~~

make[1]: [Makefile:2912: session.o] Error 1 make[1]: se sale del directorio '/datos/Descargas/qbittorrent-3.3.11/src' make: [Makefile:43: sub-src-make_first] Error 2`

sledgehammer999 commented 7 years ago

Compile against libtorrent-rasterbar 1.1.2 or the 1.0.x series(recommended).

daviddoji commented 7 years ago

Tried with libtorrent-rasterbar-1_0-git and got another error:

`...
linking qbittorrent
main.o: En la función `upgradeResumeFile(QString const&, QHash<QString, QVariant> const&)':
/datos/Descargas/qbittorrent-3.3.11/src/app/upgrade.h:102: referencia a `libtorrent::bdecode_node::bdecode_node()' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/app/upgrade.h:103: referencia a `libtorrent::bdecode(char const*, char const*, libtorrent::bdecode_node&, boost::system::error_code&, int*, int, int)' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/app/upgrade.h:104: referencia a `libtorrent::bdecode_node::type() const' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/app/upgrade.h:108: referencia a `libtorrent::entry::operator=(libtorrent::bdecode_node const&)' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/app/upgrade.h:121: referencia a `libtorrent::bdecode_node::dict_find_int_value(char const*, long) const' sin definir
portforwarder.o: En la función `Net::PortForwarder::stop()':
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:137: referencia a `libtorrent::session_handle::get_settings() const' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:138: referencia a `libtorrent::settings_pack::set_bool(int, bool)' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:139: referencia a `libtorrent::settings_pack::set_bool(int, bool)' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:140: referencia a `libtorrent::session_handle::apply_settings(libtorrent::settings_pack const&)' sin definir
portforwarder.o: En la función `Net::PortForwarder::addPort(unsigned short)':
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:99: referencia a `libtorrent::session_handle::add_port_mapping(libtorrent::session_handle::protocol_type, int, int)' sin definir
portforwarder.o: En la función `Net::PortForwarder::deletePort(unsigned short)':
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:107: referencia a `libtorrent::session_handle::delete_port_mapping(int)' sin definir
portforwarder.o: En la función `Net::PortForwarder::start()':
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:119: referencia a `libtorrent::session_handle::get_settings() const' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:120: referencia a `libtorrent::settings_pack::set_bool(int, bool)' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:121: referencia a `libtorrent::settings_pack::set_bool(int, bool)' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:122: referencia a `libtorrent::session_handle::apply_settings(libtorrent::settings_pack const&)' sin definir
/datos/Descargas/qbittorrent-3.3.11/src/base/net/portforwarder.cpp:125: referencia a `libtorrent::session_handle::add_port_mapping(libtorrent::session_handle::protocol_type, int, int)' sin definir
collect2: error: ld devolvió el estado de salida 1
make[1]: *** [Makefile:965: qbittorrent] Error 1
make[1]: se sale del directorio '/datos/Descargas/qbittorrent-3.3.11/src'
make: *** [Makefile:43: sub-src-make_first] Error 2`
sledgehammer999 commented 7 years ago

I can't understand the errors due to the language, but did you try a clean build/directory?

daviddoji commented 7 years ago

A clean build directory did the trick! I have now version 3.3.11. Although rss feed are still not functional :(

fbriere commented 7 years ago

@daviddoji: Are you still affected by this bug? If so, does this apply to any RSS feed, or just this one? Could you try adding a HTTP link to a torrent file, to see if it downloads correctly? If it doesn't, could it be caused by a misconfigured proxy? (I assume regular torrent traffic is working fine in your case?)

daviddoji commented 7 years ago

@fbriere that was exactly what happened. The proxy somehow was misconfigured. Coming back to the previous values, it solved the problem.