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?
Cette question a été signalée
1
Répondre
3071
Vues
Hi,
The connection issue may be caused by one of the following:
- 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.
- 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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
2
août 25
|
3943 | ||
|
|
2
déc. 24
|
4036 | ||
|
|
3
févr. 25
|
5661 | ||
|
|
0
mai 24
|
46 | ||
|
|
1
avr. 24
|
4965 |