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

gatsby develop -H 0.0.0.0 not working #36177

Closed
2 tasks done
Foo-x opened this issue Jul 19, 2022 · 5 comments · Fixed by #36186
Closed
2 tasks done

gatsby develop -H 0.0.0.0 not working #36177

Foo-x opened this issue Jul 19, 2022 · 5 comments · Fixed by #36186
Labels
status: confirmed Issue with steps to reproduce the bug that’s been verified by at least one reviewer. topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) type: bug An issue or pull request relating to a bug in Gatsby

Comments

@Foo-x
Copy link
Contributor

Foo-x commented Jul 19, 2022

Preliminary Checks

Description

gatsby develop -H 0.0.0.0 will not listen as 0.0.0.0 on v4.19.0.
It works on v4.18.

Reproduction Link

https://github.com/Foo-x/gatsby-bug-repro/tree/all-ip-not-working

Steps to Reproduce

  1. npm run develop
  2. Open address on other device.

Expected Result

It can be opened on other devices.

Actual Result

It cannot be opened on other devices.
I checked by listening on WSL2 and opening on the host.

Environment

System:
    OS: Linux 5.10 Ubuntu 20.04.2 LTS (Focal Fossa)
    CPU: (16) x64 AMD Ryzen 7 4800H with Radeon
Graphics
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 16.13.2 -
~/.nvm/versions/node/v16.13.2/bin/node
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
  Languages:
    Python: 3.8.10 - /home/foox/.local/bin/python
  npmPackages:
    gatsby: ^4.19.0 => 4.19.0
  npmGlobalPackages:
    gatsby-plugin-preload-fonts: 3.16.0-next.0

Config Flags

No response

@Foo-x Foo-x added the type: bug An issue or pull request relating to a bug in Gatsby label Jul 19, 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 19, 2022
@jablonski
Copy link

jablonski commented Jul 19, 2022

I can confirm this bug. We are running Gatsby in a Docker/Compose-Environment, 4.19.0 stopped working.

@HarryNg-1qbit
Copy link

I also can confirm the issue with 4.19.0. Downgrading to 4.18.0 fixes the issue

@javialon26
Copy link

Same here! I spent 2 hours because of this, we are using docker/docker-compose for local development.

@LekoArts LekoArts added status: confirmed Issue with steps to reproduce the bug that’s been verified by at least one reviewer. topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jul 20, 2022
@littlewall
Copy link

I can confirm this bug, originally I thought it was Traefik/Docker trouble but find out it happened after an update to Gatsby v14.9.0

@wardpeet
Copy link
Contributor

Fixed in gatsby@4.19.1

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. topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) 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.

7 participants