storm
storm copied to clipboard
Failed to established Deluge PRC connection
I am using docker and setup both deluge and storm under a bridge connection on Synology Nas. Error received:
2023-09-08T11:11:02.792Z ERROR pool storm/pool.go:217 Failed to establish Deluge RPC connection {"error": "RPC error BadLoginError('Password does not match')\nTraceback: Traceback (most recent call last):\n File \"/usr/lib/python3.11/site-packages/deluge/core/rpcserver.py\", line 275, in dispatch\n ret = component.get('AuthManager').authorize(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/site-packages/deluge/core/authmanager.py\", line 121, in authorize\n raise BadLoginError('Password does not match', username)\ndeluge.error.BadLoginError: Password does not match\n"}
2023-09-08T11:11:02.792Z ERROR api storm/api.go:213 Internal Server Error {"Method": "GET", "URL": "/api/plugins", "RemoteAddr": "172.17.0.1:38099", "Time": "2023-09-08T11:11:02.414Z", "StatusCode": 500, "ResponseSize": 103, "Duration": "377.992517ms", "error": "A connection to the Deluge RPC daemon could not be established by the connection pool"}
environment:
- DELUGE_RPC_HOSTNAME=deluge
- DELUGE_RPC_PORT=58846
- DELUGE_RPC_USERNAME=localclient
- DELUGE_RPC_PASSWORD=<redacted>
- DELUGE_RPC_VERSION=v2
Obviously the password is correct and I can access to deluge web ui
The RPC password is not the same as the Web UI password. Have you checked that you're using the right one?
To complete @relvacode's answer, you need to add a new user to your "auth" file (which is in the deluge config volume). You cannot use the webui user ((localclient), I was stuck for a while trying to figure this out. The password doesn't have to be encrypted, follow this page: https://dev.deluge-torrent.org/wiki/UserGuide/Authentication (level 10 works, idk if you can use a less privileged level). Don't forget to stop the deluge container before editing any config files