. Advertisement .
..3..
. Advertisement .
..4..
I am tired of fixing the problem: curl: (52) empty reply from server in the programs; even if I get the reference from another forum, it still returns an error:
curl: (52) Empty reply from server
To identify the problem, I will show you the detail here:
curl -sS http://www.example.com/backup.php
How do I do that? Could you support me in improving this problem?
The cause: You may receive this error when you try to visit a website. This occurs when the HTTP client fails to connect to the desired web server and you are not using a secure HTTPS connection.
The solution: You can fix it by using the basic tools available to see if the HTTPS certificate actually works. Check both servers using the same command. Consider sending a test request after you’ve confirmed the certificate. If the two certificates are the same, you should be able to send your SSL request. If they aren’t, though, you should try a different server.
This could happen when curl is asked to perform plain HTTP on a server capable of HTTPS.
Example: