Repository navigation
fix(webpack): Use 127.0.0.1 loopback over locahost - #40625
Merged
evanpurkhiser merged 1 commit intoOct 27, 2022
Merged
evanpurkhiser merged 1 commit into
evanpurkhiser merged 1 commit into
Conversation
evanpurkhiser
force-pushed
the
evanpurkhiser/fix-webpack-use-127-0-0-1-loopback-over-locahost
branch
from
October 27, 2022 04:23
14d8c41 to
1991a39
Compare
This fixes a problem with webpack devserver where localhost will now sometimes fail to resolve to the IPv4 127.0.0.1 (and instead resolve to ::1) This is because of Node 18, which we recently bumped to > Node.js 17+ no longer prefers IPv4 over IPv6 for DNS lookups. E.g. > It's not guaranteed that localhost will be resolved to 127.0.0.1 – it > might just as well be ::1 (or some other IP address). See: https://github.com/chimurai/http-proxy-middleware#nodejs-17-econnrefused-issue-with-ipv6-and-localhost-705
dashed
approved these changes
Oct 27, 2022
evanpurkhiser
force-pushed
the
evanpurkhiser/fix-webpack-use-127-0-0-1-loopback-over-locahost
branch
from
October 27, 2022 04:42
1991a39 to
2af0d0e
Compare
evanpurkhiser
enabled auto-merge (squash)
October 27, 2022 04:42
evanpurkhiser
deleted the
evanpurkhiser/fix-webpack-use-127-0-0-1-loopback-over-locahost
branch
October 27, 2022 05:01
jan-auer
added a commit
that referenced
this pull request
Oct 27, 2022
* master: (82 commits) ref(test): Convert account security details to rtl and ts (#40638) fix(appconnect): Drop app_id column (#40326) test(js): Convert InviteMembersModal to RTL (#40637) test(js): Convert fieldRenderers to RTL (#40633) chore(events): Use longKeys for Java packages (#40539) ref(ui): Remove deprecatedforms from AdminQuotas (#40627) ref(js): Convert InviteRowControl to a FC (#40634) feat(ui): Improve aria attributes of menu items (#40573) feat(js): Report usage of deprecatedforms in window.SentryApp (#40628) ref(ui): Remove deprecatedforms/selectField in AdminQueue (#40626) ref(js): Convert TitleStar to a FC (#40632) feat(ui): Label Settings Serach input (#40630) ref(js): Extract permissionStateToList out of class (#40620) ref(js): Be consistent about `domId` with `useMemo` (#40622) feat(ui): Use `nav` For settings navigations (#40576) fix(webpack): Use 127.0.0.1 loopback over locahost (#40625) test(discover): Convert eventsRequest.spec.jsx to RTL (#40585) fix(ui): Remove invalid `role="text"` (#40579) feat(ui): Use `header` for Layout.Header component (#40580) (fix): self-hosted e2e env variable update (#40619) ...
jan-auer
added a commit
that referenced
this pull request
Oct 27, 2022
* master: (82 commits) ref(test): Convert account security details to rtl and ts (#40638) fix(appconnect): Drop app_id column (#40326) test(js): Convert InviteMembersModal to RTL (#40637) test(js): Convert fieldRenderers to RTL (#40633) chore(events): Use longKeys for Java packages (#40539) ref(ui): Remove deprecatedforms from AdminQuotas (#40627) ref(js): Convert InviteRowControl to a FC (#40634) feat(ui): Improve aria attributes of menu items (#40573) feat(js): Report usage of deprecatedforms in window.SentryApp (#40628) ref(ui): Remove deprecatedforms/selectField in AdminQueue (#40626) ref(js): Convert TitleStar to a FC (#40632) feat(ui): Label Settings Serach input (#40630) ref(js): Extract permissionStateToList out of class (#40620) ref(js): Be consistent about `domId` with `useMemo` (#40622) feat(ui): Use `nav` For settings navigations (#40576) fix(webpack): Use 127.0.0.1 loopback over locahost (#40625) test(discover): Convert eventsRequest.spec.jsx to RTL (#40585) fix(ui): Remove invalid `role="text"` (#40579) feat(ui): Use `header` for Layout.Header component (#40580) (fix): self-hosted e2e env variable update (#40619) ...
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes a problem with webpack devserver where localhost will now
sometimes fail to resolve to the IPv4 127.0.0.1 (and instead resolve to ::1)
This is because of Node 18, which we recently bumped to
See: https://github.com/chimurai/http-proxy-middleware#nodejs-17-econnrefused-issue-with-ipv6-and-localhost-705