burakorkmez / mern-chat-app

Real Time Chat App | MERN && Socket.io && JWT
MIT License
623 stars 175 forks source link

[vite] http proxy error at /api/auth/signup: AggregateError [ECONNREFUSED]: at internalConnectMultiple (node:net:1116:18) at afterConnectMultiple (node:net:1683:7) #14

Open GrimGod-YT opened 2 months ago

GrimGod-YT commented 2 months ago

whan i login i get this message[vite] http proxy error at /api/auth/signup: AggregateError [ECONNREFUSED]: at internalConnectMultiple (node:net:1116:18) at afterConnectMultiple (node:net:1683:7) (i did just like you) in the localhost it says Unexpected end of JSON input

vasu03 commented 3 weeks ago

This Error is coming from your FrontEnd app when you FrontEnd App server is up & running but somehow due to some error or socketTimeout to Mongo connection or network issues you Backend Server stopped working.

To resolve the error you can simply restart the Backend Server and your issues will be fixed.