Curl returns 92, browser ok

Accessing the following page through browser returns the text properly:

Website URL

https://pant.family/privacy.html

However I get the following error when I do a curl on the page:

Error Message

curl https://pant.family/privacy.html
curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

Other Information

(other information and details relevant to your question)

Welcome!

I am a little confused as to what the problem is, but I think this may apply:

4 Likes

Thank you Greenreader9 for your response. However the problem is that my website provides sign-in experience using facebook credentials. As you can see the facebook application is indicating that the privacy url should be publicly accessible. And the curl response should be 200 ok (item 2). As you can see from the image, facebook is not able to verify the URL via curl.

Unfortunately, that is a limitation of free hosting.

As you have a custom domain, you can use Cloudflare to bypass the system if you wish:

3 Likes

Thank you so much. I will give it a try.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.