yumauri / gotenberg-js-client

A simple JS/TS client for interacting with a Gotenberg API
MIT License
111 stars 9 forks source link

Cannot convert xls file due to "context deadline exceeded" #7

Closed billkim84 closed 4 years ago

billkim84 commented 4 years ago

I'm trying to convert xls file(185KB) but always got "context deadline exceeded" error.

I set timeout 30 and pageRanges '1-10' but no luck.

tested using thecodingmachine/gotenberg:6

curl --request POST \ --url http://localhost:3001/convert/office \ --header 'Content-Type: multipart/form-data' \ --form files=@test.xls \ --form waitTimeout=30 \ --form pageRanges='1-10' \ -o result.pdf

in the excel file there are 1656 rows and 3 columns. Looks like this. image

Is there any way to set timeout more than 30 seconds, or any way to convert partial without "context deadline exceeded" error???

billkim84 commented 4 years ago

When I use thecodingmachine/gotenberg:5, it converts excel file without any issue.

yumauri commented 4 years ago

Hello, @billkim84 ! I guess, this should be reported to Gotenberg itself, I'm not taking any part in Gotenberg's development, gotenberg-js-client is just client ;)

billkim84 commented 4 years ago

Hi, @yumauri

I thought I was in Gotenberg repository. :sweat_smile:

Thank you!!