Skip to content

PHP Node: wp_remote_get fails with some URLs with "fsocket timed out" error #1247

Open
@MocioF

Description

@MocioF

To track this issue, please try this plugins https://github.com/MocioF/test-wp-playground.
To test it with wp-now:

$ git clone https://github.com/MocioF/test-wp-playground.git
$ cd test-wp-playground
$ npx @wp-now/wp-now start --reset --blueprint=./assets/blueprints/blueprint.json

With these URLs: https://github.com/MocioF/test-wp-playground/blob/b3677dc27ca54db4599fb7bcbf6889463f1c6807/test-wp-playground.php#L42-L43
wp_remote_get works on a standard WordPress installation, but fails when you run it on playground.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions