curl

  1. speckados

    API. Create a mysql database with curl

    I use the api via root, for actions like WHM and Cpanel. In the chaos of creating a database and a mysql user associated with it, I don't see that there is an api call from whm, and I understand that there should be an option like the ones I use to create an addon domain, that is, a call to...
  2. D

    SOLVED cURL Let's Encrypt ISRG Root X1 certificate issue

    Anybody knows why this difference happens: -bash-4.2# curl -I -v https://valid-isrgrootx1.letsencrypt.org/ * About to connect() to valid-isrgrootx1.letsencrypt.org port 443 (#0) * Trying 52.9.173.94... * Connected to valid-isrgrootx1.letsencrypt.org (52.9.173.94) port 443 (#0) * Initializing...
  3. C

    EasyApache 4 September 22 Release introduces libcurl 7.79.0 bug "Unsupported response code in HTTP response"

    Hello cPanel / WHM folks. This last EasyApache update was pushed out to address some security issues. Unfortunately, it brought with it a rough libcurl bug that breaks webservice requests for some services. The bug is specific to libcurl verson 7.79.0 and is discussed here...
  4. Jeff P.

    apache error_log flooded with odd requests. Curl?

    Anyone know why my apache error_log is flooded with this?
  5. I

    cURL example or template for UAPI Return Email Accounts

    I am new to using UAPI to access cPanel. I am also new to cURL. But perusing around, currently, I think cURL is the way for me to access cPanel from my application. The user is supposed to be able to create and delete email accounts from my application. I hope that my being able to get a list...
  6. 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...
  7. 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...
  8. 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...
  9. T

    cURL inside EasyApache 4

    I try validate curl due to PHP script. How to find enabled curl?
  10. 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...
  11. 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...
  12. 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...
  13. 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.
  14. 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...
  15. 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...
  16. 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?
  17. 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...
  18. 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...
  19. 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) -----...
  20. 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...