Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eXhumer opened this issue May 12, 2023 · 1 comment

Comments

@eXhumer
Copy link

eXhumer commented May 12, 2023

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?

@blixten85
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants