0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

odoo で longpolling リクエストが失敗する件

Posted at

docker で odoo + nginx な環境を立ち上げてみたら下記のエラーが出てきた。

nginx    | 2020/04/27 09:37:32 [error] 7#7: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.128.1, server: , request: "POST /longpolling/poll HTTP/1.1", upstream: "http://192.168.128.3:8072/longpolling/poll", host: "localhost", referrer: "http://localhost/web"

どうやら odoo.conf で workers を設定していないことが原因っぽい。
とりあえず woerkers = 5 に設定してみたらこのエラーは消えてくれた。

デフォルトだと worker = cpu core x 2 + 1 みたいな設定になってくれないのね…

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?