I am running a Nodejs server on Heroku, but when I try to view/access the log I get this error message saying:
Connection to log stream failed. Please try again later.
along with a popup that shows up at top right corner
I went to check the logs for another Heroku project that I have and the same thing was happening there as well. Any ideas as for why that's happening?
This issue occurs frequently even when the logs are not down as @JRichardsz suggested.
According to Heroku's official documentation
A real-time tail session is automatically terminated after one hour of inactivity.
This can cause your Log Stream to time out.
I also assume they have other flags in place that limit users when using logs.
It is common to face temporary blocks from logs when using them extensively, usually after waiting a few minutes you can run heroku logs --tail
again and continue viewing the logs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With