odoo / odoo/docker

werkzeug: ... "OPTIONS / HTTP/1.0" 303

Open
#304 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I'm having trouble with Odoo v13 running as a stack. I noticed a HUGE amount of .sess session files building up over time in web-data/.local/share/Odoo/sessions, and they are generating about 1-2 per second. The web frontend container logs show a ton of:
werkzeug: 10.0.0.2 - - [17/Mar/2020 01:31:49] "OPTIONS / HTTP/1.0" 303

according to wikipedia 303 has to do with web application redirection. I suspect it has something to do with the way the session passes thru Docker's networking layer; maybe it's causing some form of a redirect loop. I have tried to see if the behavior is any different when accessing via a reverse-proxy, or directly to the Docker hosts' IP and container exposed port, same issue. This is a test deploy, zero user load on this.

Hoping I can get to the bottom of this; anyone seen this before? What other info can I provide to help troubleshoot?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the web frontend container logs and the web-data/.local/share/Odoo/sessions directory while reproducing the OPTIONS / HTTP/1.0 303 requests. Compare request behavior and session-file creation through the direct exposed port and reverse-proxy paths, then document the cause and a verified fix that stops the unexplained session growth.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, devops, infrastructure
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.