Cloudflare Pages site can't be reached

I’ve deployed a very basic HTML site using Cloudflare Pages. It is configured with a GitHub repo and deploys on commit.

It was working fine until last week around 12/8/22.

Now any time I visit the pages.dev URL provided, the site can’t be found.

I’ve noticed this with multiple other pages.dev domains. Is there a known outage or fix for this?

1 Like

Not sure if this really helps, but I checked one of mine and it works.

What error(s) are you seeing?

Same here. My pages can’t be reached even after successful deploy. Sometimes it becomes online after a few hours.
And sometimes the production website preview domains work. But the actual pages.dev doesnt.

Weird stuffs

Same here. I set up my Pages application two days ago and it worked fine for a day and then it stopped working. A successful deployment would be followed by “The site cannot be reached”.
The original post was published months ago, seems no Cloudflare staff is aware of this. This community doesn’t look very useful.

What is the URL for the site @sunhfbiz?

1 Like

@anon9246926

https://thedeepco.pages.dev/

Now occasionally I will get " Nothing is here yet" page
the deployment succeeded 27 minutes ago.
The preview doesn’t work either which finished 21 minutes ago.

What this? Vague descriptions of an error with no URL and no error message?

This community can be incredibly useful, it contains software developers, tech experts and uh… me I guess with decades of experience in diagnosing an remediating technical issues. But to do that one needs to provide actual data. This thread includes no actionable data for debugging. Could there be a Cloudflare issue? Sure. Is there? :person_shrugging:

2 Likes

This is what I see

Are you sure the build/deploy settings are correct? My guess is you are publishing the wrong directory.

I made my statement based on the fact that there have already been two people who have posted the same issue as mine in the span of 7 months but there is no useful reply in this thread. And this thread is the only thing related to this problem I can find in this entire forum.
I am new to both Cloudflare and this forum. Maybe it’s more useful than I have perceived so far. I will be open to wait and see.

How many people do you suppose have deployed Cloudflare pages sites in 7 months?

Is there an issue at the moment with Cloudflare Pages deployments? No idea. But 2 previous vague reports with no supporting data does not indicate a pattern.

Has your site ever worked? If so what has changed? if you roll back does it work?

1 Like

Thanks for trying.
The fact that you see different result than I do, and even myself will see different results on different attempts already said there is an issue.

This is what I see

One more thing to share, yesterday I was able to visit the website after the deployment, but still something was weird(it used a wrong commit which I have amended, but I guess Cloudflare has some cache when pulling commit from git). Because of that I tried creating new Pages application, adding --ignoreCache parameter to the build command, etc. And now we are here.

Through the experiments, my code never changed, my build setting never changed except for the --ignoreCache parameter, so the folder is always the same. But the result is very inconsistent.

How about sharing the build setting you are using and the repository you are deploying from.

This is my build settings.
The repo is a private one. I can share its root directory structure in another reply. I tested locally and no problem.

This is my repo structure. Just a very simple Hugo project.

When you look at the deploy details, what does it show for Assets uploaded e.g.

Have you changed the output directory via the publishDir configuration option?

Thank you for asking this question, and with your pointer I do find something.
Below is the screenshot of my Assets uploaded tab, and weirdly there is no index.html.
However when I run my build command locally, the index.html can be successfully generated.
I will upload the screenshot in another reply as one reply can only have one media file.
Do you know what can be going wrong here?


t

here is my local public/ folder, and I built it after completely deleting the folder.
image

The html file is also missing in sub-folders
For some reason, either Cloudflare didn’t generate the html files using the same command, or it didn’t upload them.

My site has worked before.
It is under development so yes something has changed.
I rolled it back in a different branch which triggered a preview build, and it still works.
Now the problem is already quite specific, why didn’t Cloudflare upload the html files? (Please refer to my replies)
If someone from the Pages team is here, maybe they can find out why in the backend logs.

When you build locally are you using the hugo command by itself (as in the Pages build settings), or with other flags/parameters?