Created
November 10, 2017 13:11
-
-
Save srichakradhar/281f0641da2623f4cbbfd95d41335f76 to your computer and use it in GitHub Desktop.
node error behind proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ Error: write EPROTO 140611379001216:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:797: | |
at _errnoException (util.js:1024:11) | |
at WriteWrap.afterWrite [as oncomplete] (net.js:867:14) | |
code: 'EPROTO', | |
errno: 'EPROTO', | |
syscall: 'write', | |
config: | |
{ adapter: [Function: httpAdapter], | |
transformRequest: { '0': [Function: transformRequest] }, | |
transformResponse: { '0': [Function: transformResponse] }, | |
timeout: 0, | |
xsrfCookieName: 'XSRF-TOKEN', | |
xsrfHeaderName: 'X-XSRF-TOKEN', | |
maxContentLength: -1, | |
validateStatus: [Function: validateStatus], | |
headers: | |
{ Accept: 'application/json, text/plain, */*', | |
'User-Agent': 'axios/0.17.0', | |
host: 'westus.api.cognitive.microsoft.com' }, | |
method: 'get', | |
url: 'https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/9e68536e-9a27-457f-8beb-0b3d4e780c1e?subscription-key=39046f21a28f4cef87e3c77cfcfdc6f0&verbose=true&timezoneOffset=5.5', | |
proxy: { host: '10.138.89.95', port: 3128 }, | |
data: undefined }, | |
request: | |
Writable { | |
_writableState: | |
WritableState { | |
objectMode: false, | |
highWaterMark: 16384, | |
finalCalled: false, | |
needDrain: false, | |
ending: false, | |
ended: false, | |
finished: false, | |
destroyed: false, | |
decodeStrings: true, | |
defaultEncoding: 'utf8', | |
length: 0, | |
writing: false, | |
corked: 0, | |
sync: true, | |
bufferProcessing: false, | |
onwrite: [Function: bound onwrite], | |
writecb: null, | |
writelen: 0, | |
bufferedRequest: null, | |
lastBufferedRequest: null, | |
pendingcb: 0, | |
prefinished: false, | |
errorEmitted: false, | |
bufferedRequestCount: 0, | |
corkedRequestsFree: [Object] }, | |
writable: true, | |
domain: null, | |
_events: | |
{ response: [Function: handleResponse], | |
error: [Function: handleRequestError] }, | |
_eventsCount: 2, | |
_maxListeners: undefined, | |
_options: | |
{ maxRedirects: 21, | |
protocol: 'https:', | |
hostname: '10.138.89.95', | |
port: 3128, | |
path: 'https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/9e68536e-9a27-457f-8beb-0b3d4e780c1e?subscription-key=39046f21a28f4cef87e3c77cfcfdc6f0&verbose=true&timezoneOffset=5.5', | |
method: 'get', | |
headers: [Object], | |
agent: undefined, | |
auth: undefined, | |
host: '10.138.89.95', | |
pathname: 'https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/9e68536e-9a27-457f-8beb-0b3d4e780c1e', | |
search: '?subscription-key=39046f21a28f4cef87e3c77cfcfdc6f0&verbose=true&timezoneOffset=5.5' }, | |
_redirectCount: 0, | |
_bufferedWrites: [], | |
_onNativeResponse: [Function], | |
_currentRequest: | |
ClientRequest { | |
domain: null, | |
_events: [Object], | |
_eventsCount: 5, | |
_maxListeners: undefined, | |
output: [], | |
outputEncodings: [], | |
outputCallbacks: [], | |
outputSize: 0, | |
writable: true, | |
_last: true, | |
upgrading: false, | |
chunkedEncoding: false, | |
shouldKeepAlive: false, | |
useChunkedEncodingByDefault: false, | |
sendDate: false, | |
_removedConnection: false, | |
_removedContLen: false, | |
_removedTE: false, | |
_contentLength: 0, | |
_hasBody: true, | |
_trailer: '', | |
finished: true, | |
_headerSent: true, | |
socket: [Object], | |
connection: [Object], | |
_header: 'GET https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/9e68536e-9a27-457f-8beb-0b3d4e780c1e?subscription-key=39046f21a28f4cef87e3c77cfcfdc6f0&verbose=true&timezoneOffset=5.5 HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.17.0\r\nhost: westus.api.cognitive.microsoft.com\r\nConnection: close\r\n\r\n', | |
_onPendingData: [Function: noopPendingOutput], | |
agent: [Object], | |
socketPath: undefined, | |
timeout: undefined, | |
method: 'GET', | |
path: 'https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/9e68536e-9a27-457f-8beb-0b3d4e780c1e?subscription-key=39046f21a28f4cef87e3c77cfcfdc6f0&verbose=true&timezoneOffset=5.5', | |
_ended: false, | |
res: null, | |
aborted: undefined, | |
timeoutCb: null, | |
upgradeOrConnect: false, | |
parser: null, | |
maxHeadersCount: null, | |
_redirectable: [Circular], | |
[Symbol(outHeadersKey)]: [Object] }, | |
_currentUrl: 'https://10.138.89.95/https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/9e68536e-9a27-457f-8beb-0b3d4e780c1e?subscription-key=39046f21a28f4cef87e3c77cfcfdc6f0&verbose=true&timezoneOffset=5.5' }, | |
response: undefined } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment