Skip to content

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

@daemonblade

Description

@daemonblade

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions