Posted: April 17, 2023 at 2:14 am
|
After connecting with paypal, the plugin breaks the connection with this information: “Error: cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received”. What´s goting wrong? |
Hi Gerald, The issue you have mentioned above is mostly server side, when the server was unable to communicate to the site within the set time limit. You can get in touch with the service provider and ask them to increase the timeout limit or any other limitations. Thank you. |
|
|
Hi Sam, we have shut down the server so far in its security that it can communicate with everything and everyone without restrictions. However, this error message appears repeatedly: Error: cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received What else can we do to connect to Papypal? |
|
I have a new problem with paypal activation. every time i want to activate the paypal function in the plugin, the page jumps up. activation is no longer possible. I have already deleted the meta data, deactivated the paypal function and then deactivated it again, but the result remains. What is going wrong? |
Ok, so this:
Basically means your server didn’t receive any response from the request within 5 seconds. 5 seconds should be plenty of time for what it is doing but we can test with a higher timeout to confirm. First, where exactly are you getting that error, please?
Has that only started happening since fixing the language files in your other thread HERE? Temporarily rename the /wp-content/uploads/espresso/languages/ directory to something else, just add Then refresh the PayPal Commerce settings page and try again, does it stop that issue? |
|
|
Hey, I can start the connection plugin today without a change in directory name. Here is my video screen trying die connect my paypal with espresso: https://app.screencast.com/dqlD2jtVtJzoz I can repeat it ten times or more |
Ok, let’s check the timeout value isn’t the issue here (I suspect it’s not). Add this to your site: https://gist.github.com/Pebblo/d27bc0aba0a56742c1738eec0ea253a0 You can add that to your themes functions.php file, or preferably a custom functions plugin, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ With the above code added to the site, try again and see what happens. If you get the exact same error showing ~5000 milliseconds the code isn’t running as the timeout is the same. |
|
|
Hi, OK, I did it. The result is no connection: Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received. The Code of the plugin: <?php /* Stop Adding Functions */ // DO not include the opening php tag if you already have one. add_filter( ‘http_request_timeout’, ‘tw_ee_curl_timeout_extend’ ); |
That’s a 10-second timeout even though the code is for 20, but either way that should be plenty so I don’t think this is an issue with the timeout itself. For some reason, your server can’t communicate with PayPal’s server using cURL. I’d recommend opening a ticket with your host and asking them about this, cURL is a app installed on the server itself which WordPress is using to send the request so they should be able to check into this further. |
|
|
Hello, I would like to pre-emptively enquire whether I can withdraw from my purchase. The installation in my server and homepage environment creates so much customisation work. Please give me information on how to reverse the transaction. Thank you for your support. Many greetings Gerald GeraldHello, I would like to pre-emptively enquire whether I can withdraw from my purchase. The installation in my server and homepage environment creates so much customisation work. Please give me an information how to realize the rescission. Thanks for your support. Many greetings Gerald |
We will follow up with you by email. |
|
The support post ‘Error connection with my Paypal Account’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.