Axioserror: Read Econnreset

Axioserror Read Econnreset

Axioserror: Read Econnreset. Web when running via my api (hosted in aws). Connect and share knowledge within a single location that is structured and easy to search.

Axioserror Read Econnreset
Axioserror Read Econnreset

Connect and share knowledge within a single location that is structured and easy to search. Web i had exactly same issue, i checked my '/etc/hosts' and saw '::1 localhost', removing that line fixed my issue. Await axios ( { method, url, data: When i restart the server, it works again but only one time. The first get works fine but after that response it keeps failing. Read econnreset at tlswrap.onstreamread (node:internal/stream_base_commons:217:20) { syscall: I use nodemon server.js to start my. Don't do or even recommend that! Read econnreset at exports._errnoexception (util.js:1022:11) at tcp.onread [as _originalonread]. Any }) => { console.log (data);.

Read econnreset at exports._errnoexception (util.js:1022:11) at tcp.onread [as _originalonread]. Here is my api code. Client network socket disconnected before secure tls connection was established or write eproto e0da0000:error:0a00010b:ssl. Await axios ( { method, url, data: Connect and share knowledge within a single location that is structured and easy to search. Read econnreset axios in backend node js. Body, headers }).then (data => { response = data }).catch (error => { response = error.response; I am using axios in the backend nodejs and wanted to fetch the data of the movie database api. When is send request from frontend to my nodejs api it gives error: You'll get all type of responses in this response object, no need to worry about axios errors, you can handle. Web when running via my api (hosted in aws).