mike-works / pwa-fundamentals

👨‍🏫 Mike & Steve's Progressive Web Fundamentals Course
https://frontendmasters.com/courses/progressive-web-apps/
Other
270 stars 117 forks source link

Not able to setup http2 in exercise 1 #142

Open bhupendra1011 opened 6 years ago

bhupendra1011 commented 6 years ago

HI All ,

I am not able to setup http2 server in exercise 1 of PWA & Offline course . When I run npm run watch --http2 ( as ./run serve is depreacted) , and start page: https://localhost:5000 nothing loads , and on localhost:3000 , all files are served over http 1.1 . Also I noticed when I open webpage in mobile by using system IP address , server crashes . ] events.js:183 [UI] throw er; // Unhandled 'error' event [UI] ^ [UI] [UI] Error: read ECONNRESET [UI] at _errnoException (util.js:1024:11) [UI] at TCP.onread (net.js:615:25)

Here is the commit id of exercise 1: https://github.com/bhupendra1011/pwa-fundamentals/commit/3fe6e128d9349ae5dc8a8cd7a93cc2ab3cf0cf39

mike-north commented 6 years ago

Does HTTP 1.1 on :3000 work for you?

bhupendra1011 commented 6 years ago

Hi @mike-north , Yes I do get HTTP 1.1 on localhost:3000

screen shot 2018-08-08 at 1 33 52 pm