Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud functions with rewrite throws 500, without rewrite works #3391

Closed
rendomnet opened this issue May 20, 2021 · 1 comment
Closed

Cloud functions with rewrite throws 500, without rewrite works #3391

rendomnet opened this issue May 20, 2021 · 1 comment

Comments

@rendomnet
Copy link

rendomnet commented May 20, 2021

Steps to reproduce
Setup rewrite in firebase.json:
"rewrites": [
{
"source": "/helloworld",
"function": "helloWorld"
}
]

firebase deploy --only functions,hosting

Expected behavior
Function should send "Hello from Firebase!" to the browser

Actual behavior
When I call function directly it works all the time
https://us-central1-****.cloudfunctions.net/helloWorld

if I call it https://example.com/helloWorld
Sometimes it is working sometime 500 Internal Server Error
"firebase-functions": "3.8.0",

@mbleigh
Copy link
Contributor

mbleigh commented May 20, 2021

This was likely due to a Firebase Hosting incident which is now resolved.

@mbleigh mbleigh closed this as completed May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants