[英]Context deadline exceeded- goteberg api (/forms/libreoffice/convert)
I am trying to convert ms-office files to pdf using gotenberg api.我正在尝试使用 gotenberg api 将 ms-office 文件转换为 pdf。 For some files, i am getting unoconv PDF context deadline exceeded with 503 status.
对于某些文件,我收到 unoconv PDF 上下文截止日期超过 503 状态。 I have increased the read, write and process timeout to 60 secs.
我已将读取、写入和处理超时增加到 60 秒。 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?
一个 gotenberg 实例可以处理的最大请求是多少?
Try increase timeout in gotenberg by passing --api-timeout
to container start command尝试通过将
--api-timeout
传递给容器启动命令来增加 gotenberg 中的超时
gotenberg:
image: gotenberg/gotenberg:7
command: gotenberg --log-level=info --api-timeout 400s
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.