0.3.13 版本60S超时问题 #647

Closed
opened 2026-02-21 17:27:53 -05:00 by yindo · 5 comments
Owner

Originally created by @zfno111 on GitHub (Nov 2, 2023).

Originally assigned to: @takatost, @crazywoola on GitHub.

Provide a description of the help you need

目前版本是0.3.13
使用api 目前60s就会超时。 请问下这个配置需要如何修改呢?
(目前已经确定不是nginx问题 是api端主动断开的)

Originally created by @zfno111 on GitHub (Nov 2, 2023). Originally assigned to: @takatost, @crazywoola on GitHub. ### Provide a description of the help you need 目前版本是0.3.13 使用api 目前60s就会超时。 请问下这个配置需要如何修改呢? (目前已经确定不是nginx问题 是api端主动断开的)
yindo closed this issue 2026-02-21 17:27:53 -05:00
Author
Owner

@crazywoola commented on GitHub (Nov 3, 2023):

云端版本也是吗?

@crazywoola commented on GitHub (Nov 3, 2023): 云端版本也是吗?
Author
Owner

@ze00ro commented on GitHub (Nov 7, 2023):

openai_model.py 里有个 request_timeout, 那里设置的 60s

@ze00ro commented on GitHub (Nov 7, 2023): openai_model.py 里有个 request_timeout, 那里设置的 60s
Author
Owner

@ze00ro commented on GitHub (Nov 7, 2023):

不过我设置到240仍然偶尔 timeout,
然后我加了个 retry=2, 但是程序走到retry的时候会报错. 说callback没有on_retry方法.
但是看langchain的callback接口里也没有on_retry啊?

@ze00ro commented on GitHub (Nov 7, 2023): 不过我设置到240仍然偶尔 timeout, 然后我加了个 retry=2, 但是程序走到retry的时候会报错. 说callback没有on_retry方法. 但是看langchain的callback接口里也没有on_retry啊?
Author
Owner

@crazywoola commented on GitHub (Nov 8, 2023):

To better assist you and to accurately reproduce the scenario you're facing, we would greatly appreciate it if you could provide us with a few more details regarding your setup.

Could you kindly share the following information:

The exact steps you followed leading up to the issue.
The parameters and arguments you used when encountering the problem.
The specific model and configuration you are utilizing.
Any other context or settings that might be relevant.

@crazywoola commented on GitHub (Nov 8, 2023): To better assist you and to accurately reproduce the scenario you're facing, we would greatly appreciate it if you could provide us with a few more details regarding your setup. Could you kindly share the following information: The exact steps you followed leading up to the issue. The parameters and arguments you used when encountering the problem. The specific model and configuration you are utilizing. Any other context or settings that might be relevant.
Author
Owner

@zfno111 commented on GitHub (Nov 14, 2023):

openai_model.py 里有个 request_timeout, 那里设置的 60s 通过修改这个参数有效 希望后期版本把这个参数提炼到config里面, 目前docker 只能把这个配置映射出来处理 比较麻烦。

@zfno111 commented on GitHub (Nov 14, 2023): openai_model.py 里有个 request_timeout, 那里设置的 60s 通过修改这个参数有效 希望后期版本把这个参数提炼到config里面, 目前docker 只能把这个配置映射出来处理 比较麻烦。
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#647