Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

beracah.kings's avatar

cURL Error

Hi,

im receiving the below error msg when i try to submit the data to the payment gateway. what could be the reason for this error

Requests_Exception cURL error 28: Resolving timed out after 10000 milliseconds

0 likes
2 replies
drewdan's avatar

What payment gateway is it? Looks like the connection is failing to connect, possibly due to it being blocked by a firewall? From the look of it cURL can see the server, but the connection times out. My guess would be firewall blocking the connection

beracah.kings's avatar

local.ERROR: cURL error 28: Resolving timed out after 10000 milliseconds {"userId":,"exception":"[object] (Requests_Exception(code: 0): cURL error 28: Resolving timed out after 10000 milliseconds at /home/yhpbqlmtkrsl/marvel/vendor/rmccue/requests/library/Requests/Transport/cURL.php:422)

Im using Razorpay (india). Everything was working fine. Suddenly from last week, the error has been appearing continuosly for all users. Godaddy has replied that nothing has been blocked in their end.

Please guide

Please or to participate in this conversation.