relvacode / storm

A Modern Deluge Interface
MIT License
135 stars 11 forks source link

GET /api/plugins error #30

Closed gmaclennan closed 2 years ago

gmaclennan commented 2 years ago

Hi I've just tried installing this in a docker container and I'm getting the following error when I try to load the web UI:

2022-01-05T14:52:53.548Z    INFO    api storm/server.go:93  Ready to serve HTTP connections on :8221/
2022-01-05T14:53:12.703Z    ERROR   api storm/api.go:206    Internal Server Error   {"Method": "GET", "URL": "/api/plugins", "RemoteAddr": "xxxxxxxxx", "Time": "2022-01-05T14:53:09.581Z", "StatusCode": 500, "ResponseSize": 34, "Duration": "3.121935506s", "error": "context canceled"}

I see the skeleton of the UI loaded with a progress spinner showing. Is there a way to get more detailed debug information?

gmaclennan commented 2 years ago

No sooner to I finally open this issue that I figure it out after reading through some of the source code and re-reading the docs. I needed to set DELUGE_RPC_VERSION=v2 (it defaults to v1). Hopefully this issue will be of help to someone seeing a similar problem.