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

ConnectionError: Failed to connect to <server name> in 15000ms #53

Open
aniltomar10 opened this issue Oct 8, 2018 · 0 comments
Open

Comments

@aniltomar10
Copy link

I am using tedious-connection-pool. I am getting this error intermittently.
unhandledRejection: ConnectionError: Failed to connect to in 15000ms
at Connection. (C:\BuildAgent\work\dc9a3934146969e0\node_modules\mssql\lib\tedious.js:378:25)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at Connection.emit (events.js:211:7)
at Connection.connectTimeout (C:\BuildAgent\work\dc9a3934146969e0\node_modules\mssql\node_modules\tedious\lib\connection.js:467:12)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)

Expected Behavior

Current Behavior

it works most of the time but not consistent.

Steps to Reproduce (for bugs)

Reason For Request (for feature requests)

Possible Solution

Background Details

I am using tedious-connection-pool to call stored procedures and queries.

Environment

  • Node.js Version: 8.11.1
  • Windows/Mac/Linux: Windows
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

1 participant