Please use a different test URL for Internet connection check

Post your bugs here.
vacnt
Posts: 30
Joined: 23 Oct 2014 19:24

Please use a different test URL for Internet connection check

Postby vacnt » 20 Dec 2017 04:51

The test URL used by

Code: Select all

/usr/lib/solydxk/system/utils.py
/usr/lib/solydxk/welcome/utils.py
is google, but google is unreachable in some places. Please use a different URL, I think for repository related actions it'd make more sense to use one of the URLs in

Code: Select all

/etc/apt/sources.list
Currently the script throws an exception and crashes the process, would it be better to catch the exception and handle it gracefully and show the stack trace in a scrollable text box instead of a large popup box that goes off the screen like below? The OS installation script is also affected.
connection_exception.png

User avatar
ilu
Posts: 2294
Joined: 09 Oct 2013 12:45

Re: Please use a different test URL for Internet connection check

Postby ilu » 20 Dec 2017 07:08

Huh, I never saw that. Please use something else. I wouldn't want to connect to google, ever.

kurotsugi
Posts: 2174
Joined: 09 Jan 2014 00:17

Re: Please use a different test URL for Internet connection check

Postby kurotsugi » 20 Dec 2017 07:35

google was used in assumption that the server never dies and always reachable. the test is only a ping test so there's no privacy concern about it. though, if you can propose something better than google then I think the team will gladly consider it. please note that as mentioned earlier, the URL test should be always reachable and never dies. our server sometimes got maintainance so it won't be ideal.

how about using debian? deb.debian.org?

User avatar
Arjen Balfoort
Site Admin
Posts: 9110
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Please use a different test URL for Internet connection check

Postby Arjen Balfoort » 20 Dec 2017 09:24

Indeed, I'm using that server to ping. Nothing scary about that.
However, I'm now testing code that uses the first not commented line in /etc/apt/sources.list as this is what I'm usually using in the tools I develop. As a last resort I'll use the Google server.


SolydXK needs you!
Development | Testing | Translations

vacnt
Posts: 30
Joined: 23 Oct 2014 19:24

Re: Please use a different test URL for Internet connection check

Postby vacnt » 20 Dec 2017 10:30

Schoelje wrote:Indeed, I'm using that server to ping. Nothing scary about that.
However, I'm now testing code that uses the first not commented line in /etc/apt/sources.list as this is what I'm usually using in the tools I develop. As a last resort I'll use the Google server.
What about a less problematic/controversial site like wikipedia.org as a last resort? Otherwise the above problem would still occur should the repository server fail temporarily.

User avatar
Arjen Balfoort
Site Admin
Posts: 9110
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Please use a different test URL for Internet connection check

Postby Arjen Balfoort » 21 Dec 2017 18:18

I've updated these packages:
live-installer-3
solydxk-system
solydxk-welcome

Nightlies were updated with these packages.


SolydXK needs you!
Development | Testing | Translations


Return to “Bug Control”

Who is online

Users browsing this forum: No registered users and 6 guests