You have to add the hostname in your siteconfig file. Check this Wkhtmltopdf layout error - #4 by lasalesi