-
This can happen if curl is asked to do plain HTTP on a server that does HTTPS. For example, if you call
curl http://google.com:443 -
On other hand, there could be a firewall or a proxy on your production server that blocks the request.
-
If you are suing some kind of authentication i.e. calling an API, check if the security key/code is not linked to a particular domain. I.e. you may need one key for local and generate another key for producton.
Jan 16, 2024
2
Level 8
How can i fix PHP curl error
Error: call to URL failed with status 0, response , curl_error Empty reply from server, curl_errno 52
This error is occurring on production not on local environment. My backend and frontend server domains are different.
Error image https://jmp.sh/uDfkBeEh
Please or to participate in this conversation.