SSL cert provisioning stuck on custom domain
tomballard92
HOBBYOP

2 months ago

Service: MASKED

Project: MASKED (production environment)

Domain: MASKED

Region: europe-west4-drams3a

Railway URL: MASKED

---

Issue:

Custom domain MASKED has been stuck on "Certificate Authority is validating challenges" for over an hour. The CNAME is fully propagated and verified (green tick in Railway dashboard), but SSL cert provisioning never completes.

---

Steps taken:

1. Added MASKED as a custom domain — CNAME verified, cert stuck on CA validation

2. Deleted and re-added after ~30 mins (as suggested) — CNAME verified immediately, cert still stuck

3. Consulted Railway AI support agent — advised to wait 5 minutes and re-add with a longer gap

4. Deleted domain at 19:44, re-added at 20:28 (44 minute gap) — CNAME verified immediately again, cert still stuck on CA validation at 20:50

Three attempts total. Each time the CNAME verifies quickly but cert provisioning hangs at the same step.

---

DNS records (Namecheap):

- CNAME: MASKED

- TXT: MASKED

Cloudflare DNS lookup confirms:

  • MASKED CNAME → MASKED

- Resolves to IPv4: MASKED

CAA records: None configured — MASKED returns only the CNAME. Let's Encrypt is not being blocked.

---

Additional context:

I'm investigating a related issue where HTTP requests from an iOS simulator to MASKED return MASKED with MASKED in the response headers - despite identical requests working correctly via curl from the same machine. The custom domain was added as an alternative routing path to investigate this. It's possible the same edge routing issue is preventing Let's Encrypt's ACME challenge from being served correctly.

HTTP curl to the domain returns a 301 redirect to HTTPS before the ACME challenge can be resolved.

---

Request:

Please can a Railway team member manually trigger SSL cert provisioning for MASKED on service MASKED, and if possible investigate why MASKED is being returned for certain clients on the MASKED domain.

Solved

1 Replies

Railway
BOT

2 months ago

Your CNAME record for staging.autora.uk is pointing to tl6tq9ta.up.railway.app, but the current required target is h6upkmf1.up.railway.app. This mismatch occurred because deleting and re-adding the domain generated a new CNAME target, and the old value is still in your Namecheap DNS. Updating the CNAME to h6upkmf1.up.railway.app should unblock certificate issuance. Also note our SSL troubleshooting docs warn against repeatedly deleting and re-adding domains, as Let's Encrypt enforces rate limits (5 duplicate certificates per domain per week). Regarding the x-railway-fallback 404 on your .up.railway.app domain, that header indicates our edge proxy could not route the request to your service, which typically points to a client-side difference in how the request is being made (e.g., HTTP vs HTTPS, or a missing Host header) rather than a platform routing issue.


Status changed to Awaiting User Response Railway about 2 months ago


Railway
BOT

2 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway about 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...