Azure / azure-cosmosdb-node

We recently announced deprecation of JS v1 SDK and this repo. Starting September 2020 Microsoft will not provide support for this library. Existing applications using library will continue to work as-is. We strongly recommend upgrading to @azure/cosmos library.
https://github.com/Azure/azure-sdk-for-js
MIT License
141 stars 108 forks source link

Can not connect to documentdb #245

Closed ravievontech closed 6 years ago

ravievontech commented 6 years ago

I am not able to connect to azure documentdb. Its throwing error:

{ Error: Client network socket disconnected before secure TLS connection was established at TLSSocket.onConnectEnd (_tls_wrap.js:1092:19) at Object.onceWrapper (events.js:273:13) at TLSSocket.emit (events.js:187:15) at TLSSocket.EventEmitter.emit (domain.js:442:20) at endReadableNT (_stream_readable.js:1086:12) at process._tickCallback (internal/process/next_tick.js:63:19) code: 'ECONNRESET', path: null, host: 'orion-cosmos.documents.azure.com', port: '10255', localAddress: undefined }

srinathnarayanan commented 6 years ago

Hi @ravievontech how often are you seeing this issue? Can you connect to the service now?

ravievontech commented 6 years ago

@srinathnarayanan Hi, the problem is resolved. The problem was the port i was using. Thanks

srinathnarayanan commented 6 years ago

Will close this issue. Thanks.