Steps to Reproduce:
- Run proton with debian buster, node 10.15.1 and bump puppeteer to 1.20.0
- Access http://localhost:3030/en.wikipedia.org/v1/pdf/Barack_Obama/letter
Actual Results:
Result from the request is:
```
{
name: "HTTPError",
message: "500",
status: 500,
detail: "Internal Server Error"
}
```
Servers log:
```
{"name":"proton","hostname":"82a50cad1e5b","pid":329,"level":50,"msg":"Unexpected error: Error: net::ERR_INVALID_ARGUMENT at https://en.wikipedia.org/w/index.php?title=Barack_Obama","trace":"Error: net::ERR_INVALID_ARGUMENT at https://en.wikipedia.org/w/index.php?title=Barack_Obama\n at navigate (/opt/service/node_modules/puppeteer-core/lib/FrameManager.js:120:37)\n at process._tickCallback (internal/process/next_tick.js:68:7)\n -- ASYNC --\n at Frame.<anonymous> (/opt/service/node_modules/puppeteer-core/lib/helper.js:111:15)\n at Page.goto (/opt/service/node_modules/puppeteer-core/lib/Page.js:674:49)\n at Page.<anonymous> (/opt/service/node_modules/puppeteer-core/lib/helper.js:112:23)\n at puppeteer.launch.then.then.then.then.then.then (/opt/service/lib/renderer.js:181:30)\n at process._tickCallback (internal/process/next_tick.js:68:7)","levelPath":"error/request","time":"2020-01-07T15:59:51.378Z","v":0}
```
Expected Results:
- Request returns PDF
Notes:
- Removing the [[ https://github.com/wikimedia/mediawiki-services-chromium-render/blob/master/lib/renderer.js#L180 | line ]] that set extra http headers, fix the issue.
- Chromium is not accepting host header sent from puppeteer