Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[19.0] Unusual callback URL with Odoo 19.2 causing failure on BSD systems

Abierto
#933 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

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

Lenguaje dominante
Python
Estrellas
271
Forks
602
Merge medio
4 d 4 h
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OCA/queue

Todos los issues de OCA/queue

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.