fix: staging smoke tests fail due to HTTP→HTTPS redirect #16

Closed
opened 2026-02-27 19:07:44 +00:00 by mik-tf · 0 comments
Member

Problem

The deploy-staging CI workflow uses http://staging.hub.projectmycelium.com for the backend health check and smoke tests. However, Caddy on the staging VM redirects HTTP to HTTPS (308 redirect), causing curl to get an empty response instead of the expected health JSON.

This causes the post-deploy smoke tests to fail even though the backend is healthy.

Fix

Change all staging URLs in deploy-staging.yml from http:// to https://.

## Problem The deploy-staging CI workflow uses `http://staging.hub.projectmycelium.com` for the backend health check and smoke tests. However, Caddy on the staging VM redirects HTTP to HTTPS (308 redirect), causing `curl` to get an empty response instead of the expected health JSON. This causes the post-deploy smoke tests to fail even though the backend is healthy. ## Fix Change all staging URLs in `deploy-staging.yml` from `http://` to `https://`.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mycelium/www_migrate_mycelium#16
No description provided.