(In reply to rex from comment #13)

> Created attachment 9034842
> log.txt-main.9860
> 
> Aha! I started the log right before attempting to connect to CNN.com, 
> received the "can't connect to the server" page, and stopped logging.


Thank you.

Looks like your local resolver has an issue:

```
2019-01-07 22:07:23.681 ⁃ nsHttpChannel ⁃ 7f7450f0a800 ⁃ finished ⁃ 
status=804b001e ⁃ http-status=n/a ⁃ url=https://www.cnn.com/
2019-01-07 22:07:23.691 ⁃ nsSocketTransport ⁃ 7f74521a4c00 ⁃ released ⁃ 
origin=www.cnn.com:443
2019-01-07 22:07:23.691473 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport creating nsSocketTransport @0x7f74521a4c00
2019-01-07 22:07:23.691482 UTC - [Parent 9860: Socket Thread]: 
E/nsSocketTransport nsSocketTransport::Init [this=0x7f74521a4c00 
host=www.cnn.com:443 origin=www.cnn.com:443 proxy=:0]
2019-01-07 22:07:23.691500 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport nsSocketTransport::SetConnectionFlags 0x7f74521a4c00 flags=0
  flags = 0
2019-01-07 22:07:23.691525 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport nsSocketTransport::OpenOutputStream [this=0x7f74521a4c00 
flags=2]
2019-01-07 22:07:23.691533 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport nsSocketTransport::PostEvent [this=0x7f74521a4c00 type=0 
status=0 param=(nil)]
2019-01-07 22:07:23.691557 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport nsSocketTransport::OpenInputStream [this=0x7f74521a4c00 
flags=2]
2019-01-07 22:07:23.691565 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport nsSocketTransport::PostEvent [this=0x7f74521a4c00 type=0 
status=0 param=(nil)]
nsHalfOpenSocket @7f7454d67ae0 --> nsSocketTransport @7f74521a4c00
2019-01-07 22:07:23.692309 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport nsSocketTransport::OnSocketEvent [this=0x7f74521a4c00 
type=0 status=0 param=(nil)]
2019-01-07 22:07:23.692324 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport nsSocketTransport::ResolveHost [this=0x7f74521a4c00 
www.cnn.com:443]
2019-01-07 22:07:23.692335 UTC - [Parent 9860: Socket Thread]: 
E/nsSocketTransport nsSocketTransport::SendStatus [this=0x7f74521a4c00 
status=804b0003]
  804b0003 = STATUS_RESOLVING
2019-01-07 22:07:23.692 ⁃ nsHostResolver ⁃ log.txt-main!nsHostResolver::service 
⁃ service
2019-01-07 22:07:23.692387 UTC - [Parent 9860: Socket Thread]: D/nsHostResolver 
Resolving host [www.cnn.com] type 0. [this=0x7f748678ceb0]
2019-01-07 22:07:23.692414 UTC - [Parent 9860: Socket Thread]: D/nsHostResolver 
  No usable record in cache for host [www.cnn.com] type 0.
2019-01-07 22:07:23.692460 UTC - [Parent 9860: Socket Thread]: D/nsHostResolver 
  DNS thread counters: total=2 any-live=0 idle=2 pending=1
2019-01-07 22:07:23.692484 UTC - [Parent 9860: Socket Thread]: D/nsHostResolver 
  DNS lookup for host [www.cnn.com] blocking pending 'getaddrinfo' or trr 
query: callback [0x7f7454e6b700]
2019-01-07 22:07:23.692506 UTC - [Parent 9860: DNS Resolver #2]: 
E/nsHostResolver DNS lookup thread - Calling getaddrinfo for host [www.cnn.com].
2019-01-07 22:07:23.692511 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport nsSocketTransport::OnSocketEvent [this=0x7f74521a4c00 
type=0 status=0 param=(nil)]
2019-01-07 22:07:23.692641 UTC - [Parent 9860: DNS Resolver #2]: 
D/nsHostResolver Calling 'res_ninit'.
2019-01-07 22:07:23.692738 UTC - [Parent 9860: DNS Resolver #2]: 
E/nsHostResolver DNS lookup thread - lookup completed for host [www.cnn.com]: 
failure: unknown host.
2019-01-07 22:07:23.692771 UTC - [Parent 9860: DNS Resolver #2]: 
D/nsHostResolver nsHostResolver::CompleteLookup www.cnn.com (nil) 804B001E 
trr=0 stillResolving=0
2019-01-07 22:07:23.692822 UTC - [Parent 9860: DNS Resolver #2]: 
D/nsHostResolver nsHostResolver record 0x7f7466ac4580 new gencnt
2019-01-07 22:07:23.692849 UTC - [Parent 9860: DNS Resolver #2]: 
D/nsHostResolver Caching host [www.cnn.com] negative record for 60 seconds.
2019-01-07 22:07:23.692903 UTC - [Parent 9860: DNS Resolver #2]: 
D/nsHostResolver CompleteLookup: www.cnn.com has NO address
2019-01-07 22:07:23.692939 UTC - [Parent 9860: DNS Resolver #2]: 
D/nsHostResolver nsHostResolver record 0x7f7466ac4580 calling back dns users
2019-01-07 22:07:23.693519 UTC - [Parent 9860: Socket Thread]: 
D/nsSocketTransport nsSocketTransport::OnLookupComplete: this=0x7f74521a4c00 
status 804b001e.
```


I can see "DNS lookup thread - lookup completed for host [www.cnn.com]: 
failure: unknown host." from the call to getaddrinfo, which is even called 
twice (getaddrinfo, res_ninit, getaddrinfo).

If you open a terminal (command prompt) and do `nslookup www.cnn.com`
what result do you get?

What exactly is your local DNS setting?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1796979

Title:
  Intermittently can't connect to the server

Status in Mozilla Firefox:
  New
Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  Intermittently while browsing old and new sites, I run into a Server
  Not Found, "Hmm. We’re having trouble finding that site.", "We can’t
  connect to the server" page. To workaround I will often hold down the
  enter key to rapidly re-attempt to get to the page or close the tab,
  try again, and repeat until I get through. The latter is successful
  much more often than the former.

  Running in a new Firefox profile and in safe mode seems to make no
  difference.

  I had mistakenly made a submission to launchpad without running
  ubuntu-bug firefox. This is the submission using ubuntu-bug. The old
  submission is here: https://bugs.launchpad.net/bugs/1792402

  Linux Mint 18.3 Cinnamon

  apt-cache policy firefox
  firefox:
    Installed: 63.0~b13+build1-0ubuntu0.16.04.1

  ProblemType: Bug
  DistroRelease: Linux 18.3
  Package: firefox 63.0~b13+build1-0ubuntu0.16.04.1 [modified: 
usr/lib/firefox/browser/defaults/preferences/vendor-firefox.js 
usr/lib/firefox/distribution/distribution.ini] [origin: 
LP-PPA-mozillateam-firefox-next]
  ProcVersionSignature: Ubuntu 4.15.0-36.39~16.04.1-generic 4.15.18
  Uname: Linux 4.15.0-36-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  rex        3357 F.... pulseaudio
  BuildID: 20181009094547
  Channel: beta
  CurrentDesktop: X-Cinnamon
  Date: Tue Oct  9 15:54:39 2018
  DefaultProfileExtensions: extensions.sqlite corrupt or missing
  DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  DefaultProfileLocales: extensions.sqlite corrupt or missing
  DefaultProfilePlugins: Shockwave Flash - 
/usr/lib/adobe-flashplugin/libflashplayer.so (adobe-flashplugin)
  DefaultProfilePrefSources:
   /usr/lib/firefox/defaults/pref/vendor-gre.js
   /usr/lib/firefox/defaults/pref/channel-prefs.js
   prefs.js
  DefaultProfileThemes: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2017-01-12 (635 days ago)
  InstallationMedia: Linux Mint 17.2 "Rafaela" - Release amd64 20150627
  IpRoute:
   default via 192.168.103.1 dev wlan0  proto static  metric 600 
   169.254.0.0/16 dev wlan0  scope link  metric 1000 
   192.168.103.0/24 dev wlan0  proto kernel  scope link  src 192.168.103.222  
metric 600
  MostRecentCrashID: bp-392336ee-2be7-4d6e-89e0-e40350180301
  Profile0BrokenPermissions:
   browser-extension-data/ublo...@raymondhill.net/storage.js.corrupt (0o600, 
wrong owner)
   extension-settings.json.corrupt (0o600, wrong owner)
   saved-telemetry-pings/ba50588c-e150-45ec-9d22-916c98101815 (0o600, wrong 
owner)
   saved-telemetry-pings/f50808ab-da4a-421b-8acd-2795287134d8 (0o600, wrong 
owner)
  Profile0Extensions: extensions.sqlite corrupt or missing
  Profile0IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  Profile0Locales: extensions.sqlite corrupt or missing
  Profile0Plugins: Shockwave Flash - 
/usr/lib/adobe-flashplugin/libflashplayer.so (adobe-flashplugin)
  Profile0PrefSources:
   /usr/lib/firefox/defaults/pref/vendor-gre.js
   /usr/lib/firefox/defaults/pref/channel-prefs.js
   prefs.js
  Profile0Themes: extensions.sqlite corrupt or missing
  Profiles:
   Profile0 - LastVersion=62.0/20180911150120 (Out of date)
   Profile1 (Default) - LastVersion=63.0/20181009094547 (In use)
  RelatedPackageVersions: adobe-flashplugin 1:20181009.1-0ubuntu0.16.04.1
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  SubmittedCrashIDs: bp-392336ee-2be7-4d6e-89e0-e40350180301
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/05/2011
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: F.1B
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 165A
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 10.31
  dmi.chassis.asset.tag: Chassis Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvrF.1B:bd10/05/2011:svnHewlett-Packard:pnHPPaviliondv7NotebookPC:pvr058D110000244620001620100:rvnHewlett-Packard:rn165A:rvr10.31:cvnHewlett-Packard:ct10:cvrChassisVersion:
  dmi.product.family: 103C_5335KV G=N L=CON B=HP S=PAV
  dmi.product.name: HP Pavilion dv7 Notebook PC
  dmi.product.version: 058D110000244620001620100
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1796979/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to