Catalyst File Store ,"message":"socket hang up","value":{"code":"ECONNRESET"}

Catalyst File Store ,"message":"socket hang up","value":{"code":"ECONNRESET"}

{"code":"api/request_failure","message":"socket hang up","value":{"code":"ECONNRESET"}}.

The ECONNRESET issue might occur if you have not handled the error with a try catch block in your code and the “catalyst serve” command is running. You can check what error is occurring by either catching the same with try catch block or by running the command “catalyst serve —no-watch” which disables hot code replace and logs the issue.