404 error while deploying a Node web service

I’m trying to deploy my repository to Render. It’s running fine on Heroku, but shows 404 error on Render. Can anybody help me out on this issue? Thanks in advance.

Hi @msrumon ,

I took at a look at your service, and see that it’s a Node service. It looks like it’s running and healthy, and the “Nothing to see here” is coming from your application code. It may be useful to emit more logs so you can inspect why your app is returning the “Nothing to see here” text. It may be helpful to note that https://test-nv5c.onrender.com/ is actually returning a 200 HTTP response, and not a 404.

Hmm I see. But when I deployed the app, I got 404 status instead of 200 status instantly. Thanks anyway, for your time here.

@dan, Now look at this. I just deployed it and it successfully has been built and started. I should see 404 status with {"statusCode":404,"message":"Cannot GET /","error":"Not Found"} response. But I see Not Found, which is wrong. Can you please investigate?

Thanks for the additional information. I took a look, and it seems that there is some delay with our routing tier for some new services in our Frankfurt region, which is what you saw. I’ve fixed this for your service, and now you can see the 404 coming from your app.

I’m following up with the Render team internally to understand better the cause of this delay for new services, but hopefully you are set! Thank you for reaching out :slight_smile:

1 Like

Thank you so much. I will be waiting for the follow-up. Meanwhile, let me know if I will be charged for suspended services or not.

Hey, to answer your last question, no. You don’t get charged for suspended services/databases.

1 Like

Hi! I have the same error. My server is running fine in Heroku but i have 404 errors in Render. its nodejs too.

I have the same error and situation

same error, my app return 404

I got http 404 not found on my web service, even though its running perfectly yesterday. what happened?

status error : Render Status - Newly created free services in Oregon returning 404s

I see. it’s really render’s problem not my app

I did what they said, deleted it and created a new server, and it worked.

2 Likes

ok thanks man…

Correct, we’re still working on this - In the meantime, you can work around the issue by creating a new team without transferring your existing services or you can delete and recreate your account. Free tier services should then deploy and serve traffic successfully.

John B

my react app is working on local host but when i deploy my react app on render its showing post:1 GET https://instacloneapplicationfeb.onrender.com/post 404
how to fix this

bump I am also encountering the same issue

I am having the same issue with my nodejs trying to upload photos to aws s3 bucket

Hi,

i am also having the same problem. On localhost everything works but when i deploy my website on render then it gives me this below error and i am unable to open my any page. i am using reactJs. and for routing im using react router dom.
register:1
GET https://fr-real-estate-client.onrender.com/register 404 (Not Found)

Could anyone please tell me how i can fix it.