LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2021, 01:32 PM   #1
TheJooomes
Member
 
Registered: May 2019
Location: Minnesota USA
Distribution: Void Linux mainly, Debian, Ubuntu
Posts: 160

Rep: Reputation: Disabled
Several "Cannot resolve hostname" issues in Gnome Software, even though everything seems to be in working order


I'm running Debian 10 with all updates installed. This happens the first time I open Gnome Software after I leave my laptop in suspend for any significant amount of time, about more than an hour. It seems the longer I leave it in suspend, the more error messages appear. I'll try to write out a transcript of them all here.


Code:
Unable to download updates from "extensions.gnome.org":
failed to download https://extensions.gnome.org//static/extensions.json:
Cannot resolve hostname
Code:
Unable to download updates: internet access was required but wasn't available <link to Network Settings>
Code:
Unable to download firmware updates  from "fwupd":
failed to download https://cdn.fwupd.org/downloads/firmware.xml.gz.asc:
Cannot resolve hostname
Code:
Unable to download updates from "odrs.gnome.org":
failed to download https://odrs.gnome.org/1.0/reviews/api/ratings:
Cannot resolve hostname
I have a working internet connection over WiFi and both apt and flatpak seem to be perfectly healthy. Gnome Software seems to be fully functional as well. There's no "real" issue being caused, it's just really annoying having to click these away when I open Gnome Software. I'm able to ping each of these domains successfully, but the full addresses don't succeed. I have a pretty basic router and I'm the only techie in the house so I'm pretty sure there's no firewall.

So does anyone know how to get rid of these messages? Also, why is Gnome Software fully functional even though I cannot ping these specific addresses? Would someone please explain what's going on?
 
Old 05-22-2021, 07:42 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,652
Blog Entries: 28

Rep: Reputation: 5902Reputation: 5902Reputation: 5902Reputation: 5902Reputation: 5902Reputation: 5902Reputation: 5902Reputation: 5902Reputation: 5902Reputation: 5902Reputation: 5902
First, we need to find out what's happening (or, in this case, not happening). You may find this article helpful.

If it were I, the next time this happened, I would start with

Code:
ping [URL]
traceroute [URL]    
ping google.com
ping 8.8.8.8
Post the results, being careful to surround any terminal output with "code" tags which become available when you click the "Advanced" button beneath the compose/edit post window. It makes terminal output much easier to read.
 
Old 05-23-2021, 11:00 AM   #3
TheJooomes
Member
 
Registered: May 2019
Location: Minnesota USA
Distribution: Void Linux mainly, Debian, Ubuntu
Posts: 160

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
First, we need to find out what's happening (or, in this case, not happening). You may find this article helpful.

If it were I, the next time this happened, I would start with

