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
I am using vercel and sending the request to algolia via vercel.
When I use search-instights.js I get the following error and cannot send a click event.
It does not occur every time, but once every few times.
Also, this does not occur when running at local.
2023-12-04T15:48:24.883Z 625e31bf-bc53-49fb-8835-ff936d6e5078 ERROR Error: 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 process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET',
path: null,
host: 'insights.algolia.io',
port: 443,
localAddress: undefined
}
2023-12-04T15:48:24.884Z 625e31bf-bc53-49fb-8835-ff936d6e5078 ERROR Unhandled Promise Rejection
{
"errorType":"Runtime.UnhandledPromiseRejection",
"errorMessage":"Error: Client network socket disconnected before secure TLS connection was established",
"reason":{
"errorType":"Error",
"errorMessage":"Client network socket disconnected before secure TLS connection was established",
"code":"ECONNRESET",
"path":null,
"host":"insights.algolia.io",
"port":443,
"stack":[
"Error: 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 process.processTicksAndRejections (node:internal/process/task_queues:82:21)"
]
},
"promise":{
},
"stack":[
"Runtime.UnhandledPromiseRejection: Error: Client network socket disconnected before secure TLS connection was established",
" at process.<anonymous> (file:///var/runtime/index.mjs:1276:17)",
" at process.emit (node:events:529:35)",
" at emit (node:internal/process/promises:149:20)",
" at processPromiseRejections (node:internal/process/promises:283:27)",
" at process.processTicksAndRejections (node:internal/process/task_queues:96:32)"
]
}
[ERROR] [1701704904888] LAMBDA_RUNTIME Failed to post handler success response. Http response code: 400.
Error: Runtime exited with error: exit status 128
Runtime.ExitError
Since Vercel is running on Lambda and there was a LAMBDA_RUNTIME error message in this log as well, I believe the following issue may be related. aws/aws-sdk-js#3591
I think I might need to await for the execution of some asynchronous function, but I couldn't figure out how to do it.
Any suggestion?
The text was updated successfully, but these errors were encountered:
I am using vercel and sending the request to algolia via vercel.
When I use search-instights.js I get the following error and cannot send a click event.
It does not occur every time, but once every few times.
Also, this does not occur when running at local.
Here is the code.
https://github.com/mongolyy/next-with-algolia-app
Since Vercel is running on Lambda and there was a LAMBDA_RUNTIME error message in this log as well, I believe the following issue may be related.
aws/aws-sdk-js#3591
I think I might need to await for the execution of some asynchronous function, but I couldn't figure out how to do it.
Any suggestion?
The text was updated successfully, but these errors were encountered: