The server was not able to produce a timely response to your request

编程入门 行业动态 更新时间:2024-10-17 15:27:39

The server was not able to <a href=https://www.elefans.com/category/jswz/34/1730368.html style=produce a timely response to your request"/>

The server was not able to produce a timely response to your request

如果使用的jobserver的同步提交任务,像这样:

jobserver主机域名/jobs?...&sync=true&timeout=1000

虽然这里指定了等待1000秒,但是出现了标题中的超时问题,这时需要修改jobserver的配置文件:

位于jobserver目录的yarn.conf

spray.can.server {# Debug timeoutsidle-timeout = 60 srequest-timeout = 40 s
}

默认40秒就会超时,要改参数这2个都得改,而且idle-timeout得比request-timeout 大:

spray.can.server {# Debug timeoutsidle-timeout = 1200 srequest-timeout = 1000 s
}

更多推荐

The server was not able to produce a timely response to your request

本文发布于:2024-02-06 11:57:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1748920.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:produce   server   timely   request   response

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!