Skip to content
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

--https doesn't work since Gatsby 4.19.0 #36241

Closed
2 tasks done
jens-duttke opened this issue Jul 26, 2022 · 1 comment · Fixed by #36248
Closed
2 tasks done

--https doesn't work since Gatsby 4.19.0 #36241

jens-duttke opened this issue Jul 26, 2022 · 1 comment · Fixed by #36248
Labels
status: confirmed Issue with steps to reproduce the bug that’s been verified by at least one reviewer. type: bug An issue or pull request relating to a bug in Gatsby

Comments

@jens-duttke
Copy link

Preliminary Checks

Description

The Local HTTPS Option (--https) doesn't work anymore in Gatsby Version 4.19.0, 4.19.1 and 4.19.2.
The terminal still shows:

You can now view my-gatsby-site in the browser.
https://localhost:8000/

But in the browser, only http://localhost:8000/ works.

This is reproducable in gatsby-starter bundle, by simply appending --https --key-file ....key --cert-file ....cert to the start-script.

Reproduction Link

https://github.com/jens-duttke/gatsby-https-fault

Steps to Reproduce

  1. git clone https://github.com/jens-duttke/gatsby-https-fault.git
  2. cd gatsby-https-fault
  3. npm i
  4. npm start
  5. Go to https://localhost:8000/ as shown in the terminal

Expected Result

The page will be shown

Actual Result

ERR_SSL_PROTOCOL_ERROR

Environment

Windows 10 Pro, Gatsby 4.19.x

Config Flags

None

@jens-duttke jens-duttke added the type: bug An issue or pull request relating to a bug in Gatsby label Jul 26, 2022
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 26, 2022
@pieh pieh added status: confirmed Issue with steps to reproduce the bug that’s been verified by at least one reviewer. and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jul 27, 2022
@pieh
Copy link
Contributor

pieh commented Jul 27, 2022

Can confirm, opened #36248 with the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: confirmed Issue with steps to reproduce the bug that’s been verified by at least one reviewer. type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants