Cannot start ionic new blank template. Error: write EPROTO

Hello, i try to create a new ionic project, but it’s fail when downloading the template.

Creating an Ionic 2.x app in C:\Users\Windows 10\demo1 based on the blank template.

Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
Error with start Error: write EPROTO 101057795:error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac:openssl\ssl\s3_pkt.c:1493:SSL alert number 20
101057795:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:openssl\ssl\s3_pkt.c:659:

at exports._errnoException (util.js:1028:11)
at WriteWrap.afterWrite [as oncomplete] (net.js:804:14)                                                             Error         Initializing app: Error: write EPROTO 101057795:error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac:openssl\ssl\s3_pkt.c:1493:SSL alert number 20
101057795:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:openssl\ssl\s3_pkt.c:659:

Error: write EPROTO 101057795:error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac:openssl\ssl\s3_pkt.c:1493:SSL alert number 20                                                                                             101057795:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:openssl\ssl\s3_pkt.c:659:

at exports._errnoException (util.js:1028:11)
at WriteWrap.afterWrite [as oncomplete] (net.js:804:14)

Are you behind a proxy or other aggressive firewall? Can you see if the problem persists without it?

No, i’m not behind proxy. I use Windows 10 and have turn off the firewall, and the problem still persist. I don’t understand. before this, for install the Ionic i have to change the npm registry from https:// to http://
and now it can’t reach the https://github.com/driftyco/ionic2-app-base/archive/master.zip

I think this is a very bad idea, and it suggests that your network connection is not secure. I hope that you are able to resolve things so that you can use https.

1 Like