ryclarke / cisco-kube-client

A Kubernetes and OpenShift API client for Node.js
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Attempts to auth with SSL to HTTP endpoint #2

Closed spiffytech closed 8 years ago

spiffytech commented 8 years ago

Replication: attempt to retrieve a resource using auth credentials and an HTTP endpoint (not HTTPS).

Error message:

[2016-06-23T20:15:28.841Z] FATAL: cisco-kube-client/20490 on spiffywork: socket hang up (endpoint=api/v1/namespaces, err.code=ECONNRESET)
    Error: socket hang up
        at TLSSocket.onHangUp (_tls_wrap.js:1092:19)
        at TLSSocket.g (events.js:286:16)
        at emitNone (events.js:91:20)
        at TLSSocket.emit (events.js:185:7)
        at endReadableNT (_stream_readable.js:926:12)
        at _combinedTickCallback (internal/process/next_tick.js:74:11)
        at process._tickCallback (internal/process/next_tick.js:98:9)
[2016-06-23T20:15:28.842Z]  WARN: cacher/express/20490 on spiffywork:
    Possibly Unhandled Rejection at: Promise [object Promise] reason: Error: socket hang up
        at TLSSocket.onHangUp (_tls_wrap.js:1092:19)
        at TLSSocket.g (events.js:286:16)
        at emitNone (events.js:91:20)
        at TLSSocket.emit (events.js:185:7)
        at endReadableNT (_stream_readable.js:926:12)
        at _combinedTickCallback (internal/process/next_tick.js:74:11)
        at process._tickCallback (internal/process/next_tick.js:98:9)