GitHub Pages NotServedByPagesError despite correct DNS — TLS certificate stuck at 1/3 #214288
Replies: 2 comments
|
Hi @bidfit-ai, Thanks for sharing the detailed diagnostics. You've already ruled out several common DNS configuration problems. One important distinction: receiving HTTP 200 from GitHub Pages confirms that HTTP traffic is reaching GitHub's infrastructure, but it doesn't necessarily mean that GitHub's custom-domain validation and TLS certificate provisioning have completed successfully. I'd suggest checking a few additional things: 1. Check AAAA records Even if all four IPv4 A records are correct, unexpected IPv6 records can interfere with GitHub Pages configuration. Try: dig arto.photo A +short
dig arto.photo AAAA +short
dig www.arto.photo A +short
dig www.arto.photo AAAA +short
dig www.arto.photo CNAME +shortIf AAAA records exist, make sure they match GitHub Pages' official IPv6 addresses. 2. Check for DNS propagation differences Since you changed nameservers and DNS records on November 29, compare the results from multiple public resolvers: dig @1.1.1.1 arto.photo A
dig @8.8.8.8 arto.photo A
dig @1.1.1.1 www.arto.photo CNAME
dig @8.8.8.8 www.arto.photo CNAMEAlso verify that neither hostname is being proxied through a CDN or reverse proxy while troubleshooting. 3. Verify the repository's custom-domain configuration Make sure:
4. Avoid repeated redeployments A successful GitHub Actions deployment confirms that the publishing workflow completed, but it does not necessarily restart or repair TLS certificate provisioning. Since you've already changed DNS and redeployed, I'd avoid repeatedly changing the configuration. My thoughts: If the authoritative DNS servers and public resolvers consistently return the correct records, there are no conflicting AAAA/CAA records, and both hostnames reach GitHub Pages, this may require investigation of GitHub's certificate-provisioning state. GitHub's documentation also notes that changing DNS can require removing and re-adding the custom domain to trigger HTTPS provisioning. However, I'd only try that after confirming DNS has fully propagated. Official documentation: One question: Are you using Cloudflare or another DNS proxy/CDN, or are both That information would help narrow down the remaining possibilities. Hope you get HTTPS working soon! |
|
Two things that haven't been mentioned yet and are worth checking before anything else: 1. Ask the API what state the certificate request is actually in gh api repos/artography-photo/artography-website/pages --jq '.https_certificate'This returns the provisioning 2. Check DNSSEC — this is the classic trap right after a nameserver change You changed nameservers today. If your registrar still publishes dig arto.photo DS +shortIf that returns records, run the domain through DNSViz (dnsviz.net) to confirm the chain of trust is intact after the move. If DNSSEC is broken, either remove the DS records at the registrar or enable signing at the new DNS host, then allow time for propagation. 3. Set expectations on timing, then force a fresh request only if needed Provisioning can legitimately take up to 24 hours after a DNS change, and your change was today — so if the API in step 1 shows a pending state rather than an error, the most likely explanation is simply that it hasn't finished yet. If it's still stuck at 1/3 after 24 hours (or the API reports an error), remove the custom domain under Settings → Pages, save, wait a few minutes, and re-add it. That forces a brand-new certificate request. Don't repeat that cycle more than once — each attempt restarts the clock. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Code Search and Navigation
Body
Hello GitHub Community,
We are experiencing an issue with HTTPS certificate provisioning for our GitHub Pages website.
Repository: artography-photo/artography-website
Custom domain: arto.photo
Deployment method: GitHub Actions
Issue:
GitHub Pages repeatedly reports NotServedByPagesError.
TLS certificate provisioning remains at step 1/3 (Certificate Requested).
Enforce HTTPS is unavailable.
Both arto.photo and www.arto.photo experience HTTPS certificate errors.
Checks performed:
All four authoritative DNS servers return the correct GitHub Pages A records.
www.arto.photo correctly resolves to artography-photo.github.io.
No restrictive CAA records were found.
http://arto.photo returns HTTP 200 with Server: github.com.
http://www.arto.photo returns HTTP 301 redirecting to http://arto.photo/.
GitHub Actions deployment completed successfully, including the deploy job.
The issue persists after redeployment and repeated DNS verification.
The domain's nameservers and DNS records were changed on November 29, 2026.
Could you advise why GitHub Pages continues to report NotServedByPagesError despite serving the website over HTTP, and how to resolve the TLS certificate provisioning issue?
Thank you.
All reactions