schickling/chromeless

'Unknown S3 Content type text/html' with .await chromeless.htmlUrl()

blacelle opened this issue · 2 comments

This is a (Bug Report / Feature Proposal)

Description

I tried the feature merged in #274, i.e. saving HTML content into S3. I get an error with the message

Error: Unknown S3 Content type text/html

In CloudWatch, I can see:

2018-01-23T19:04:13.095Z 312697ed-0070-11e8-ac4b-b9ec7155918c Chrome error
{}

I rely on chromeless 1.5.0

For an unknown reason, this seems related to the usage of a proxy. Without proxy, saving of HTML is OK. My proxy configuration seems wrong as the HTML remains
<html><head></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"></pre></body></html> while screenshots are white-only.

I close this as the .getHtml issue reported here is certainly not relevant