Skip to content

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

@eXhumer

Description

@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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions