Unable to generate static assets, error 500

Hi,

I’m using Local by Flywheel with the following setup:
image

I downloaded and activated the Netlify add-on. But I had the same problem when I tried without it being activated (launched it first, thinking it was activated by default):
I click on generate but I keep getting the server 500 error with max_time exceeded.

I checked the server log, here is what comes out:
"
2022/08/31 16:04:21 [warn] 15528#9468: *118 a client request body is buffered to a temporary file C:\Users\Passant\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000001, client: 127.0.0.1, server: installing-muscle-simply-pro.local, request: “POST /wp-admin/admin-ajax.php?action=ai1wm_import&ai1wm_import=1 HTTP/2.0”, host: “installing-muscle-simply-pro.local”, referrer: “https:// installing-muscle-simply-pro.local/wp-admin/admin.php?page=ai1wm_import”

2022/08/31 16:22:05 [warn] 15528#9468: *504 a client request body is buffered to a temporary file C:\Users\Passant\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000002, client: 127.0.0.1, server: installing-muscle-simply-pro.local, request: “POST /wp-json/wp/v2/pages/146/autosaves?_locale=user HTTP/2.0”, host: “installing-muscle-simply-pro.local”, referrer: “https:// installing-muscle-simply-pro.local/wp-admin/post.php?post=146&action=edit”

2022/08/31 17:11:36 [error] 15528#9468: *1508 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: installing-muscle-simply-pro.local, request: “GET /favicon.ico HTTP/2.0”, upstream: “http:// 127.0.0.1:10004/favicon.ico”, host: “installing-muscle-simply-pro.local”, referrer: “https:// installing-muscle-simply-pro.local/wp-login.php?action=logout&_wpnonce=cb2a73434b”

2022/08/31 17:22:22 [crit] 18952#9752: *285 SSL_write() failed (10053: An established connection was aborted by the software in your host machine) while sending to client, client: 127.0.0.1, server: installing-muscle-simply-pro.local, request: “GET / HTTP/1.1”, upstream: “http:// 127.0.0.1:10004/”, host: “installing-muscle-simply-pro.local”, referrer: “https:// installing-muscle-simply-pro.local/”

2022/08/31 17:53:29 [warn] 18952#9752: *5 a client request body is buffered to a temporary file C:\Users\Passant\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000001, client: 127.0.0.1, server: installing-muscle-simply-pro.local, request: “POST /wp-admin/update.php?action=upload-plugin HTTP/2.0”, host: “installing-muscle-simply-pro.local”, referrer: “https:// installing-muscle-simply-pro.local/wp-admin/plugin-install.php”

2022/08/31 17:53:50 [warn] 18952#9752: *5 a client request body is buffered to a temporary file C:\Users\Passant\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000002, client: 127.0.0.1, server: installing-muscle-simply-pro.local, request: “POST /wp-admin/update.php?action=upload-plugin HTTP/2.0”, host: “installing-muscle-simply-pro.local”, referrer: “https:// installing-muscle-simply-pro.local/wp-admin/plugin-install.php”
"

On the other hand, here is the PHP error log:
"
#0 C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php(158): WP2StaticGuzzleHttp\Handler\CurlFactory::createRejection(Object(WP2StaticGuzzleHttp\Handler\EasyHandle), Array)
#1 C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php(110): WP2StaticGuzzleHttp\Handler\CurlFactory::finishError(Object(WP2StaticGuzzleHttp\Handler\CurlHandler), Object(WP2StaticGuzzleHttp\Han in C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php on line 210
[31-Aug-2022 16:48:47 UTC] PHP Fatal error: Uncaught WP2StaticGuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 600006 milliseconds with 0 bytes received (see https:// curl.haxx.se/libcurl/c/libcurl-errors.html) for https:// installing-muscle-simply-pro.local/sitemap.xml in C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php:210
Stack trace:
#0 C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php(158): WP2StaticGuzzleHttp\Handler\CurlFactory::createRejection(Object(WP2StaticGuzzleHttp\Handler\EasyHandle), Array)
#1 C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php(110): WP2StaticGuzzleHttp\Handler\CurlFactory::finishError(Object(WP2StaticGuzzleHttp\Handler\CurlHandler), Object(WP2StaticGuzzleHttp\Han in C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php on line 210
[31-Aug-2022 17:16:40 UTC] PHP Fatal error: Uncaught WP2StaticGuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 600006 milliseconds with 0 bytes received (see https:// curl.haxx.se/libcurl/c/libcurl-errors.html) for https:// installing-muscle-simply-pro.local/sitemap.xml in C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php:210
Stack trace:
#0 C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php(158): WP2StaticGuzzleHttp\Handler\CurlFactory::createRejection(Object(WP2StaticGuzzleHttp\Handler\EasyHandle), Array)
#1 C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php(110): WP2StaticGuzzleHttp\Handler\CurlFactory::finishError(Object(WP2StaticGuzzleHttp\Handler\CurlHandler), Object(WP2StaticGuzzleHttp\Han in C:\Users\Passant\Local Sites\installing-muscle-simply-pro\app\public\wp-content\plugins\wp2static\vendor\leonstafford\wp2staticguzzle\src\Handler\CurlFactory.php on line 210
"

Please, could you help me figure out what’s happening?
Thank you very much in advance!

P.S.: I added a space after each “https://” in the log messages because of the max 2 links restriction