Clients cannot access port 8072
Open
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 1.2k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
When the odoo17 image uses the following configuration, the client cannot access port 8072. As a result, Nginx keeps reporting errors.How to solve this problem?
nginx err:
upstream: "http://172.17.0.1:8072/websocket?version=17.0-1"
docker-compose.yml
version: '3.1'
services:
web:
image: odoo:17.0
depends_on:
- db
ports:
- "8069:8069"
- "8072:8072"
volumes:
- ./odoo_web_data:/var/lib/odoo
- ./config:/etc/odoo
- ./addons:/mnt/extra-addons
- ./logs:/var/log/odoo
environment:
- ODOO_DB_PASSWORD=odoo
restart: on-failure
db:
image: postgres:15.0
ports:
- "5432:5432"
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- ./odoo_db_data:/var/lib/postgresql/data
restart: on-failure
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with docker-compose.yml and the reported Nginx upstream request for /websocket on port 8072. Check how the Odoo 17 container exposes and listens on that port, then verify the Nginx connection path; done means clients can reach the websocket endpoint without the reported upstream errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, nginx
- Domain
- backend, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100