Resolve issue On Node JS
Budget: ₹600 – ₹1,500 INR
I am Getting This Error On y Nodejs Server Need Help with Resolving the Same
---------
_currentUrl: 'http://localhost:5000/chatting/sendmessage' },
response: undefined,
isAxiosError: true,
toJSON: [Function: toJSON] }
{ 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 endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
code: 'ECONNRESET',
config:
{ url: 'http://localhost:5000/chatting/sendmessage',
method: 'post',
data:
'{"phone":"9199892622992","message":"HI\\n","id":"61a0b6897d73d80bba8b5f40"}',
headers:
{ Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/json',
'User-Agent': 'axios/0.21.4',
'Content-Length': 73 },
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus],
transitional:
{ silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false } },
---------
_currentUrl: 'http://localhost:5000/chatting/sendmessage' },
response: undefined,
isAxiosError: true,
toJSON: [Function: toJSON] }
{ 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 endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
code: 'ECONNRESET',
config:
{ url: 'http://localhost:5000/chatting/sendmessage',
method: 'post',
data:
'{"phone":"9199892622992","message":"HI\\n","id":"61a0b6897d73d80bba8b5f40"}',
headers:
{ Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/json',
'User-Agent': 'axios/0.21.4',
'Content-Length': 73 },
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus],
transitional:
{ silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false } },