penthouse: error opening url - operation canceled
I am using penthouse with grunt - whenever we point penthouse to our local dev environment, we get these errors:
Error: Fontconfig warning: ignoring UTF-8: not a valid region tag
Error opening url 'https://www.dev.site.com/de': Operation canceled
This is how the grunt task is configured:
penthouse: {
corporate_index: {
outfile: './src/css/index/critical/index-critical.css',
css: './src/css/index/critical/index-complete.css',
url: 'https://www.dev.site.com/de',
width: 1920,
height: 1080,
skipErrors: false,
phantomJsOptions: {
'proxy-auth': 'penthouse:****'
}
}
}
What could cause the problem here? Is there any way to debug further, why penthouse or phantomjs can’t open the url?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (10 by maintainers)
I have the same problem, I’m also on mac. From the penthouse debug logs I get:
I added the log that outputs the htmlfile being worked on. There is a somewhat large css background image of around 472k in size that may be what’s causing the issue. I have tried to remedy this by adding a renderWait time of 35 seconds but I still get the error. Any help would be greatly appreciated.