Got an unexpected response: {"code":"ECONNRESET"}

Please help. What could be reason?

Hard to know for sure, but I was getting that error because the version of Android my emulator was running was not supported (I was using Q). When I switched to a device running Android 9 the ECONNRESET error went away.