fetch error
guys how to debug these kinds of errors i got this while fetching a url
sometimes its working and sometimes its not working
pls help me
1 Reply
cause: Error: read ECONNRESET
this just means the connection was reset, probably by the server. If you control the server, there should be more info in the log as to why it reset the connection, usually an uncaught exception. If you don't control the server, you're SOL and you'll have to build in a mechanism that keeps retrying with a delay on certain exceptions