You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows
nodejs: 12.x
npm: 6.x
request-promise: 4.2.5
error: Client network socket disconnected before secure TLS connection was established
when I create a https get(or post) request use this lab, I will get an error recently ( sometime will get the error. not always ): Client network socket disconnected before secure TLS connection was established
why?
Here is one I create use facebook api will get the error. same error will get when I use post method in other api.
const options = {
uri: `https://graph.facebook.com/v7.0/oauth/access_token?grant_type=fb_exchange_token&client_id=${client_id}&client_secret=${client_secret}&fb_exchange_token=${access_token}`,
method: 'get',
headers: {
},
json: true
};
try {
refresh_res = await rp.get(options);
} catch (e) {
console.log(`ERROR: ${JSON.stringify(e)}`); // here will get the error.
}
The text was updated successfully, but these errors were encountered:
Hello all, I am running into the same problem:
| Client network socket disconnected before secure TLS connection was established
at | connResetException (node:internal/errors:720:14)
at | TLSSocket. onConnectEnd (node:tls_wrap: 1655:19)
| at TLSSocket. emit (node:events:529:35 )
| at endReadableNT (node:internal/streams/readable: 1368:12)
| at processTicksAndRejections (node: internal/process/ task
Running Homebridge 1.6.1 on Node.js Version v18.18.0 on macOS Ventura
Windows
nodejs: 12.x
npm: 6.x
request-promise: 4.2.5
error: Client network socket disconnected before secure TLS connection was established
when I create a https get(or post) request use this lab, I will get an error recently ( sometime will get the error. not always ):
Client network socket disconnected before secure TLS connection was established
why?
Here is one I create use facebook api will get the error. same error will get when I use post method in other api.
The text was updated successfully, but these errors were encountered: