I have a server that is hosted locally with VMware. This server runs Ubuntu 18.04. Default ubuntu server iso installation. Cyberpanel – OpenLiteSpeed is installed on this server. The domain is redirected to the server ip addresses with Cloudflare. Ports 80 – 443 – 53 of the server are open to the outside and others are closed. I tried every way but I couldn’t solve this error.
Wordpress website works normally. I can create a page, publish a Post. But the curl error cannot be solved. No problems are displayed in the error logs. The command $ curl -I sitename.com/wp-json/ from the Ubuntu command line returns an HTTP 200 response. CyberPanel mod security is turned off.
Web server: LiteSpeed
PHP version: 7.3.16-1 + bionic (Supports 64bit values)
PHP SAPI: litespeed
PHP max input variables: 1000
PHP time limit: 60
PHP memory limit: 512M
Max input time: 120
Upload max filesize: 20M
PHP post max size: 80M
cURL version: 7.58.0 OpenSSL / 1.1.1
- The topic ‘REST API – Error:  cURL error 28 – Site Health’ is closed to new replies.