-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Issue
Trying to setup hydrus-web in docker.
After enabling the client_api, configuring, and adding the access key. I go to configure hydrus-web and get
Error: Http failure response for ... :45869/verify_access_key: 0 Unknown Error
I've tried using http instead of https and get the same error. I can confirm the service is listening on the network and that I can reach it from the hydrus-web container.
I do not see anything useful in the logs from docker-compose.
Docker compose file
version: '3.9'
volumes:
hydrus-client:
driver: local
services:
hydrusclient:
image: ghcr.io/hydrusnetwork/hydrus:latest
container_name: hydrusclient
restart: unless-stopped
environment:
- UID=1000
- GID=1000
volumes:
- hydrus-client:/opt/hydrus/db
tmpfs:
- /tmp
ports:
- 5800:5800 #noVNC
- 5900:5900 #VNC
- 45869:45869 #API
hydrus-web:
image: floogulinc/hydrus-web
container_name: hydrus-web
restart: always
ports:
- 8080:80
client-api
This is client api,
a client api.
Software version 465
API version 22
It responds to requests from any host.
Checking access from docker container
# Connect to container
docker exec -it $(docker container ls | grep 'hydrus-web' | awk '{print $1}') /bin/sh
# run /verify_access_key
curl http://hydrusclient:45869/verify_access_key?Hydrus-Client-API-Access-Key=0ad2........af67
# output from curl
{
"basic_permissions": [0, 1, 2, 3, 4, 5, 6],
"human_description": "API Permissions (Hydrus web): add tags to files, add urls for processing, import files, manage cookies, manage database, manage pages, search for files: Can search: all tags"
}
Metadata
Metadata
Assignees
Labels
No labels