Static WordPress Community

cURL error:Could not resolve host - appending folder to host?

Hi all. I’m trying to generate a static site and running into a strange error whether I use a ZIP or S3. The S3 upload actually does push my index.html file, but everything else fails. Looking at the Export log, it seems like there is an attempt to make a cURL request to my local IP with the folder appended with no separating slash. This continues for every path in my site.

In terms of my environment, I’m running WP inside a VM locally, and accessing the WP configuration page from a browser running on the host OS. A snippet of the log output is below. I really appreciate you providing this plugin, and any help is appreciated!

2020-11-30 02:48:19 	 Core,date,libxml,openssl,pcre,zlib,filter,hash,Reflection,SPL,session,sodium,standard,apache2handler,mysqlnd,PDO,xml,calendar,ctype,curl,dom,mbstring,fileinfo,ftp,gd,gettext,iconv,json,exif,mysqli,pdo_mysql,Phar,posix,readline,shmop,SimpleXML,sockets,sysvmsg,sysvsem,sysvshm,tokenizer,wddx,xmlreader,xmlwriter,xsl,Zend OPcache 	
2020-11-30 02:48:19 	 cURL error:Could not resolve host: 172.23.147.692014 	
2020-11-30 02:48:19 	 BAD RESPONSE STATUS (0): /2014/ 	
2020-11-30 02:48:19 	 cURL error:Could not resolve host: 172.23.147.692014 	
2020-11-30 02:48:19 	 BAD RESPONSE STATUS (0): /2014/12/ 	
2020-11-30 02:48:19 	 cURL error:Could not resolve host: 172.23.147.692014 	
2020-11-30 02:48:19 	 BAD RESPONSE STATUS (0): /2014/12/30/ 	
2020-11-30 02:48:19 	 cURL error:Could not resolve host: 172.23.147.692014 	
2020-11-30 02:48:19 	 BAD RESPONSE STATUS (0): /2014/12/first-post/ 	
2020-11-30 02:48:19 	 cURL error:Could not resolve host: 172.23.147.692014

Update: after deleting and installing the newest version of Static HTML Output I no longer encounter this error.

1 Like

Thanks for updating @SimpleDev! There was a bad release I rolled back, but latest source code is still in broken state a little longer until I apply a fix. Please let me know any other issues that pop up.