Unexpected Connection Errors


#1

My site seems to be suffering from the same issue.
My server is not seeing any traffic from Cloudflare whatsoever since last Tuesday.
I opened a ticket, submitted all the quested info/files, but haven’t heard back in days.


502 error only from certain countries
#2

What is your ticket number?


#3

Hi Ryan,
The ticket number is 1396133.


#4

I was able to escalate this to someone else for some assistance. Expect a response on the ticket soon.


#5

Thanks, Ryan. I appreciate that. Hopefully this gets resolved soon.


#6

Hello -

I have a custom built website hosted through Amazon AWS with the domain and DNS control through GoDaddy. After I updated the nameservers to the Cloudflares given, my website was no longer accessible through Google Chrome. Just today, CloudFlare’s team got back to me with the following response:

Thank you for contacting Cloudflare Support. Very sorry for the wait time here: The cause of the ERR_SPDY_PROTOCOL_ERROR error is that there is a mismatch between the Content-Length header you are sending and the actual content-length.

I am not the most technical and do not have contact with my dev team for a few days. Is there anyone that can explain this to me in a way that I might understand and help me fix the issue?


#7

In non technical words:

Whenever a server returns some content (i.e. file) it can tell the client (your browser) about the size of that content. This is not mandatory and a HTTP header named Content-Length is used for that. You may have seen downloading a file and browser didn’t show download percentage. That means the header was not sent by server. And when you see the download progress, since browser knows about the total length of file it can calculate the progress based on how much it has downloaded.

So your server sends some file and tell about the size of them wrongly.


#8

Short term (until you can talk to your developers) you may want to consider disabling http2/SPDY. This can only be done via API on the free plans. You can do this by replacing “ZoneID” with the zone ID from your overview page, your API key should replace “yourKey” and then use your email address in the command below. This can be copy/pasted into the terminal on a mac… or I believe some versions of Windows may have curl as well. So 3 items to change, zone, key and email.

curl -X PATCH “https://api.cloudflare.com/client/v4/zones/zoneID/settings/http2
-H “X-Auth-Email: [email protected]
-H “X-Auth-Key: yourKey”
-H “Content-Type: application/json”
–data '{“value”:“off”}

The other option would be to change your orange cloud to a gray cloud which would bypass Cloudflare (sub optimal, but would also fix the problem in the short term by taking us out of the mix for anything but simple DNS resolution).


#9

@cscharff If I disable the orange cloud, would that take away the SSL too?
How long would it take for the website to appear again?

Also, I am very remedial on my tech here - Where do I go to find curl to
make the three changes?

Best,

Michael Masek
https://www.theirfans.com
https://www.facebook.com/aplaceforyourfans
https://www.twitter.com/theirfans2015
https://www.instagram.com/theirfans2015
https://www.youtube.com/c/theirfans
650.888.5639


#10

Unless you already had SSL on your site prior to adding Cloudflare it would take away the SSL certificate yes. Curl can be found on a mac in the terminal application. You should just be able to type curl --version to verify.

On a PC I believe you have to download it for most versions of Windows. The appropriate version for you will probably end in a .zip in the Windows section of the site linked from here: https://stackoverflow.com/questions/9507353/how-do-i-install-set-up-and-use-curl-on-windows and then you would run it from a DOS or Powershell window.

Another option is an application called Postman where you could set these settings, but Postman has a little bit of a learning curve… not sure if there is a good tutorial on it anywhere. https://www.getpostman.com/postman It is sort of like a visual version of curl. Which in some ways is easier, but first you have to sort of figure the app out.


#11

i seem to be getting

{“success”:false,“errors”:[{“code”:1015,“message”:“Not allowed to edit setting for http2”}],“messages”:[],“result”:null}

when issuing
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/11111111/settings/http2" -H "X-Auth-Email: email" -H "X-Auth-Key: __api_key_" -H "Content-Type: application/json" --data '{"value":"off"}'


#12

I have multiple domain names and now some of them aren’t working. I entered all of them separately and only 1 works now. Suggestions?


#13

i have same problem too for my website http://triplecr.com/. suddenly my website is error. i cek the dns in cloudflare in my account is missing. so i change back it again to my default dns… is any people have some problem with me ?


#14

what error code were you getting? i was getting 522 and seeing no data coming from cloudflare via tcpdump


#15

Hi,

I get this message

ERR_CONNECTION_CLOSED

then I ALSO GOT a 502 not Cloudflare related cos no gnix.

site not display properly on chrome or mac ios, yes on firefox

![32 pm|486x500](upload://mgsGOxfQw0yeCleZzXHZoM5wxEE.png


#16

On the off chance that you are having the blunder ERR_SPDY_PROTOCOL_ERROR which is a standout amongst the most well-known mistakes of Google Chrome, the primary thing you need to do is to check your web association. Poor web association may likewise prompt the issue which may interfere with your web route.:https://errspdyprotocolerror.com/


#17

I was also facing the similar issue and was searching for a solution on the web. Luckily I got an amazing guide on the this error. The owner of this site has mentioned 7 methods to solve this Chrome error. I hope this might help you in solving your error.

Check it out here: https://www.gadgetarmy.com/err_spdy_protocol_error/