-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localhost not running from Browser ? #145
Comments
Chrome will not initially attempt HTTP/3, it will try a regular HTTP request and switch to HTTP/3 if the server announces support for it. This does not work if the server is HTTP/3 only. See #127 for the appropriate flags to force HTTP/3 and accept the certificate |
I tried to use chrome and the commands you have mentioned to open the client in the browser but it does-not work. I tried to open the client using the chromium browser built from the chromium source code and localhost works in that. I do not even need to generate fingerprints for the certificate command to run client side in chromium. The commands for running chrome and chromium are mentioned below. When I connect the client side using chrome I see TCP packets getting called from the browser. The reset packets are TCP as well. There are no UDP/QUIC packets coming from chrome browser and the local host gives site cannot be reached error. I have tried https://127.0.0.1:4433 as well as https://localhost:4433. Both show the same behavior. I can see HTTP/3 when I use the curl command. The output is as follows: - curl --http3 -I https://localhost:4433/ I use these commands for the chrome browser: - /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome I use the following commands for the chromium browser: - out/Default/Chromium.app/Contents/MacOS/Chromium Wireshark output when trying to connect client using chrome is as below Frame 1: 88 bytes on wire (704 bits), 88 bytes captured (704 bits) on interface lo0, id 0 Frame 2: 64 bytes on wire (512 bits), 64 bytes captured (512 bits) on interface lo0, id 0 No. Time Source Destination Protocol Length Info Frame 3: 88 bytes on wire (704 bits), 88 bytes captured (704 bits) on interface lo0, id 0 No. Time Source Destination Protocol Length Info Frame 4: 64 bytes on wire (512 bits), 64 bytes captured (512 bits) on interface lo0, id 0 No. Time Source Destination Protocol Length Info Frame 5: 68 bytes on wire (544 bits), 68 bytes captured (544 bits) on interface lo0, id 0 No. Time Source Destination Protocol Length Info Please let me know if I'm missing something here. Thanking you in anticipation. |
Hi
I'm not able to open the index.html on browser like chrome canary etc. After enabling quic in canary when I try to run https://localhost:4433/ in the browser. It says site cannot be reached. Can you help me where I'm going wrong.
Thanks
The text was updated successfully, but these errors were encountered: