What is the curl error 52 “empty reply from server”?

前端 未结 15 2648
忘了有多久
忘了有多久 2020-11-29 02:22

I have a cron job setup on one server to run a backup script in PHP that is hosted on another server.

The command I\'ve been using is

curl -sS http://w         


        
相关标签:
15条回答
  • 2020-11-29 03:21

    It can happen when server does not respond due to 100% CPU or Memory utilization.

    I got this error when I was trying to access sonarqube API and the server was not responding due to full memory utilization

    0 讨论(0)
  • 2020-11-29 03:22

    this error also can happen if the server is processing the data. It usually happens to me when I do post some files to REST API websites that have many entries and take long for the records creation and return

    0 讨论(0)
  • 2020-11-29 03:24

    you can try this curl -sS "http://www.example.com/backup.php" by putting your URL into "" that worked for me I don't know the exact reason but I suppose that putting the url into "" completes the request to the server or just completes the header request.

    0 讨论(0)
提交回复
热议问题