Bug 894008 - Impossible to reach any host on first try.
Summary: Impossible to reach any host on first try.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 18
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-10 14:05 UTC by Paul Ecoffet
Modified: 2014-02-05 14:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-05 14:40:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul Ecoffet 2013-01-10 14:05:22 UTC
Description of problem:
I'm sorry of the fact that I make a very vague ticket, yet I don't really know what component of Fedora is responsible of the issues I face. I've made several researches yet I haven't found a similar ticket, which surprises me a bit.

Each time I launch a new software, it faces difficulties to reach an host the first time it tries. For example, when I start Firefox, it can't reach any hosts of the pages I was viewing before I log out. When I reload the pages, the connection is made without any problems. The same goes for git. For instance, if I try to make a pull, the first attempt of the session will fail, yet every others attempts I may do during my Fedora session will success.

```
dir❯ git pull
error: Could not resolve host: (nil); Name or service not known while accessing https://github.com/
dir❯ git pull
Already up-to-date
```

The same issue appears with yum, gnome-online-account…

The interesting part of it is that it occurs only once per application and per session. I mean that once I log in on my Fedora Session, I start first Firefox, it will failed only once (it happens that it fails randomly time to time in long session). Then I make a git pull, after Firefox succeeded to connect, and git will fail once too. Gnome-online-account will notify me about the fact it can't connect to my online accounts, yet if I told it to retry, it will work.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Start Fedora
2. Open an application that needs to connect to the Internet
3. Watch it fails connecting
4. Retries, it works
  
Actual results:
The connection will not succeed on first try, but will work most tries after it.

Expected results:
The connection should succeed on first try.

Additional info:
I don't face this issue with Windows 7 on the same PC.
I know this ticket might be a duplicate, yet my research didn't lead me to a similar ticket.

Comment 1 john5342 2013-05-16 14:56:34 UTC
I have been getting this for the last few days. Almost always failing the first time and more often than not passing the second time for a period of time (presumably cache time). Google Chrome and the like don't seem to have a problem (presumably because they aggressively retry).

dig shows a FORMERR on the failed dns requests:

[root@agpc ~]# dig 'www.bbc.co.uk'
;; Got bad packet: FORMERR
58 bytes
b2 00 81 20 00 01 00 01 00 00 00 01 03 77 77 77          .............www
03 62 62 63 02 63 6f 02 75 6b 00 00 01 00 01 c0          .bbc.co.uk......
0c 00 01 00 01 00 00 01 2c 00 04 d4 3a f6 5f 00          ........,...:._.
00 00 00 00 00 00 00 00 00 00                            ..........

Wireshark seems to show sane responses for both the successful and failed queries. The only common pattern i can see is that all the failed ones have the "Answer Authenticated" flag set and all the ones that succeed do not.

Comment 2 john5342 2013-05-17 21:44:45 UTC
After some more research it appears the DNS errors all come from my router (a BT HomeHub3 acting as a DNS forwarder/cache). It also appears the errors started around the same time as an automated firmware update on the router. Resolving addresses directly from any other DNS server or the router's own upstream servers works fine. Google Chrome also still works because it is using it's own DNS servers.

It is however still odd that the packets appear to be valid and both Windows and Android have no problems at all with them.

So two immediate questions arise.

1. Reporter, Are you using similar hardware? If not then mine is probably a separate bug.

2. Does somebody with more knowledge than me know if the packets in the attached pcap capture (first one working, second one failing) look valid? If not then i will have to have strong words with my ISP.

The workaround i am using for the moment is setting outside DNS servers manually (e.g. 8.8.8.8 and 8.8.4.4)

Comment 3 Fedora End Of Life 2013-12-21 10:18:32 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2014-02-05 14:40:57 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.