curl

  1. ankeshanand

    SOLVED cURL: TCP Connection reset by Peer

    I am currently trying to repair a cPanel Server. There is a cURL Error only on Internal Websites hosted by the Server. On the outside network, cURL works fine but if we cURL Internally, like curl whatever.com:443 or curl https://whatever.com , Its connection is reset.(Whatever.com is hosted on...
  2. D

    Installation of cURL and curlSSL - curlSSL missing?

    Might be a silly question (not fully clued up on how the php extensions work) but on my server I have cURL installed for all version of my PHP however a client of mine wants me to install the XERO plugin to link their website to their invoicing and its minimum requirement are that cURL and...
  3. K

    cURL update

    Is there an easy way to update cURL to the latest version if we're using easyApache 4? Problem I'm trying to solve: I'm running into an intermittent error trying to use cURL to connect to a website that uses cloudflare. "SSL: no alternative certificate subject name matches target host name...
  4. T

    cURL inside EasyApache 4

    I try validate curl due to PHP script. How to find enabled curl?
  5. A

    Restricting Server or Curl from Getting Data of a Page or IP

    Hello, i want to know how can i restrict my server or curl to access a url through https I want to restrict Example Domain , and then when i run this command in ssh :- curl Example Domain then I will get this output : curl: (51) Unable to communicate securely with peer: requested domain name...
  6. M

    Curl Function of php isn't working !!!

    Curl function of php 7.4 isn't working properly. I use a custom code to check as per my requirements & it is showing me that the function isn't working properly. Now when I contacted my hosting provider they told me to check my phpinfo, which is showing that the curl function is 'enabled' btw...
  7. G

    CSF's CC_ALLOW_FILTER blocking cURL

    I was having an issue with this before in that it was blocking AutoSSL, but @cPanelLauren helped me get that straight. So I turned CC_ALLOW_FILTER back on, only allowing US,MP,PR. Positive: spam cut down by 95%, and server load is purring much better Downside: I just discovered that none of my...
  8. S

    CURL namelookup_time too high

    When executing a simple CURL request it takes more than 10 seconds to process. After looking at the CURL info, found out that namelookup_time is taking too long. Server Configuration: PHP 7.3 CURL 7.70.0 Any help would be appreciated.
  9. C

    CENTOS7 curl duplicated library libnghttp2.so.14 error

    I have a particular error with httpd crashing which I wish to eliminate - I have the following error from from /var/log/apache2/error_log [Sun Apr 12 20:12:06.881591 2020] [cgi:error] [pid 2116] [client 35.229.107.104:40917] AH01215: PHP Warning: PHP Startup: Unable to load dynamic library...
  10. behinam

    Curl Problem - (51) Unable to communicate securely

    when I want download LiteSpeed plugin with curl: # curl https://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh curl: (51) Unable to communicate securely with peer: requested domain name does not match the server's certificate. and when i get this bash with wget, in...
  11. T

    How to enable CURL with SSL

    How to enable CURL with SSL for PHP 5. I installed "php55-php-curl Installed". What further steps do I need to take?
  12. behinam

    problm in curl command

    when i want test a domain whit curl command, Instead of displaying site content, i give this message: <html><head><META HTTP-EQUIV="Cache-control" CONTENT="no-cache"><META HTTP-EQUIV="refresh" CONTENT="0;URL=/cgi-sys/defaultwebpage.cgi"></head><body></body></html> also in web browser php file...
  13. brianc

    cPanel Curl Update breaks WHMCS Enom Module

    The enom module within WHMCS is no longer functioning with the following error message: Registrar Error CURL Error: 56 - OpenSSL SSL_read: Success Enom is saying this: We have concluded our investigation into the CURL error that WHMCS users have encountered, and determined the root cause to...
  14. B

    Install fail curl error 23 failed writing body

    I have looked up this issue on Goog, but there are a bunch of fixes for mac computers and non-cPanel related posts, I am trying to install cPanel WHM on AWS, Red Hat Enterprise Linux, curl -o latest -L http://httpupdate.cpanel.net/latest curl: (23) Failed writing body (0 != 16384) -----...
  15. D

    Server Software Clean-up

    This question is asked to gain understanding and find the answer for 'clean-up' (aka organization). File this under Server Maintenance. It seems sometimes that servers will become cluttered over time. Recently, I discovered that there are four versions of curl on the server. Thankfully...
  16. E

    SOLVED cURL Error(7)

    Hi, When using cURL at a PHP script, it produces error (7) at times. I notice this on PayPal IPN script and Facebook login scripts which both use cURL. Here is a sample error message: PHP Fatal error: Uncaught exception 'Exception' with message 'cURL error: [7] Failed to connect to...
  17. N

    SOLVED Cron Job execute curl only if file has been modified

    Hi I need to execute a command in cron job, but only if a file has been touched. Currently, my cron command is: curl "..." where "..." is my target link. I am new to this but I did manage to find something online. Hoping that someone with experience can confirm that the command below is...
  18. Q

    SOLVED [EA-8010] cURL upgrade breaks RSS feeds

    During last night's updates, I was upgraded to 76.0.5 as well as latest Easyapache. I'm not sure which of the two is causing this issue. I use a web-based RSS reader on my server, and after last night's updates, several of the feeds I pull mysteriously stopped actually updating. They stopped...
  19. M

    curl ssl issue - 443: connection refused

    Having an issue using curl and ssl all of a sudden. I think this 'might' be related to switching from EA3 to EA4 awhile back and/or using autossl certs through WHM. I am testing using the following script from the site in question and curlopt_url set to itself : <?php $ch = curl_init()...
  20. rinkleton

    PHP cURL IP - V4 vs V6 per account

    Is it possible to force each account to use it's specified IP and IP version for cURL requests? For example, I have an account which is not enabled for IPv6 and it is set to use the global IPv4 address. However if you do a curl to a google service, and that server supports IPv6, the request...