http2-express icon indicating copy to clipboard operation
http2-express copied to clipboard

Server running but not working

Open frabaglia opened this issue 9 years ago • 5 comments

Hi.

I have created SSL certificates via this guide.

Finally i have this two files:

  • server.key
  • server.crt

Because i have a passphrase, i have to add this to the options object on the index.js.

After all, logs looks like everything is running great but i'm getting this after requesting http://localhost:3000/ (at Google Chrome):

The localhost page isn’t working localhost didn’t send any data. ERR_EMPTY_RESPONSE

frabaglia avatar Nov 09 '16 17:11 frabaglia

I meet this problem too @FrancooHM

hitao123 avatar May 16 '17 01:05 hitao123

Don´t forget the H2 is running over SSL (HTTPS) so regular http without redirect will return empty response.

Access the server with HTTPS: https://localhost:3000/

alesmenzel avatar Aug 26 '17 19:08 alesmenzel

Just made that mistake!

marmadukeandbob05 avatar Sep 26 '18 16:09 marmadukeandbob05

I made the same mistake! Thanks !

VaibhavP17 avatar Jan 22 '20 08:01 VaibhavP17

x3 i made the same thanks!

seguvega avatar Jun 17 '21 15:06 seguvega