Issue with loopback requests
-
Smush plugin says
Your site seems to have an issue with loopback requests.
We could not find any images in the selected directory. (Already has 1000 images)I use the Solid Security plugin and the PHP version 8.4.3 (Supports 64bit values)
-
I checked under Tools > Site Health in my WP dashboard no loopback errors were reported. (Passed Tests)
I use WordPress Version 6.8.1Imagify Image Optimization works well.
Hi @softfully ,
I hope you’re doing well.
We need you to check a few things here in this case, possibly with your Hosting Support.
Could you please check this and let us know if it helps? https://wpmudev.com/docs/wpmu-dev-plugins/smush/#loopback-request-issue
I hope to hear back from you soon.
Best Regards,
Williams ValerioBut in the previous version, it was working well. The Site Health test is passed.
Hi @softfully
Thank you for the update.
I understand the previous version was working well but we still need to run some tests to understand why the current one isn’t, with that then we can look into specific scenario and try to replicate the issue.
Could you add the below code as a mu-plugin https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
<?php add_action( 'init', function(){ if( isset( $_GET['wpmudev-test-loopback'] ) ){ echo '<pre>'; $response = wp_remote_get( get_site_url() ); print_r( $response ); exit; } } );Then access the home page using yoursite/?wpmudev-test-loopback, take a screenshot and share it with us.
Could you also try to flush all the browser cookies, https://www.hellotech.com/guide/for/how-to-clear-cookies-chrome-safari-mozilla-firefox-edge and log in back to WordPress and see if makes any difference? We had a case in the past of one of Cookies causing the loopback but it was related to a 3rd party cookie.
Let us know the result you get.
Best Regards
Patrick FreitasHello @softfully
Thank you for sharing the test results.
The test doesn’t show any errors however the issue might be related to a security plugin or your hosting firewall, could you please try temporarily disabling your security plugin to see how it works?
If that wasn’t helpful, please install WP Crontrol plugin and go to tools -> cron events and look for any errors.
https://ww.wp.xz.cn/plugins/wp-crontrol/Kind Regards
AminI have tried to disable the “Solid Security” plugin with no success, but I already told you that the previous version was working with the security plugin enabled. I don’t have a hosting firewall facility.
Hello @softfully
We already ran lots of tests using the latest version on our end, but could not notice issue, also since we don’t have any similar reports that suggest the issue is isolated to your site.
For testing purposes, you can download the previous version from the following and go to wp-admin -> plugins -> add plugin and upload the zip file, WordPress will then ask if you want to replace plugin with older versions.
https://downloads.wp.xz.cn/plugin/wp-smushit.3.18.0.zipPlease let us know how it works and if you are still having issues its better to run a full conflict test.
https://wpmudev.com/docs/getting-started/getting-support/#conflict-testKind Regards
AminHi @softfully
We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!
Kind Regards,
Kris
The topic ‘Issue with loopback requests’ is closed to new replies.