hero_foundry_server HTTP files API returns 503 under default hero_foundry --start registration #17
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_foundry#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When hero_foundry_server is started via the hero_foundry CLI (hero_foundry --start, which registers the service with hero_proc), the HTTP files API at /api/files/* returns 503 Service Unavailable with "Storage not configured". This breaks any client that talks to that endpoint (e.g. the Office integration).
Reproduction
make stop && make run on development (pre-fix)
curl -i http:///api/files/ → 503 Service Unavailable / "Storage not configured"
Verification (post-fix)
make stop && make run
Confirm ~/hero/foundry-storage/ is created
curl -i http:///api/files/... no longer 503s
Office (or whichever client surfaced the bug) can read/write through /api/files/*