René's URL Explorer Experiment


Title: Localhost DNS lookup fails without network connection · Issue #524 · machinezone/IXWebSocket · GitHub

Open Graph Title: Localhost DNS lookup fails without network connection · Issue #524 · machinezone/IXWebSocket

X Title: Localhost DNS lookup fails without network connection · Issue #524 · machinezone/IXWebSocket

Description: Hi! Thanks again for the lib! I mostly use this library on windows to connect to a local server via "wss://localhost". This normally works fine, but when not connected to a network (network cable unplugged and not connected to wifi), IXW...

Open Graph Description: Hi! Thanks again for the lib! I mostly use this library on windows to connect to a local server via "wss://localhost". This normally works fine, but when not connected to a network (network cable u...

X Description: Hi! Thanks again for the lib! I mostly use this library on windows to connect to a local server via "wss://localhost". This normally works fine, but when not connected to a network (netwo...

Opengraph URL: https://github.com/machinezone/IXWebSocket/issues/524

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Localhost DNS lookup fails without network connection","articleBody":"Hi! Thanks again for the lib!\r\n\r\nI mostly use this library on windows to connect to a local server via \"wss://localhost\". This normally works fine, but when **not** connected to a network (network cable unplugged and not connected to wifi), IXWebsockets fails to connect to my server.\r\n\r\nI tracked it down to failing DNS lookup of localhost. Digging into the code, I see `getaddrinfo` is configured not to do lookups when a with only a loopback address available (hint `AI_ADDRCONFIG` is set): https://github.com/machinezone/IXWebSocket/blob/9884c325dd0fa64b2b885b332e98118f60313208/ixwebsocket/IXDNSLookup.cpp#L64\r\n\r\nAs a workaround I tested to remove that flag and my program started working as expected.\r\n\r\nI'm not proficient in winsock etc, so I can't tell if there any specific reason for the flag to be set for the library or can it be removed or made configurable?\r\n\r\nThanks!","author":{"url":"https://github.com/MichelJansson","@type":"Person","name":"MichelJansson"},"datePublished":"2024-08-26T15:45:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/524/IXWebSocket/issues/524"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:84956092-668f-f027-3306-45a5d608f087
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id85A2:1AC56:928C9C:C20B11:6A4C3B87
html-safe-nonced70b960f53e4379f8c54ea52bcdd070cf092a432c8ec31c59dc918a51dd49c5b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUEyOjFBQzU2OjkyOEM5QzpDMjBCMTE6NkE0QzNCODciLCJ2aXNpdG9yX2lkIjoiMjc4ODc2MjMyNjIzNjE1MDY2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacac6e833adf1933107ded791ddb67541869103e4d9f9f63493811a16f83bcc7d8
hovercard-subject-tagissue:2487173880
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/machinezone/IXWebSocket/524/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f4c398e8e65cc8e5af8832271207e8d6fbea20ec3239d5ed15d63473d5b010df/machinezone/IXWebSocket/issues/524
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f4c398e8e65cc8e5af8832271207e8d6fbea20ec3239d5ed15d63473d5b010df/machinezone/IXWebSocket/issues/524
og:image:altHi! Thanks again for the lib! I mostly use this library on windows to connect to a local server via "wss://localhost". This normally works fine, but when not connected to a network (network cable u...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMichelJansson
hostnamegithub.com
expected-hostnamegithub.com
None1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511
turbo-cache-controlno-preview
go-importgithub.com/machinezone/IXWebSocket git https://github.com/machinezone/IXWebSocket.git
octolytics-dimension-user_id6372053
octolytics-dimension-user_loginmachinezone
octolytics-dimension-repository_id150647867
octolytics-dimension-repository_nwomachinezone/IXWebSocket
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id150647867
octolytics-dimension-repository_network_root_nwomachinezone/IXWebSocket
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released11deab54ce15bac57bda991cc63805976812c11
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/machinezone/IXWebSocket/issues/524#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmachinezone%2FIXWebSocket%2Fissues%2F524
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmachinezone%2FIXWebSocket%2Fissues%2F524
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=machinezone%2FIXWebSocket
Reloadhttps://github.com/machinezone/IXWebSocket/issues/524
Reloadhttps://github.com/machinezone/IXWebSocket/issues/524
Reloadhttps://github.com/machinezone/IXWebSocket/issues/524
Please reload this pagehttps://github.com/machinezone/IXWebSocket/issues/524
machinezone https://github.com/machinezone
IXWebSockethttps://github.com/machinezone/IXWebSocket
Notifications https://github.com/login?return_to=%2Fmachinezone%2FIXWebSocket
Fork 228 https://github.com/login?return_to=%2Fmachinezone%2FIXWebSocket
Star 773 https://github.com/login?return_to=%2Fmachinezone%2FIXWebSocket
Code https://github.com/machinezone/IXWebSocket
Issues 63 https://github.com/machinezone/IXWebSocket/issues
Pull requests 4 https://github.com/machinezone/IXWebSocket/pulls
Actions https://github.com/machinezone/IXWebSocket/actions
Security and quality 0 https://github.com/machinezone/IXWebSocket/security
Insights https://github.com/machinezone/IXWebSocket/pulse
Code https://github.com/machinezone/IXWebSocket
Issues https://github.com/machinezone/IXWebSocket/issues
Pull requests https://github.com/machinezone/IXWebSocket/pulls
Actions https://github.com/machinezone/IXWebSocket/actions
Security and quality https://github.com/machinezone/IXWebSocket/security
Insights https://github.com/machinezone/IXWebSocket/pulse
#589https://github.com/machinezone/IXWebSocket/pull/589
Localhost DNS lookup fails without network connectionhttps://github.com/machinezone/IXWebSocket/issues/524#top
#589https://github.com/machinezone/IXWebSocket/pull/589
https://github.com/MichelJansson
MichelJanssonhttps://github.com/MichelJansson
on Aug 26, 2024https://github.com/machinezone/IXWebSocket/issues/524#issue-2487173880
IXWebSocket/ixwebsocket/IXDNSLookup.cpphttps://github.com/machinezone/IXWebSocket/blob/9884c325dd0fa64b2b885b332e98118f60313208/ixwebsocket/IXDNSLookup.cpp#L64
9884c32https://github.com/machinezone/IXWebSocket/commit/9884c325dd0fa64b2b885b332e98118f60313208
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.