Skip to content

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

Description

@aniltomar10

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions