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

I am trying to send a GET request to another external API, but the call always errors out with Connection Refused. I have tested the external API endpoint in Postman, with no issues. Is there any setting in Odoo that would allow an external API request to go through?

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

Hi,

The connection issue may be caused by one of the following:

  1. Base URL using HTTP instead of HTTPS – If the external API only supports HTTPS, calling it over HTTP could result in a Connection Refused error. This should be updated to the correct secure endpoint.
  2. Missing or incorrect dbfilter configuration – 'dbfilter ' is mainly needed when running multiple databases to ensure Odoo routes requests to the correct database. While it does not directly control outbound API calls, a wrong configuration could cause requests to be processed in the wrong database context, potentially impacting API-related workflows

Hope it helps


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
2521
2
thg 12 24
2293
3
thg 2 25
3824
0
thg 5 24
46
1
thg 4 24
3522