Supervisord RPC - UNKNOWN_METHOD auf jede Anfrage
-
19-09-2019 - |
Frage
Ich habe (fast Standard) supervisord.conf konfiguriert und gestartet supervisord. Aufgaben ins Leben gerufen und xmlrpc Schnittstellen sind, aber gibt
xmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'>
auf evey xmlrpc Anfrage, auch beim Start supervisorctl selbst.
Es gibt eine gleiche Meldung im Protokoll:
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
Lösung
Ich vermute, Sie entfernt diese Zeilen aus der supervisord.conf Konfigurationsdatei:
; 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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow