Failed to load resource: the server responded with a status of 503 (Service Unavailable) favicon.ico

Viewed 24662

I am trying to deploy my Node.JS site through Heroku and I keep getting this error "Failed to load resource: the server responded with a status of 503 (Service Unavailable) favicon.ico" I searched around and thought I would add the following to my header

<link rel="shortcut icon" href="">

However I am still getting this error. Any ideas?

3 Answers

This specific problem is why packages like express-favicion and serve-favicon exist. They add a handler for the favicon.ico file.

What you've done there has only made things worse as it tells the client that the icon for the page is actually the page itself.

In my case, this issue was seen due to the failure of the backend services. Restarting the backend services/server resolved the issue for me.

enter image description here

I had the same problem, after I checked it turned out that the VPN in my browser was still on, after I turned it off the problem was gone

Related