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

前端 未结 15 2858
忘了有多久
忘了有多久 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 02:59

    Curl gives this error when there is no reply from a server, since it is an error for HTTP not to respond anything to a request.

    I suspect the problem you have is that there is some piece of network infrastructure, like a firewall or a proxy, between you and the host in question. Getting this to work, therefore, will require you to discuss the issue with the people responsible for that hardware.

提交回复
热议问题