开发者

Sinatra - 504 Gateway Time-out The server didn't respond in time

开发者 https://www.devze.com 2023-03-17 14:05 出处:网络
I am running a sinatra application on server. Ofte开发者_如何学运维n it generates a time out error.

I am running a sinatra application on server. Ofte开发者_如何学运维n it generates a time out error.

504 Gateway Time-out The server didn't respond in time.

And some time it works well. I could not find out the cause of this. Any one please help me.


This happened because of high load. I've created 2 more instances of this (on haproxy). And increased the time out value. Now it works fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号