Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Context deadline exceeded- goteberg api (/forms/libreoffice/convert)

I am trying to convert ms-office files to pdf using gotenberg api. For some files, i am getting unoconv PDF context deadline exceeded with 503 status. I have increased the read, write and process timeout to 60 secs. How can i resolve this issue? What is the the maximum time take to convert the file? What is the maximum request can be handled by one gotenberg instance?

like image 201
I Iswarya Avatar asked Oct 23 '25 02:10

I Iswarya


1 Answers

Try increase timeout in gotenberg by passing --api-timeout to the container start command

gotenberg:
  image: gotenberg/gotenberg:7
  command: gotenberg --log-level=info --api-timeout 400s
like image 113
Ryabchenko Alexander Avatar answered Oct 25 '25 17:10

Ryabchenko Alexander