• Resolved EMar

    (@sounds)


    Hi,

    I’m trying to locate an issue causing my site content to not update properly,

    When running Health Check I found a few issues with REST API and Loopbacks failing,
    I ran a test on individual plugins and pinpointed 3 plugins that caused the issue.

    When I enabled Wise Chat Pro plugin, the results in Health Check are:

    The REST API request failed due to an error.
    Error encountered: (0) cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

    The loopback request to your site failed, this may prevent WP_Cron from working, along with theme and plugin editors.
    Error encountered: (0) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received

    I ran an individual test on each plugin:

    Wise Chat Pro The loopback request to your site failed, this may prevent WP_Cron from working, along with theme and plugin editors.
    Error encountered: (0) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received

    Hope we can fix it,

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Same problem here, after upgrading from 4.x to 5.x

    Plugin Author Marcin

    (@marcinlawrowski)

    Hello @sounds and @olelasse,

    Please try to disable Collect User Statistics option (General Settings). Wise Chat requests an external service for IP geolocation in order to display city / country / flag on the users list.

    Thank you

    Thread Starter EMar

    (@sounds)

    Hey Marcin,

    Same result with that unticked.

    Same problem here as well.

    Not sure if this means anything, but as both me and @sounds have upgraded to 5.x, and The plugin reports as to only support 4.9.6, could there be a compatibility fault in the plugin? I was wondering to remove the plugin entirely, but i have users everyday using it, and it would be a shame to deactivate it.

    Thread Starter EMar

    (@sounds)

    Yea it’s a really nice chat plugin it’d be a shame to not use it because of one issue.
    But I’m sure we will get it sorted soon.

    Plugin Author Marcin

    (@marcinlawrowski)

    Hello @sounds and @olelasse,

    Is there any indication of what source file is causing the timeout?

    Thread Starter EMar

    (@sounds)

    Not much info other that what Health Check says.

    Site Status:

    REST API availability The REST API request failed due to an error.
    Error encountered: (0) cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

    Loopback request The loopback request to your site failed, this may prevent WP_Cron from working, along with theme and plugin editors.
    Error encountered: (0) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received

    Plugin Author Marcin

    (@marcinlawrowski)

    Hello @sounds and @olelasse,

    I have tested this and it is not strictly related to the chat, but it is related to the way Health Check is probing the site and the server. Wise Chat uses PHP sessions. Sessions are started using the standard session_start() PHP function. Many plugins or themes do this. There is nothing wrong both with the plugin and the site. I can assure you. All features work correctly. Sometimes session_start() function causes a delay on server and this is detected by Health Check plugin. The delay is caused by the server which manages sessions using files. A solution to this is a migration to other session handlers (like memcached) because any other plugin that starts PHP session may cause bad reports like these. Here are more details on why session_start() is delayed sometimes:

    https://stackoverflow.com/questions/10385582/session-start-seems-to-be-very-slow-but-only-sometimes
    https://ma.ttias.be/php-session-locking-prevent-sessions-blocking-in-requests/

    Thank you

    Thread Starter EMar

    (@sounds)

    Thanks for the info, I’m re checking some fetures on my site.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘REST API request failed and loopback request to your site failed’ is closed to new replies.