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

fix: dns lookup doesn't include port #1156

Merged
merged 3 commits into from
Nov 13, 2024
Merged

fix: dns lookup doesn't include port #1156

merged 3 commits into from
Nov 13, 2024

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Nov 11, 2024

What does this PR do?

this works fine in "normal" user land with normal instanceUrls
for weird internal, the DNS lookup fails because of the port being in the url

https://nodejs.org/api/url.html#urlhostname
hostname has no port (and dns.lookup is fine)
host has the port (and dns.lookup fails)

also, workspaces url have changed (was previously wc.dev.crm but lately seing more wb.dev.crm 🤷🏻

What issues does this PR fix or reference?

@W-17167313@
and also the issue where internals have to add SF_DISABLE_DNS_CHECK:true to avoid the port issue.

@mshanemc mshanemc requested a review from a team as a code owner November 11, 2024 17:18
@mshanemc mshanemc changed the title feat: dns lookup doesn't include port fix: dns lookup doesn't include port Nov 11, 2024
@shetzel shetzel merged commit 74d4a94 into main Nov 13, 2024
73 checks passed
@shetzel shetzel deleted the sm/workspaces-support branch November 13, 2024 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants