Masahiro Aoki
04/21/2021, 3:25 PMRequest #1619018557157: Request to Node 0 failed due to "ECONNRESET socket hang up"
Request #1619018557157: Sleeping for 0.1s and then retrying request...
Request #1619018557157: Request to Node 0 failed due to "ECONNRESET socket hang up"
Request #1619018557157: Sleeping for 0.1s and then retrying request...
{ Error: socket hang up
at createHangUpError (_http_client.js:332:15)
at Socket.socketOnEnd (_http_client.js:435:23)
at Socket.emit (events.js:203:15)
at Socket.EventEmitter.emit (domain.js:448:20)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
code: 'ECONNRESET',
I got this error in Typesense cloud, any workarounds??
Thanks!Jason Bosco
04/21/2021, 3:35 PMJason Bosco
04/21/2021, 3:36 PMJason Bosco
04/21/2021, 3:39 PMMasahiro Aoki
04/21/2021, 9:57 PMgxu1iajypedl2z0tp
Masahiro Aoki
04/21/2021, 9:59 PMMasahiro Aoki
04/21/2021, 10:14 PMJason Bosco
04/21/2021, 11:13 PMMasahiro Aoki
04/22/2021, 2:30 AMmyCollection = {
'name': 'books',
'fields': [
{'name': 'id', 'type': 'string'},
{'name': 'title', 'type': 'string' },
{'name': 'publication_year', 'type': 'int32' },
],
'default_sorting_field': 'publication_year'
};
try{
await client.collections().create(myCollection);
}catch(e){
console.log(e);
}
Masahiro Aoki
04/22/2021, 2:31 AMRequest #1619058629397: Request to Node 0 failed due to "ENOTFOUND getaddrinfo ENOTFOUND <http://tsmguza3k7b4vqh9p-1.a1.typesense.net|tsmguza3k7b4vqh9p-1.a1.typesense.net> <http://tsmguza3k7b4vqh9p-1.a1.typesense.net:443|tsmguza3k7b4vqh9p-1.a1.typesense.net:443>"
Request #1619058629397: Sleeping for 0.1s and then retrying request...
Request #1619058629397: Request to Node 0 failed due to "ENOTFOUND getaddrinfo ENOTFOUND <http://tsmguza3k7b4vqh9p-1.a1.typesense.net|tsmguza3k7b4vqh9p-1.a1.typesense.net> <http://tsmguza3k7b4vqh9p-1.a1.typesense.net:443|tsmguza3k7b4vqh9p-1.a1.typesense.net:443>"
Request #1619058629397: Sleeping for 0.1s and then retrying request...
{ Error: getaddrinfo ENOTFOUND <http://tsmguza3k7b4vqh9p-1.a1.typesense.net|tsmguza3k7b4vqh9p-1.a1.typesense.net> <http://tsmguza3k7b4vqh9p-1.a1.typesense.net:443|tsmguza3k7b4vqh9p-1.a1.typesense.net:443>
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '<http://tsmguza3k7b4vqh9p-1.a1.typesense.net|tsmguza3k7b4vqh9p-1.a1.typesense.net>',
host: '<http://tsmguza3k7b4vqh9p-1.a1.typesense.net|tsmguza3k7b4vqh9p-1.a1.typesense.net>',
port: '443',
config:
{ url:
'<http://tsmguza3k7b4vqh9p-1.a1.typesense.net:443/collections>',
method: 'post',
data:
'{"name":"books","fields":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"publication_year","type":"int32"}],"default_sorting_field":"publication_year"}',
headers:
{ Accept: 'application/json, text/plain, */*',
Masahiro Aoki
04/22/2021, 2:35 AMJason Bosco
04/22/2021, 2:35 AMJason Bosco
04/22/2021, 2:36 AMtsmguza3k7b4vqh9p
was terminated, so it's not an active clusterMasahiro Aoki
04/22/2021, 3:26 AM