js-client icon indicating copy to clipboard operation
js-client copied to clipboard

Deploy step fails on random steps due to network errors

Open bcomnes opened this issue 7 years ago • 0 comments

From https://github.com/netlify/cli/issues/10#issuecomment-466080087

I have this problem when I do $ netlify deploy --prod on the first time. It show something like...

Deploying to live site URL...
√ Finished hashing 7 files
√ CDN requesting 7 files
√ Finished uploading 7 assets
| Waiting for deploy to go live... »   Warning:
 »   {
 »      "message": "request to
 »   https://api.netlify.com/api/v1/sites/04c14fe2-e27a-4ed4-b10c-f81a2bfbd27c/deplo
 »   ys/5c6ed79fef12041c97a94db0 failed, reason: read ECONNRESET",
 »      "type": "system",
 »      "errno": "ECONNRESET",
 »      "code": "ECONNRESET",
 »      "name": "FetchError",

but, after few seconds I run the same command again it then work fine. and I got

Deploying to live site URL...
√ Finished hashing 7 files
√ CDN requesting 0 files
√ Finished uploading 0 assets
√ Deploy is live!

Not sure if it help to point out to the cause of the problem...

bcomnes avatar Feb 21 '19 17:02 bcomnes