Open chaitanya1094 opened 3 years ago
I don't see anything specific about your use case that would cause these hangups. Have you tried upgrading to more recent versions of tedious and checked if the same error still happens there as well? 🤔
Thanks for the response, we are in production currently.. so little hesitant to upgrade...this error is occurring if a huge load on the app is present. Is this error because we are creating a connection for each DB call? If we want to upgrade what version you suggest?
Thanks for the response, we are in production currently.. so little hesitant to upgrade...
I'd suggest doing the updates in small steps, so you can resolve any deprecation warnings. That might help you to be more confident about the upgrade.
this error is occurring if a huge load on the app is present. Is this error because we are creating a connection for each DB call?
That's hard to say, really. 😞 Maybe you're hitting some sort of timeout when a lot of connections / requests are being processed? The error is very generic and basically just means that the connection was closed by the server, but it's not clear why. You could try to see if you can also access the server's logs and if this helps you to pinpoint where the issue is coming from.
I'm seeing this same issue with Azure SQL. Several times per day this error occurs resetting the app. 80% of the time everything works as expected, then these errors pop up causing the app to restart.
We are also facing the same issue, is there any fix?
This issues is haunting us as well with Azure SQL. Has anyone found any solution?
Hi Team, We are using tedious "6.6.5" and Node "10.15.1" to connect to Azure SQL. Frequently we are facing below error and app crashes,
Below is the code we are using to connect to DB.