Code:
ping [URL]
traceroute [URL]    
ping google.com
ping 8.8.8.8
Post the results, being careful to surround any terminal output with "code" tags which become available when you click the "Advanced" button beneath the compose/edit post window. It makes terminal output much easier to read.
I just picked one of the addresses to use
Code:
james@debiant440p:~$ ping https://odrs.gnome.org/1.0/reviews/api/ratings
ping: https://odrs.gnome.org/1.0/reviews/api/ratings: Name or service not known
james@debiant440p:~$ traceroute https://odrs.gnome.org/1.0/reviews/api/ratings
https://odrs.gnome.org/1.0/reviews/api/ratings: Name or service not known
Cannot handle "host" cmdline arg `https://odrs.gnome.org/1.0/reviews/api/ratings' on position 1 (argc 1)
james@debiant440p:~$ ping google.com
PING google.com (172.217.6.110) 56(84) bytes of data.
64 bytes from ord37s03-in-f14.1e100.net (172.217.6.110): icmp_seq=1 ttl=116 time=38.1 ms
64 bytes from ord37s03-in-f14.1e100.net (172.217.6.110): icmp_seq=2 ttl=116 time=39.0 ms
64 bytes from ord37s03-in-f14.1e100.net (172.217.6.110): icmp_seq=3 ttl=116 time=39.9 ms
64 bytes from ord37s03-in-f14.1e100.net (172.217.6.110): icmp_seq=4 ttl=116 time=39.7 ms
64 bytes from ord37s03-in-f14.1e100.net (172.217.6.110): icmp_seq=5 ttl=116 time=67.7 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 9ms
rtt min/avg/max/mdev = 38.110/44.859/67.658/11.418 ms
james@debiant440p:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=33.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=34.9 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=32.1 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=32.4 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=117 time=32.3 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=117 time=32.7 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=117 time=33.5 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=117 time=33.7 ms
^C
--- 8.8.8.8 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 18ms
rtt min/avg/max/mdev = 32.052/33.110/34.852/0.898 ms
james@debiant440p:~$
I cut the pings short because there was proof enough of it working. Are you able to ping the addresses that Gnome Software has issues with?
 
Old 05-23-2021, 11:56 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,119

Rep: Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336
Try just:

ping odrs.gnome.org

or

ping extensions.gnome.org
 
Old 05-23-2021, 12:01 PM   #5
TheJooomes
Member
 
Registered: May 2019
Location: Minnesota USA
Distribution: Void Linux mainly, Debian, Ubuntu
Posts: 160

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Try just:

ping odrs.gnome.org

or

ping extensions.gnome.org
I can successfully ping both.

Code:
james@Optiplex9020:~$ ping odrs.gnome.org
PING odrs.gnome.org (8.43.85.29) 56(84) bytes of data.
64 bytes from odrs.gnome.org (8.43.85.29): icmp_seq=1 ttl=53 time=51.4 ms
64 bytes from odrs.gnome.org (8.43.85.29): icmp_seq=2 ttl=53 time=52.0 ms
64 bytes from odrs.gnome.org (8.43.85.29): icmp_seq=3 ttl=53 time=58.7 ms
64 bytes from odrs.gnome.org (8.43.85.29): icmp_seq=4 ttl=53 time=51.2 ms
^C
--- odrs.gnome.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 51.227/53.345/58.706/3.109 ms
james@Optiplex9020:~$ ping extensions.gnome.org
PING extensions.gnome.org (8.43.85.29) 56(84) bytes of data.
64 bytes from odrs.gnome.org (8.43.85.29): icmp_seq=1 ttl=53 time=51.9 ms
64 bytes from odrs.gnome.org (8.43.85.29): icmp_seq=2 ttl=53 time=55.3 ms
64 bytes from odrs.gnome.org (8.43.85.29): icmp_seq=3 ttl=53 time=52.9 ms
64 bytes from odrs.gnome.org (8.43.85.29): icmp_seq=4 ttl=53 time=55.7 ms
^C
--- extensions.gnome.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 51.928/53.969/55.691/1.581 ms
james@Optiplex9020:~$
 
Old 05-23-2021, 12:47 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,119

Rep: Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336
Should probably be
https://extensions.gnome.org/static/extensions.json

At least for me all the other pages are valid but I do not know what is exactly is broken at the moment but it is all tied to the software center application. Maybe your .cache is corrupted.

Last edited by michaelk; 05-23-2021 at 12:50 PM.
 
Old 05-24-2021, 02:42 PM   #7
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,064

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by TheJooomes View Post
I can successfully ping both.
As you can see, you ping a FQDN (fully qualified domain name) and not a service. You cannot ping to http://fqdn or http://fqdn/path/to/file since that is not the way ping works.

The error messages seem to be from the fact that leaving the laptop active or in suspend then closing the lid also shuts off the network until the lid is opened and activity resumed. The network normally is active only while the system is active so unless you reconfigure so the system continues to run while the lid is closed you will continue to get the (reported) interruption in communications that is seen when first opening the software center.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How I can resolve the error Postfix? warning: hostname does not resolve to address kanzer Linux - Server 1 03-22-2013 08:56 AM
clients CAN resolve hostname of server w/nslookup, but CANNOT access by hostname WTF? psycroptic Linux - Networking 9 11-10-2012 11:24 AM
Wireless card showing no ip though everything seems ok mohitanchlia Linux - Networking 6 03-01-2011 09:04 PM
Sendmail not using FQDN in HELO even though hostname setting is correct. Jukas Linux - Server 2 04-21-2009 09:39 PM
DNS can't resolve gmail.com but can resolve everything else? TongueTied Linux - Networking 2 01-24-2006 03:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration