504网关超时 Ubuntu中文论坛

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

504网关超时 Ubuntu中文论坛

#1

帖子 寺島聰子 » 2017-11-19 0:21

http://forum.ubuntu.com.cn
にアクセスしようとすると
"504 Gateway Time-out"と表示されて、 たまにしかつながりません。
どうすればいいでしょうか?
http://forum.ubuntu.com.cn
Attempting to access
"504 Gateway Time-out" is displayed and it will only connect occasionally.
What should I do?
头像
九天星
帖子: 1440
注册时间: 2007-07-14 20:45

Re: 504网关超时 Ubuntu中文论坛

#2

帖子 九天星 » 2017-11-19 1:59

很正常,我一天遇到十几次,这个论坛服务器在美国
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 504网关超时 Ubuntu中文论坛

#3

帖子 poloshiao » 2017-11-19 9:16

https://stackoverflow.com/questions/108 ... eout-error
Is there any way I can make the error 504 gateway timeout longer ...
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 504网关超时 Ubuntu中文论坛

#4

帖子 寺島聰子 » 2017-11-19 22:07

Depending on the kind of gateway you have you should use something like:

proxy_read_timeout 600;
ごめんなさい。意味がわかりませんでした。我很抱歉 我不明白这个意思。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 504网关超时 Ubuntu中文论坛

#5

帖子 poloshiao » 2017-11-20 11:16

http://forum.ubuntu.com.cn
にアクセスしようとすると
"504 Gateway Time-out"と表示されて、 たまにしかつながりません。
どうすればいいでしょうか?
0. This problem had better be answered by the administration team of http://forum.ubuntu.com.cn

1. http://forum.ubuntu.com.cn is serviced with cloudflare-nginx.

1-1. curl -I forum.ubuntu.com.cn | grep Server
Server: cloudflare-nginx

2. http://nginx.org/en/docs/http/ngx_http_ ... ad_timeout
Module ngx_http_proxy_module
The ngx_http_proxy_module module allows passing requests to another server.
proxy_read_timeout 600;
3. http://nginx.org/en/docs/http/ngx_http_ ... ad_timeout

代码: 全选

Syntax: 	proxy_read_timeout time;
Default: 	proxy_read_timeout 60s;
Context: 	http, server, location
Defines a timeout for reading a response from the proxied server. The timeout is set only between two successive read operations, not for the transmission of the whole response. If the proxied server does not transmit anything within this time, the connection is closed.

4. https://www.nginx.com/resources/wiki/co ... p-proxying
HTTP Proxying
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 504网关超时 Ubuntu中文论坛

#6

帖子 寺島聰子 » 2017-11-28 23:22

最後我可以看到這個論壇。 我很遺憾,答復被延遲了。
引用:
proxy_read_timeout 600;

3. http://nginx.org/en/docs/http/ngx_http_ ... ad_timeout
代码:
Syntax: proxy_read_timeout time;
Default: proxy_read_timeout 60s;
Context: http, server, location
你是否想要自己改變你的操作系統?
お手数おかけしまして、恐縮です。
对不起,麻烦你,我们很遗憾。
onlylove
论坛版主
帖子: 5230
注册时间: 2007-01-14 16:23

Re: 504网关超时 Ubuntu中文论坛

#7

帖子 onlylove » 2017-11-29 10:05

You can use forum.ubuntu.org.cn instead,if it still does not work, then just wait a minute
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 504网关超时 Ubuntu中文论坛

#8

帖子 寺島聰子 » 2018-01-03 11:31

新年快樂 :Haha
親愛的onlylove
あなた方Ubuntu中国語フォーラムのみなさまは、なんの得もなくとも、孤独な人を助ける。あなたたちは福徳を積み、人々に愛せられることでしょう。
You members of the Ubuntu Chinese Forum will help lonely people despite having no benefit to themselves. You will be able to accumulate fortune and be loved by people.
onlylove
论坛版主
帖子: 5230
注册时间: 2007-01-14 16:23

Re: 504网关超时 Ubuntu中文论坛

#9

帖子 onlylove » 2018-01-09 21:20

寺島聰子 写了:新年快樂 :Haha
親愛的onlylove
あなた方Ubuntu中国語フォーラムのみなさまは、なんの得もなくとも、孤独な人を助ける。あなたたちは福徳を積み、人々に愛せられることでしょう。
You members of the Ubuntu Chinese Forum will help lonely people despite having no benefit to themselves. You will be able to accumulate fortune and be loved by people.
謹賀新年 hope that I'm not too late
回复