gpt4 book ai didi

php - 网关超时 :The gateway did not receive a timely response from the upstream server

转载 作者:可可西里 更新时间:2023-11-01 12:21:25 26 4
gpt4 key购买 nike

我一次用一个 url 发送 300 封时事通讯,2 分钟后它会再次刷新自己以发送下 300 封,依此类推。

但是我收到了这个错误:

Gateway Time-out

The gateway did not receive a timely response from the upstream server or application.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

我已将最大执行设置为 3600

ini_set('max_execution_time', 3600);

但我经常遇到同样的错误。请帮助我找出解决方案。

最佳答案

我遇到了同样的问题,我使用 ini_set('default_socket_timeout', 6000); 来修复它。 http://php.net/manual/en/filesystem.configuration.php#ini.default-socket-timeout

关于php - 网关超时 :The gateway did not receive a timely response from the upstream server,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20471736/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com