• Resolved Foococo

    (@simplefootball)


    Hi,

    In the core version, I’m facing a REST API/Loopback error. I figured out what plugin was causing the error and opened a ticket on the plugin’s side back in July.

    After extensive research from their side, they came back to me saying that “Health Check does not check if a session is active before testing the REST API (get_test_rest_availability). If there’s one, cURL will time out due to the session exclusive lock”.

    Is this something that can be corrected on your side or should the plugin developper change something on his side?

    For my post to be complete, please note that the plugin in question is a social media plugin (to login via social media + resharing old post on social media).

    Thanks for your feedback
    Best regards

Viewing 1 replies (of 1 total)
  • Plugin Author Marius L. J.

    (@clorith)

    Hiya,

    This is a known thing, and intentional. The Health Check test mimics what WordPress does, and the session usage was discovered to be a limiting factor back in version 4.9

    There are also some core tickets relating to this, most recently https://core.trac.wordpress.org/ticket/47320 where we cover this, and that session use blocking it is when sessions are used incorrectly and should be fixed by the plugin and/or theme that is implementing them, and not by WordPress. Feel free to forward this to the author(s) in question.

Viewing 1 replies (of 1 total)

The topic ‘REST API/Loopback request error’ is closed to new replies.