Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inet_http_server running issue in service mode. #1591

Open
sokolnikov911 opened this issue May 8, 2023 · 0 comments
Open

inet_http_server running issue in service mode. #1591

sokolnikov911 opened this issue May 8, 2023 · 0 comments
Labels

Comments

@sokolnikov911
Copy link

Hello! I want to run supervisord with inet_http_server.

When I run it in command line: supervisord -c /etc/supervisor/supervisord.conf it is working correctly, and I can use SupervisorD status through http.

But when I try to run supervisor as a service: sudo service supervisor start, supervisord is working, but I can't enter into SupervisorD status through http. And in the log file I see this:

2023-05-08 18:34:28,200 TRAC 127.0.0.1:warning: server accept() threw an exception
2023-05-08 18:34:28,200 TRAC 127.0.0.1:warning: server accept() threw an exception
2023-05-08 18:34:28,201 TRAC 127.0.0.1:warning: server accept() threw an exception
2023-05-08 18:34:28,201 TRAC 127.0.0.1:warning: server accept() threw an exception
2023-05-08 18:34:28,201 TRAC 127.0.0.1:warning: server accept() threw an exception
2023-05-08 18:34:28,202 TRAC 127.0.0.1:warning: server accept() threw an exception

Config file:

[unix_http_server]
file=/var/run/supervisor.sock  
chmod=0700

[supervisord]
logfile=/var/log/supervisor/supervisord.log
pidfile=/var/run/supervisord.pid
childlogdir=/var/log/supervisor
loglevel=trace

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix:///var/run/supervisor.sock

[inet_http_server]
port=*:9001
username=user
password=password

[include]
files = /etc/supervisor/conf.d/*.conf

Supervisord version: 4.1.0
OS: Ubuntu 20.04.6 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants