Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1491 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 24
2153
3
lut 25
3603
0
maj 24
46
1
kwi 24
3380
1
wrz 23
2317