[19.0] Unusual callback URL with Odoo 19.2 causing failure on BSD systems
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
Direzione di ricerca
The callback URL is built in the jobrunner.runner module of queue_job, which uses the configured http_interface, so start by reading how it picks the host. Reproduce by setting http_interface to 0.0.0.0 and checking the URL it requests. Done means the runner requests a reachable address when the interface is 0.0.0.0, and the workaround of setting host = localhost in odoo.rc still works.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
On a system updated to Odoo 19.2, the config "http_interface" is now set to "0.0.0.0" by default. This results in a unusual callback URL that fails on BSD systems.
Module
queue_job
Describe the bug
When jobrunner.runner constructs the callback URL to run a job, the constructed URL looks something like:
http://0.0.0.0:8069/queue_job/runjob?db=cmos&job_uuid=0cfa19cb-100f-4c8b-b9d3-d29df5abdc14
On BSD systems, this results in:
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='0.0.0.0', port=8069): Max retries exceeded with url: /queue_job/runjob?db=cmos&job_uuid=84495b18-dd11-48f0-9a9f-3497baf019a8 (Caused by NewConnectionError("HTTPConnection(host='0.0.0.0', port=8069): Failed to establish a new connection: [Errno 51] Network is unreachable"))
2026-05-13 01:24:42,894 12712 ERROR ? odoo.addons.queue_job.jobrunner.runner: exception in GET http://0.0.0.0:8069/queue_job/runjob?db=cmos&job_uuid=0cfa19cb-100f-4c8b-b9d3-d29df5abdc14
This behaviour is not observed on Linux systems; ie: http://0.0.0.0:8069 translates to http://localhost:8069 bypassing the exception.
Affected Versions
queue_job: 19.0.2.0.1
Workaround
Add the following to the odoo.rc file:
[queue_job]
host = localhost
Additional context
OS: FreeBSD 15/amd64
Python: 3.13
- Lingua principale
- Python
- Stelle
- 271
- Fork
- 602
- Merge medio
- 5g 1h
- PR unite (30g)
- 7
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OCA/queue
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
I maintainer di solito rispondono entro 1 giorno
-
Migration to version 20.0Apertahelp wanted no stale work in progress
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Delaying unlink or write on a model whose method was replaced raises AttributeError at enqueue timeForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
[19.0] queue_job: Jobs stay pending after the jobrunner's database connection is silently droppedForse già presa @HoloborodkoBohdan l’ha presa 31 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
OCA/queue#984 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
aws-samples/sample-per-model-bedrock#639 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
awslabs/visual-asset-management-system#937 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
project-codeflare/codeflare-sdk#1195 ·
I maintainer di solito rispondono entro 1 giorno
-
Bump numpy dependencyAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
pandas-dev/pandas-stubs#2051 ·
I maintainer di solito rispondono entro 1 giorno