Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Firebase hosting generates 404 only in America

Hello,

I have an API hosted on Google Firebase : Functions + Hosting (for cache). The URL is https://api.carbonfight.app.

Firebase hosting has nothing difficult in his configuration, only one redirect to a Firebase function.

The problem is, this API does not work in South and North America, and I have no idea why. Here is Google monitoring uptime check.

pfreund_0-1693296074153.png

 

 

 

 

In Google Logs, I only see that website returns a 404, with no other information.
I tried to deploy again and again, but nothing changes. Regions with problems are always the same and never works. It's a new API, and it never worked before in these regions. The other regions works perfectly.

Any idea about what happen and how to resolve it ?

Thanks

Solved Solved
0 2 2,222
1 ACCEPTED SOLUTION

Thanks for your help.

Actually I just had to wait few days. These regions were available few days after the others. I did not make any change...

pfreund_0-1694118432080.png

 

View solution in original post

2 REPLIES 2

Hello @pfreund,

Welcome to the Google Cloud Community!

You can try the following troubleshooting options:

  1. A reason that you are experiencing a 404 error is because the path might be incorrect. See Failed Checks.
  2. If your resource is behind a firewall, try configuring the firewall to permit incoming traffic from the IP addresses of the up-time check servers. Check out List uptime-check server IP addresses.
  3. Try configuring a private uptime check, this allows HTTP requests into a customer VPC network while enforcing IAM restrictions and VPC Service control perimeters.
  4. If the above options don't work, you can contact Google Cloud Support to further look into your case.

Let me know if it helped, thanks!

Thanks for your help.

Actually I just had to wait few days. These regions were available few days after the others. I did not make any change...

pfreund_0-1694118432080.png