wp2static icon indicating copy to clipboard operation
wp2static copied to clipboard

Conflict when site's host/domain is contained with the site's filepath?

Open Berndinox opened this issue 5 years ago • 2 comments

PHP Fatal error:  Uncaught WP2StaticGuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: DOMAIN.athttp (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://DOMAIN.athttp/DOMAIN.at/wp-content/cache/autoptimize/css/autoptimize_0e4995f032f1833c086a87b10c3cee29.css in /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlFactory.php:210
Stack trace:
#0 /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlFactory.php(158): WP2StaticGuzzleHttp\Handler\CurlFactory::createRejection()
#1 /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlFactory.php(110): WP2StaticGuzzleHttp\Handler\CurlFactory::finishError()
#2 /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlHandler.php(47): WP2Static in /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlFactory.php on line 210

I can resolv the hostname without any issue...

Would love to get wp2static running, just for one time...

image

Berndinox avatar Dec 13 '20 21:12 Berndinox

Hi @Berndinox,

Could you please share a bit more info about your setup?

Sounds a bit like an old issue where the domain being with the filepath throws it off, maybe something to try. Ie domainat vs domain.at in your setup.

leonstafford avatar Dec 13 '20 22:12 leonstafford

Hy @leonstafford - thanks for responsing, superfast..

I do use CloudPanel.io (Lighweight Hosting Panel) - its their default to put the full domain-name into the path. I will look into if i can change that behaivor.

BR B

Berndinox avatar Dec 14 '20 07:12 Berndinox