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

Odoo 11.0

Hi, i got product from Odoo by API code, its working fine for 1000 products.

but, suffering error like 'The operation has timed out.' while try to got 2000 products from odoo by API

Is this any parameter to set timeout while web response getting from Odoo ?

Thanks, any help would be appreciated !

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

Hi, I think the issue with timeout is not coming from Odoo, but from one of middle web-servers or proxies or API client in between, like nginx, apache, curl whatsoever. So, you can try to solve this two ways:

1) try to find the entity causing this timeout issue (I would start from curl if you're using it and then nginx)

2) get products in a cycle in a few pages

Hope this helps.

PS: if you like the answer - please upvote it! Thanks! :)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 23
17016
0
thg 11 18
4113
1
thg 11 22
3289
2
thg 8 22
7613
1
thg 1 25
9317