Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
149073 Lượt xem

Hi there.

After install nginx and setup reverse proxy for my instance, I am gettings a timeout error whille installing a module.

I have tested directly by instance IP address and it works fine.

The message is:

XmlHttpRequestError Gateway Time-out

<html>

<head><title>504 Gateway Time-out</title></head>

<body bgcolor="white">

<center><h1>504 Gateway Time-out</h1></center>

<hr><center>nginx/1.4.6 (Ubuntu)</center>

</body>

</html>

<!-- a padding to disable MSIE and Chrome friendly error page -->

<!-- a padding to disable MSIE and Chrome friendly error page -->

<!-- a padding to disable MSIE and Chrome friendly error page -->

<!-- a padding to disable MSIE and Chrome friendly error page -->

<!-- a padding to disable MSIE and Chrome friendly error page -->

<!-- a padding to disable MSIE and Chrome friendly error page -->


Can anyone help me please.

Thank you in advance


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

This happens because of nginx need a timeout to know if the servers proxied is processing or not the request. You can increase it to match your needs. I use this value for Odoo in nginx "location /"

proxy_read_timeout 300000;

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you Axel. It solved my problem.

Thank you Axel. This solved my problems importing large CSV files to Odoo while using NGINX HTTPS Proxy.

I'm glad that this are solving problems

Hello Axel

Can you share your nginx configuration file for odoo and also odoo configuration file.

I tried your solution but is not working. I may do something wrong

Câu trả lời hay nhất

Hi, you can follow this: https://youtu.be/-3wV7A_4s-w

Hope it helps

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Thank you Axel. This solved my problems importing large CSV files to Odoo while using NGINX HTTPS Proxy . too...

Sharing Knowledge is great!

Ảnh đại diện
Huỷ bỏ

Glad to know that my contributions are still helping people after 5 years

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 25
1341
0
thg 1 25
3431
2
thg 9 24
2436
1
thg 5 24
3618
2
thg 5 24
14921