Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Supervisord RPC - UNKNOWN_METHOD on any request

I've configured (almost default) supervisord.conf and started supervisord. Tasks launched and xmlrpc interfaces are up, but gives xmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'> on evey xmlrpc request, even when launching supervisorctl itself.

There is a same message in the log:

TRAC XML-RPC method called: supervisor.getAllProcessInfo()
TRAC XML-RPC method supervisor.getAllProcessInfo() returned fault: [1] UNKNOWN_METHOD
TRAC 127.0.0.1:44458 - - [11/Nov/2009:09:51:02 +0300] "POST /RPC2 HTTP/1.1" 200 391
like image 581
wiz Avatar asked Nov 11 '09 09:11

wiz


1 Answers

I suspect you removed these lines from the supervisord.conf config file:

; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
like image 199
Chris McDonough Avatar answered Sep 19 '22 19:09

Chris McDonough