Issue with REST API and Loopback in WordPress Installed on Windows Server
-
Hello and greetings,
I hope this message finds you well. I’ve created a WordPress site on a Windows Server, and everything seems to be working fine. However, I’m facing two issues with the reset API and loopback.
I’ve tried all available solutions:
- Removed all plugins and themes.
- Increased PHP Memory Limit.
- Cleared browser cache.
- Enabled permalinks.
- Disabled the firewall.
- Set permalinks to “plain.”
- Checked the rewrite module.
When testing the REST API, I encountered the following error:
REST API Endpoint: https://site.com/index.php/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) cURL error 28: Connection timed out after 10004 milliseconds.And for the loopback request:
Error: cURL error 28: Connection timed out after 10014 milliseconds (http_request_failed).
Here are some details about the server:
- Server Architecture: Windows NT 10.0 AMD64
- Web Server: Microsoft-IIS/10.0
- PHP Version: 7.4.4 (Supports 64bit values)
- PHP Max Input Variables: 3000
- PHP Time Limit: 120
- PHP Memory Limit: 256M
- Max Input Time: 3000
- Upload Max Filesize: 128M
- PHP Post Max Size: 128M
- cURL Version: 7.68.0 OpenSSL/1.1.1d
- Is SUHOSIN Installed? No
- Is the Imagick Library Available? Yes
- Are Pretty Permalinks Supported? Yes
I would appreciate any guidance on identifying the problem and how to resolve it. Thank you!
The topic ‘Issue with REST API and Loopback in WordPress Installed on Windows Server’ is closed to new replies.