-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
We are seeing a timeout error on a large HTML payload. Hope someone can help
I am using curl to test this, and my curl command is:
curl -vv --data @./jsoncontent.json -H "Content-Type: application/json" --output /tmp/error -XPOST "http://localhost:2305/1/pdf"
* We are completely uploaded and fine
100 18.7M 0 0 100 18.7M 0 578k 0:00:33 0:00:33 --:--:-- 0< HTTP/1.1 500 Internal Server Error
< Content-Type: application/json; charset=utf-8
< Content-Length: 68
< Date: Fri, 11 Oct 2024 06:07:07 GMT
< Connection: keep-alive
< Keep-Alive: timeout=5
<
{ [68 bytes data]
100 18.7M 100 68 100 18.7M 2 566k 0:00:34 0:00:33 0:00:01 18
The error output from the docker container is:
pdfgen-1 | [2024-10-11T06:06:21] INFO Started on port //0.0.0.0:2305
pdfgen-1 | [2024-10-11T06:07:07] ERROR TimeoutError: Timed out after waiting 30000ms
pdfgen-1 | at /service/node_modules/puppeteer-core/lib/cjs/puppeteer/common/util.js:289:19
pdfgen-1 | at /service/node_modules/puppeteer-core/lib/cjs/third_party/rxjs/rxjs.js:4080:35
pdfgen-1 | at OperatorSubscriber2._this._next (/service/node_modules/puppeteer-core/lib/cjs/third_party/rxjs/rxjs.js:1074:13)
pdfgen-1 | at Subscriber2.next (/service/node_modules/puppeteer-core/lib/cjs/third_party/rxjs/rxjs.js:695:16)
pdfgen-1 | at AsyncAction2.<anonymous> (/service/node_modules/puppeteer-core/lib/cjs/third_party/rxjs/rxjs.js:4977:24)
pdfgen-1 | at AsyncAction2._execute (/service/node_modules/puppeteer-core/lib/cjs/third_party/rxjs/rxjs.js:2020:16)
pdfgen-1 | at AsyncAction2.execute (/service/node_modules/puppeteer-core/lib/cjs/third_party/rxjs/rxjs.js:2009:26)
pdfgen-1 | at AsyncScheduler2.flush (/service/node_modules/puppeteer-core/lib/cjs/third_party/rxjs/rxjs.js:2289:30)
pdfgen-1 | at listOnTimeout (node:internal/timers:573:17)
pdfgen-1 | at process.processTimers (node:internal/timers:514:7) {
pdfgen-1 | [cause]: undefined
pdfgen-1 | }
pdfgen-1 | [2024-10-11T06:07:07] ERROR POST 500 /1/pdf 33945ms 68B
Metadata
Metadata
Assignees
Labels
No labels