Hi,
Today we resolved this issue, and I wanted to post the solution here:
Unexpectedly, it appeared to be related with an ssl problem in the configuration of the site.
I had seen some plugins giving this error:
Error: cURL error 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (http_request_failed)
So that made some cURL calls to fail, hang…
This was supposed to affect the cUrl call that wpscan does in order to get the information, so it halted there and made it break.
Last time I saw this error was in the WordPress health summary, telling me that it could not connect with that “SSL handshake” error.
The clue for me was that the Siteground plugin “SG Optimizer” failed when trying to enable ssl, telling that there was some ssl certificate error.
Finally with that error, I was able to open a ticket to SG support and they resolved it with the following diagnostic:”Regarding the WordPress Site Health and the error message and the cURL error 35, the Cloudflare DNS records were pointing in the DNS zone with us and that was caused the issue. The Cloudflare records were removed for the DNS zone with us and now the error isn’t showing up.”
After doing that, The WordPress health error dissapeared, and the WPSCAN plugin began to work fine!
So finally I can confirm it is resolved / working now for me, and I’m giving you the information I got so maybe it can be of help to anyone.
Thank you to the WPScan support crew, who really tried to resolve this, and to the Siteground support, that finally got the error and where able to give me a solution.