cancel
Showing results for 
Search instead for 
Did you mean: 

Cap CDS Vscode localhost Error

LuizGomes
Participant
0 Kudos
1,990

BAS run OK

localhost error:

  err: Error: Client network socket disconnected before secure TLS connection was established
at connResetException (node:internal/errors:717:14)
at TLSSocket.onConnectEnd (node:_tls_wrap:1595:19)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET',
path: undefined,
host: '2666560b-352e-43a4-afd6-fc685f3f2046.hana.prod-br10.hanacloud.ondemand.com',
port: '443',
localAddress: undefined
}
}
[hana] - Error: Could not establish connection for tenant "undefined" due to error: Could not connect to any host: [ 2666560b-352e-43a4-afd6-fc685f3f2046.hana.prod-br10.hanacloud.ondemand.com:443 - Client network socket disconnected before secure TLS connection was established ]
at couldNotOpenConnectionError (/workspaces/gru-airport/node_modules/hdb/lib/protocol/ConnectionManager.js:123:13)
at tryConnect (/workspaces/gru-airport/node_modules/hdb/lib/protocol/ConnectionManager.js:36:17)
at /workspaces/gru-airport/node_modules/hdb/lib/protocol/ConnectionManager.js:44:9
at TLSSocket.onerror (/workspaces/gru-airport/node_modules/hdb/lib/protocol/Connection.js:193:5)
at Object.onceWrapper (node:events:628:26)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EHDBOPENCONN'
}
[pool] - Could not establish connection for tenant "undefined". Existing pool will be drained.
{
host: '2666560b-352e-43a4-afd6-fc685f3f2046.hana.prod-br10.hanacloud.ondemand.com',
port: '443',
err: Error: Client network socket disconnected before secure TLS connection was established
at connResetException (node:internal/errors:717:14)
at TLSSocket.onConnectEnd (node:_tls_wrap:1595:19)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET',
path: undefined,
host: '2666560b-352e-43a4-afd6-fc685f3f2046.hana.prod-br10.hanacloud.ondemand.com',
port: '443',
localAddress: undefined
}
}
[hana] - Error: Could not establish connection for tenant "undefined" due to error: Could not connect to any host: [ 2666560b-352e-43a4-afd6-fc685f3f2046.hana.prod-br10.hanacloud.ondemand.com:443 - Client network socket disconnected before secure TLS connection was established ]
at couldNotOpenConnectionError (/workspaces/gru-airport/node_modules/hdb/lib/protocol/ConnectionManager.js:123:13)
at tryConnect (/workspaces/gru-airport/node_modules/hdb/lib/protocol/ConnectionManager.js:36:17)
at /workspaces/gru-airport/node_modules/hdb/lib/protocol/ConnectionManager.js:44:9
at TLSSocket.onerror (/workspaces/gru-airport/node_modules/hdb/lib/protocol/Connection.js:193:5)
at Object.onceWrapper (node:events:628:26)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EHDBOPENCONN'
}

@sap/cds: 6.4.0
@sap/cds-compiler: 3.5.4
@sap/cds-dk: 6.4.1
@sap/cds-dk (global): 6.6.2
@sap/cds-foss: 4.0.0
@sap/cds-mtx: -- missing --
@sap/cds-mtxs: 1.4.4
@sap/cds-odata-v2-adapter-proxy: 1.9.17
@sap/eslint-plugin-cds: 2.6.0
@sap/xsenv: 3.4.0
@sap/xssec: 3.2.17
Node.js: v18.14.2

cds bind -2 serviceOne,ServiceTwo

cds watch --profile hybrid

View Entire Topic
diegocesarmg
Explorer

Hello Luiz,

Could you kindly review the Connections settings on SAP HANA Cloud Central and confirm that your IP address is allowed?

To get there, please do the following:

Best,

Diêgo