Title: Blocking curl by wordpress.org
Last modified: May 27, 2026

---

# Blocking curl by wordpress.org

 *  Resolved [alexnoxx](https://wordpress.org/support/users/alexnoxx/)
 * (@alexnoxx)
 * [2 weeks, 4 days ago](https://wordpress.org/support/topic/blocking-curl-by-wordpress-org/)
 * Dear,
 * I’ve installed WordPress on my localhost server on a Raspberry Pi 4B using Cloudflare
   Tunnel. My WordPress site is working fine and is accessible via the internet.
   However, I’m having trouble updating plugins and I’m getting these warnings in
   the site status:
 * >  - The REST API encountered an error:
   > The REST API is one way that WordPress and other applications communicate with
   > the server. For example, the block editor screen relies on the REST API to 
   > display and save your posts and pages.
   > When testing the REST API, an error was encountered:
   > REST API Endpoint: [https://ladsalart.com.ar/wp-json/wp/v2/types/post?context=edit](https://ladsalart.com.ar/wp-json/wp/v2/types/post?context=edit)
   > 
   > REST API Response: (http_request_failed) cURL error 7
 * >  - Could not reach WordPress.org:
   > Communicating with the WordPress servers is used to check for new versions,
   > and to both install and update WordPress core, themes or plugins.
   > Error Your site is unable to reach WordPress.org at 198.143.164.251, and returned
   > the error: cURL error 7:
   > Get help resolving this issue. (opens in a new tab)
 * ![](https://drive.google.com/file/d/1zZNgm2-1zCS7y97E_VjpcWXhGClm-wA7/view?usp
   =sharing)
 * I have verified that Cloudflare Tunnel is not the problem.
   I ran the command 
   _curl -i [https://wordpress.org](https://wordpress.org)_ and got the following
   result:[https://drive.google.com/file/d/1f3lKoMZujtDjdxK1bQjtCMJvqs3oSHiW/view?usp=sharing](https://drive.google.com/file/d/1f3lKoMZujtDjdxK1bQjtCMJvqs3oSHiW/view?usp=sharing)
 * ![](https://drive.google.com/file/d/1f3lKoMZujtDjdxK1bQjtCMJvqs3oSHiW/view?usp
   =sharing)
 * There, it mentions that WordPress.org is blocking my connection because it thinks
   I’m an AI bot. The result refers to wasted tokens.
 * Has anyone else experienced this? Can you help me solve it?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fblocking-curl-by-wordpress-org%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [2 weeks, 4 days ago](https://wordpress.org/support/topic/blocking-curl-by-wordpress-org/#post-18920111)
 * Try reviewing info in the following thread. Hope it points you in the right direction:
   
   [https://wordpress.stackexchange.com/questions/349553/download-failed-curl-error-7-cant-update-anything](https://wordpress.stackexchange.com/questions/349553/download-failed-curl-error-7-cant-update-anything)
 *  Thread Starter [alexnoxx](https://wordpress.org/support/users/alexnoxx/)
 * (@alexnoxx)
 * [2 weeks, 4 days ago](https://wordpress.org/support/topic/blocking-curl-by-wordpress-org/#post-18921145)
 * Thank you so much, friend. I’ve managed to solve it.
   SELinux was in enforcing
   mode by default.I configured it to permissive mode.Problem solved.Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fblocking-curl-by-wordpress-org%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

## Tags

 * [block](https://wordpress.org/support/topic-tag/block/)
 * [curl](https://wordpress.org/support/topic-tag/curl/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 2 replies
 * 2 participants
 * Last reply from: [alexnoxx](https://wordpress.org/support/users/alexnoxx/)
 * Last activity: [2 weeks, 4 days ago](https://wordpress.org/support/topic/blocking-curl-by-wordpress-org/#post-18921145)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
