Hi @sjswarts,
It certainly looks like you’ve tried a good number of possible solutions from previous similar issues. I think that it may be a good option to look at your site configuration myself so I don’t try to cover similar ground without knowing a bit more about your site. Can you please send a diagnostic report to wftest @ wordfence . com?
You can find the link to do so at the top of the Wordfence Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.
Note: For the fastest response time, please make sure and add any information or questions directly to this topic and not the email address above unless asked.
Thanks,
Peter.
Thread Starter
Telx
(@sjswarts)
G’day Peter,
Thanks for the response. I’ve sent the diagnostics to the email address mentioned.
Received “Diagnostic report has been sent successfully.” so I’m assuming it has been sent.
Thread Starter
Telx
(@sjswarts)
@wfpeter any update mate?
Hi @sjswarts,
I have been catching up with some annual leave and have had some feedback from our team regarding your diagnostic.
I am seeing the 400 error occur and the page received when running the “Connecting back to this site” test. However, if I try to make the same call myself in a browser, I get a 200 OK response so the endpoint is visible and your site is responding as normal to external requests.
When this check works from a browser, and not from the server itself, the server may be connecting to a different server. For example, if its IP was changed and it has an entry in /etc/hosts for its own domain, pointing to the old IP. This is a problem that cropped up recently and was solved by fixing the hosts file. It’s also possible a plugin is changing the wp-admin/ URL in a way that Wordfence can’t see, but usually we’d expect a 404 or 200 response instead. There could be other causes in plugins or themes too so disabling every plugin except for Wordfence and switching to a default theme such as Twenty Twenty-One could help. If the connection works under those conditions, re-enable your plugins one-by-one and finally your theme to see when the connection starts presenting the 400 error again.
Thanks again,
Peter.
Thread Starter
Telx
(@sjswarts)
@wfpeter – hope you had a relaxing time mate.
Thanks also for getting back to me.
I don’t know why but it is working now? I checked yesterday (haven’t checked since my previous response) and it is all good.
Don’t know what changed, but all is well now.