forked from Fix Local SSL Requests™
SecureSite Connect is not affiliated with Fix Local SSL Requests. The name and any related trademarks are used solely for nominative descriptive purposes.
This is a documented solution for developers encountering failures in scheduled background tasks when running a local site over HTTPS. It addresses a specific conflict where the internal communication system lacks SSL certificates, preventing tasks from executing. The solution involves applying a small code modification to force the system to use HTTP for these internal requests, resolving the connection error.
Code snippet: The core of the solution is a provided PHP code filter that changes the protocol of the internal task request URL from HTTPS to HTTP. Local development focus: Specifically targets the common scenario of developing on a local machine with a self-contained environment using HTTPS. Simple implementation: The fix can be added directly to a theme file or within a small custom plugin, requiring minimal setup. Verified result: The solution has been confirmed by multiple users to resolve the connection error and restore normal task execution. Contextual explanation: Includes background on why the error occurs, clarifying that the SSL certificates are not available for internal container communications within the local environment.
Version
Original
Updated
Version
Original
Updated
Version
Original
Updated