Open Wyrrrd opened 8 months ago
I've never used Hydrus outside of a local network. Can you provide more info about the error and the software used?
Hydrus is running in docker, I am using the prebuilt image at ghcr.io/hydrusnetwork/hydrus
.
I am using traefik as reverse proxy, the relevant config is:
traefik.http.routers.hyd-api.rule=Host(`hydrus.example.com`) && PathPrefix(`/clientapi`)
traefik.http.services.hyd-api.loadbalancer.server.port=45869
(This causes hydrus.example.com/clientapi
to internally redirect to localhost:45869
on the docker container.)
It seems HydrusSlideshow is not connecting to hydrus.example.com/clientapi
as configured, but to hydrus.example.com
(both on port 443).
I am hosting Hybooru on hydrus.example.com
, the dump in the error message matches the HTML of its landing page.
If you need anything else, ask away :)
This is rather odd, as everything should be working. Try adding/removing the '/' at the end of your hydrus url. I'll try recreating the environment as soon as I have some free time.
When starting the app with an API url on a subpath (e.g.
https://hydrus.example.com/clientapi/
) via reverse proxy, I get a generic error message.Other Hydrus companion apps and scripts work with this URL, so I suspect no config mistake in my reverse proxy. At a quick glance I cannot see any obvious mistakes in your code, or I am not used to C# enough to spot one :(