Current time: 10-26-2020, 11:15 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
strange gap results
02-01-2016, 06:25 PM
Post: #1
strange gap results
We are seeing some very strange results with WPT. For example http://www.webpagetest.org/result/160201...1/details/

It will connect, get the html page, process google analytics and then make no connection for 40+ seconds and then start retrieving the assets.

I noticed the other thread mentioning ssl gaps but that shouldn't be the case here. It's already connected and reuses the same connection to download the assets since it's the same cert, ip but just a different server name.
Find all posts by this user
Quote this message in a reply
02-01-2016, 10:54 PM
Post: #2
RE: strange gap results
Looking at the bandwidth line below the waterfall, it looks like something BIG is downloading using a consistent 2.5Mbps or so during the gap. Whatever it is isn't showing up in the waterfall though so it's something that the WPT code doesn't know how to decode (or isn't reported by dev tools).

Do you see it from other locations or with different pages on the same location?
Visit this user's website Find all posts by this user
Quote this message in a reply
02-01-2016, 11:59 PM
Post: #3
RE: strange gap results
Tried another location (Manchester this time, previously was London), and also a different url and got similar results: http://www.webpagetest.org/result/160201_DB_N68/


Doing a test with tcpdump turned on:

- it seems to fetch dns records for the ocsp.digicert.com even though the oscp should be stapled (as confirmed with ssllabs)
- The client (wpt) seems to keep sending a RST/ACK and making new connections over and over (which is probably where the 2.5Mbps downloads comes from). Until something (?) and then it decides to accept the certificate?
Find all posts by this user
Quote this message in a reply
02-02-2016, 01:35 AM
Post: #4
RE: strange gap results
wireshark of one of the connections during the strange period

[Image: 21d544da-c8f3-11e5-8b2b-785118e60092.png]


Background of our setup:

We have 3 hostnames now all the same ip (although some dns resolves are still propagating it seems to some of the WPT hosts, but the capture had the right ip), http://www.pitchup.com, m.pitchup.com and media.pitchup.co.uk

Configured using nginx, spdy, ocsp stapling, ev certs. We recently got one cert with the 3 hostnames all as alternative names. We did this to have a media domain but not to incur an extra ssl connect when using it. If the ip address and the certificate is the same the client doesn't need to create make a new ssl connection.

Now we aren't seeing the issue when accessing pages on http://www.pitchup.com but we see the issue when accessing m.pitchup.com. The issue arises when it tries to connect to media.pitchup.co.uk.

Not seeing this locally but that doesn't prove it isn't happening.
Find all posts by this user
Quote this message in a reply
02-06-2016, 08:11 AM
Post: #5
RE: strange gap results
It's worth noting that OCSP stapling will only work for the leaf certificate. Any intermediaries will still need to be checked if they aren't already trusted roots.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-09-2016, 07:05 AM
Post: #6
RE: strange gap results
Does disabling pagespeed help improve test readability?
Find all posts by this user
Quote this message in a reply
02-11-2016, 02:02 AM
Post: #7
RE: strange gap results
mod_pagespeed on the server? Not sure I understand but no flavor of PageSpeed I can think of should have a negative impact on reliability or consistency. Only possible interaction I can think of is for new content mod_pagespeed may take a few page loads before the server has optimized all of the resources.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-17-2016, 12:08 AM
Post: #8
RE: strange gap results
In some instances, a misconfigured mod_pagespeed can go bezerk in a loop. So just a hunch after seeing such high processing of pagespeed happening in the WPT details of the site.
Find all posts by this user
Quote this message in a reply
02-17-2016, 12:09 AM
Post: #9
RE: strange gap results
tried without mod_pagespeed (ModPagespeed=off) and got the same results. Looking at the tcpdump seems to be the ssl negotiation keeps retrying until it succeeds
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)