I have developed a debilitating condition on a couple machines that
has me baffled. Basically TCP/IP Connect tunnels consistently takes
exactly 20999ms (21 seconds) to establish... but only for the internal
sites I need to test (and occasionally a couple public external
sites). I think this is a magic value related to some IPv6->IPv4
fallback or similar renegotiation process, but I need some help
identifying the root cause or narrowing down where to look for the
problem (client config, corporate IT network, datacenter network, or
server config).
MORE INFORMATION
================
Classic example of an impacted HTTP CONNECT trace:
--------------------------------------------------------------
Request Count: 1
Bytes Sent: 436 (headers:436; body:0)
Bytes Received: 107 (headers:107; body:0)
ACTUAL PERFORMANCE
--------------
ClientConnected: 18:39:25.986
ClientBeginRequest: 18:39:25.987
GotRequestHeaders: 18:39:25.987
ClientDoneRequest: 18:39:25.987
Determine Gateway: 0ms
DNS Lookup: 0ms
TCP/IP Connect: 21000ms <======= Here's the symptom
HTTPS Handshake: 1ms
ServerConnected: 18:39:46.990
FiddlerBeginRequest: 18:39:46.990
ServerGotRequest: 18:39:46.990
ServerBeginResponse: 00:00:00.000
GotResponseHeaders: 00:00:00.000
ServerDoneResponse: 00:00:00.000
ClientBeginResponse: 18:39:46.990
ClientDoneResponse: 18:39:46.990
Overall Elapsed: 00:00:21.0031001
--------------------------------------------------------------
The kicker is during login we use ADFS for authentication which routes
to two other internal servers which means I've got 3-4 tunnels on
first run - for a whopping 63 to 84 seconds of wasted time. That's
definitely enough time to trigger timeouts and mess with behavior.
When did this start? This problem is new as of roughly a month or two
ago. I've been using Fiddler for well over a year in this environment
with no hint of this problem.
Client Configuration: Win7 x64, IE8 | FireFox | Chrome 16.0.912.77m,
Just one client PC? I've seen this impact 3 separate computers on
different subnets.
Fiddler settings:
* General: Check for updates, Enable IPv6 (but disable doesn't help),
Map socket to original app, Auto stream aud&vid.
* HTTPS: Capture connects, Decrypt HTTPS... from browsers only, Ignore
server certs, skip decryption for *mail*;*microsoft*;...
* Extensions: Auto-reload script, Extensions: BuiltWith,
HtmlInspector, FiddlerWatcher, neXpert..., Differ, RequestToCode,
RulesTab2, SimpleFilter, EventLog, HostsFile, Timeline.
* Connections: port 8888, Reuse client and server connections
(disabling both didn't help), chain to upstream gateway, Act as proxy
on startup, monitor all, bypass <-loopback>;*mail*;*microsoft*;...
Any other odd network behavior?
* DNS: I've seen suspicious DNS issues (can't resolve
www.google.com
and/or
www.microsoft.com sometimes)
* Proxy PAC file provided by IT (and related proxy server(s)) have
some history of misbehaving at times.
* IPv6 weirdness: I have found if I try "ping <servername>" from a
command prompt to my target web server I'll get an IPv6 address
resolve and the ping will always time out. However if I try "ping -4
<servername>" ping will respond very quickly and reliably. This is
very odd and disturbing. (It used to be inconsistent but now is pretty
reliably defaulting to IPv6).
* WebResource.axd requests to this same web server now return HTTP
404 (resource not found). This might be an archaic IE8 bug… Nope,
Chrome repros too.
SUSPECTS:
1. IPv6 weirdness
2. Proxy server chaining with corporate IT proxy server to specific
internal datacenter firewall proxy before finally getting to target
server. (and/or firewall configuration)
3. Newer Fiddler version installed and/or settings (or installation?)
hopelessly messed up in some very subtle way (unlikely but possible)
Help me Obi Wan, you're my only hope. I'm quickly running out of ideas
and way past time to get other opinions. Even tools or reference links
to help understand where TCP/IP CONNECT delays can occur would be
helpful.
Many thanks in advance! -Zephan