rtinst icon indicating copy to clipboard operation
rtinst copied to clipboard

timeout settings in check_url function causing "Some of your Debian mirrors are down, try again later"

Open eXhumer opened this issue 2 years ago • 1 comments

I keep on getting the "Some of your Debian mirrors are down, try again later", but this is not true. I can access the URLs normally with wget -S --spider $url.

exhumer@EXHUMER-PI3BP:~ $ sudo rtinst
Debian GNU/Linux 11 (bullseye)

Checking the web sites we will need are accessible
Checking Debian mirrors
http://deb.debian.org/debian/: FAIL
http://security.debian.org/debian-security: FAIL
http://deb.debian.org/debian/: FAIL

Checking major 3rd party components
Rtorrent: FAIL
xmlrpc-c: FAIL
RuTorrent: FAIL
Autodl-irssi: FAIL

Some of your Debian mirrors are down, try again later

The real reason for the FAILs are due to the -T 3 (3 second timeout) option of wget command in rtinst.check_url and rtupdate.check_url. Removing -T 3 fixes the problem for me.

exhumer@EXHUMER-PI3BP:~ $ sudo rtinst
Debian GNU/Linux 11 (bullseye)

Checking the web sites we will need are accessible
Checking Debian mirrors
http://deb.debian.org/debian/: OK
http://security.debian.org/debian-security: OK
http://deb.debian.org/debian/: OK

Checking major 3rd party components
Rtorrent: OK
xmlrpc-c: OK
RuTorrent: OK
Autodl-irssi: OK

Will it be possible to provide some sort of option to disable the timeout while using rtinst script?

eXhumer avatar May 12 '23 01:05 eXhumer

I keep on getting the "Some of your Debian mirrors are down, try again later", but this is not true. I can access the URLs normally with wget -S --spider $url.

exhumer@EXHUMER-PI3BP:~ $ sudo rtinst
Debian GNU/Linux 11 (bullseye)

Checking the web sites we will need are accessible
Checking Debian mirrors
http://deb.debian.org/debian/: FAIL
http://security.debian.org/debian-security: FAIL
http://deb.debian.org/debian/: FAIL

Checking major 3rd party components
Rtorrent: FAIL
xmlrpc-c: FAIL
RuTorrent: FAIL
Autodl-irssi: FAIL

Some of your Debian mirrors are down, try again later

The real reason for the FAILs are due to the -T 3 (3 second timeout) option of wget command in rtinst.check_url and rtupdate.check_url. Removing -T 3 fixes the problem for me.

exhumer@EXHUMER-PI3BP:~ $ sudo rtinst
Debian GNU/Linux 11 (bullseye)

Checking the web sites we will need are accessible
Checking Debian mirrors
http://deb.debian.org/debian/: OK
http://security.debian.org/debian-security: OK
http://deb.debian.org/debian/: OK

Checking major 3rd party components
Rtorrent: OK
xmlrpc-c: OK
RuTorrent: OK
Autodl-irssi: OK

Will it be possible to provide some sort of option to disable the timeout while using rtinst script?

https://swizzin.ltd/

blixten85 avatar Nov 11 '23 07:11 blixten85