-
Notifications
You must be signed in to change notification settings - Fork 74
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 is not a valid domain name #56
Comments
v1.1.1? |
@Js-Brecht I believe so, I did a fresh install on my mac using I checked the Regex in the diff for 1.1.1 and it doesn't match for any of the ones I tried. |
What package manager are you using? You should be able to use it to query your dependency tree. Something like I’m just trying to figure out what version you’re on because an update was published today that would probably cause the problem you’re experiencing |
Oh, I see now you’re using npm. I overlooked that before |
I believe the regex in this latest release is preventing the domains that I'm attempting to use. |
Same here Gatsby breaks too: https://www.gatsbyjs.org/docs/local-https/ |
The RegExp is here: Line 9 in d979a93
I've been really swamped lately, so I don't know when I'll have time to work on that regular expression. It should support IP addresses & single DC (e.g. localhost), but it should also still restrict the domain to valid inputs. |
In
Our e2e cypress testing is setup to use certificates, and all tests failing, so we can't deploy to any of environments, at least it works locally, but how do you explain that to managers? crosslinking gatsby issue: gatsbyjs/gatsby#25103 |
@JustFly1984 I think one way you could fix that is to install |
@JustFly1984 try adding this to your action, before your - name: Update apt sources
run: sudo apt-get update
- name: Install libnss3-tools
run: sudo apt-get install -y libnss3-tools |
@Js-Brecht we have switched ubuntu to 1.1.1 does not work for |
|
@Js-Brecht is there any fix to 1.1.1? |
#57 will fix it |
This issue resurfaced for me in |
I also just did a fresh install using this Gatsby starter: https://github.com/gatsbyjs/gatsby-starter-wordpress-blog and first got issues with a self-signed certificate; once I tried to issue a cert through Gatsby I got that error: "Error: "localhost" is not a valid domain name." |
On the latest version (using
devcert-cli
):same for
127.0.0.1
and my local ipThe text was updated successfully, but these errors were encountered: