Upgraded to HTTP/2 and getting PageSpeed was unable to connect to the server.

536 views
Skip to first unread message

Aprogrammer

unread,
Jul 13, 2018, 10:33:08 AM7/13/18
to pagespeed-insights-discuss
Hi, 

I upgraded the settings in my server to use HTTP/2 , I can access my website using the browser , however when I try to test it using Pagespeed Insights I'm getting this error

"PageSpeed was unable to connect to the server. Ensure that you are using the correct protocol (http vs https), the page loads in a browser, and is accessible on the public Internet."


Thanks for any help.

Rick Steinwand

unread,
Jul 13, 2018, 11:34:52 AM7/13/18
to pagespeed-insights-discuss

Aprogrammer

unread,
Jul 13, 2018, 1:32:12 PM7/13/18
to pagespeed-insights-discuss
Thanks for your reply. 

The first 2 sites gave errors, but I got analysis results from the 3rd site you mentioned.

Following are the outputs from the 3 sites:


Analysis Error
An error occurred fetching the page: Server closed connection without sending any data back
There may be a connectivity issue between your server and the GTmetrix test server. Please login to try testing from another test location or try again later.
Please see our FAQ on how to fix this error.

------------------------------------------------------------------

Gave results of analysis
Performance grade 83 , Load time 612 ms, Faster than 95%, Page size 0B, Requests 19 , Tested from San Jose
Response code
302 OK  ---- 1
Connection Error ---- 2

I'm forwarding http to https and it looks like the 302 OK response code is for http

------------------------------------------------------------------

Web Page Performance Test for
From: Dulles, VA - Chrome - Cable
7/13/2018, 1:17:50 PM

A First Byte Time
A Keep-alive Enabled
D Compress Transfer
A Compress Images
F Cache static content
X Effective use of CDN

Performance Results (Median Run)
Document Complete Fully Loaded
Load Time First Byte Start Render Speed Index Time Requests Bytes In Time Requests Bytes In Cost
First View (Run 2) 1.861s 0.257s 1.400s 1510 1.861s 29 575 KB 1.954s 30 579 KB $$---

Rick Steinwand

unread,
Jul 13, 2018, 3:45:34 PM7/13/18
to pagespeed-insights-discuss
Since you got errors from multiple sites, it sounds like there's a problem with your implementation of HTTP/2. 

Sorry, I won't be any help with this. I suspect you may want to disable it until you can review your config to find the issue.

Rashmi Jaikaran

unread,
Jul 13, 2018, 6:10:54 PM7/13/18
to pagespeed-ins...@googlegroups.com
Thanks, I'll try to fix my configuration.

On Fri, Jul 13, 2018 at 3:45 PM Rick Steinwand <rickst...@gmail.com> wrote:
Since you got errors from multiple sites, it sounds like there's a problem with your implementation of HTTP/2. 

Sorry, I won't be any help with this. I suspect you may want to disable it until you can review your config to find the issue.

--
You received this message because you are subscribed to the Google Groups "pagespeed-insights-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pagespeed-insights-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pagespeed-insights-discuss/fab9a10e-feae-4cbd-a17c-7e755325fc79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages