miled / wordpress-social-login

WordPress Social Login
http://miled.github.io/wordpress-social-login/
MIT License
399 stars 235 forks source link

WSL v3.0.1 conflict with WordPress Site health tool REST API Curl error #333

Closed jimi008 closed 3 years ago

jimi008 commented 4 years ago

The REST API request failed due to an error. Error: [] cURL error 28: Operation timed out after 10003 milliseconds with 0 bytes received

WSL 3.0.1 conflict with WordPress REST API and CURL. WordPress Sitehealth tool not working and throw curl error. After disabling WSL issue fixed and error gone.

After debugging, Its seems this is something related to 'PHP Sessions' and to fix this for now install WordPress Native PHP Sessions plugin and then activate WSL, this time it will not cause any error.

May be need to implement PHP’s native session handler, backed by the WordPress database. This allows to safely use PHP $_SESSIONs in a distributed environment where PHP’s default tempfile storage just won’t work.

https://wordpress.org/plugins/wp-native-php-sessions/

ghost commented 4 years ago

Hello @jimi008 Thanks to you I solved the problem, but is there a solution without using the plugin?

Also I have this problem:

image

ghost commented 4 years ago

@miled

ghost commented 4 years ago

@jimi008