تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5360 أدوات العرض

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 !

الصورة الرمزية
إهمال
أفضل إجابة

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! :)

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
أبريل 23
16993
0
نوفمبر 18
4097
1
نوفمبر 22
3252
2
أغسطس 22
7588
1
يناير 25
9297