Title: Conditional unhandled 'error' event when http.request with `.lookup` · Issue #48771 · nodejs/node · GitHub
Open Graph Title: Conditional unhandled 'error' event when http.request with `.lookup` · Issue #48771 · nodejs/node
X Title: Conditional unhandled 'error' event when http.request with `.lookup` · Issue #48771 · nodejs/node
Description: Version 20.4.0 Platform Docker ArchLinux 6.1.35-1-lts Subsystem No response What steps will reproduce the bug? https://github.com/loynoir/reproduce-node-48771 How often does it reproduce? Is there a required condition? ip blackhole like ...
Open Graph Description: Version 20.4.0 Platform Docker ArchLinux 6.1.35-1-lts Subsystem No response What steps will reproduce the bug? https://github.com/loynoir/reproduce-node-48771 How often does it reproduce? Is there ...
X Description: Version 20.4.0 Platform Docker ArchLinux 6.1.35-1-lts Subsystem No response What steps will reproduce the bug? https://github.com/loynoir/reproduce-node-48771 How often does it reproduce? Is there ...
Opengraph URL: https://github.com/nodejs/node/issues/48771
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Conditional unhandled 'error' event when http.request with `.lookup`","articleBody":"### Version\r\n\r\n20.4.0\r\n\r\n### Platform\r\n\r\nDocker ArchLinux 6.1.35-1-lts\r\n\r\n### Subsystem\r\n\r\n_No response_\r\n\r\n### What steps will reproduce the bug?\r\n\r\nhttps://github.com/loynoir/reproduce-node-48771\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\n- ip blackhole like behavior\r\n\r\n### What is the expected behavior? Why is that the expected behavior?\r\n\r\nMake it possible to catch error, and exit with 0.\r\n\r\n### What do you see instead?\r\n\r\nError is not caught, and exit with 1.\r\n\r\n### Additional information\r\n\r\n_No response_","author":{"url":"https://github.com/loynoir","@type":"Person","name":"loynoir"},"datePublished":"2023-07-14T13:54:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/48771/node/issues/48771"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1465c962-a91d-7997-fffd-87ab4a9cb9ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A04:E2860:13A8331:1B777B9:6A4BFE0C |
| html-safe-nonce | 085a954bdcaa1bf50c1dd9bde07931bb043d4e4403781873943d24701369dca4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTA0OkUyODYwOjEzQTgzMzE6MUI3NzdCOTo2QTRCRkUwQyIsInZpc2l0b3JfaWQiOiI1MjE2MjMzNDIzMzgzNTU5NjkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1c1ed06a48b645c9929f2398c785733f4c1cf9c3eac6f8a2a566b152c4007ac1 |
| hovercard-subject-tag | issue:1804927165 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/48771/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0599f6462c6212b4cc43614ccfae4fa6db3f8643f15387703093938715836ef8/nodejs/node/issues/48771 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0599f6462c6212b4cc43614ccfae4fa6db3f8643f15387703093938715836ef8/nodejs/node/issues/48771 |
| og:image:alt | Version 20.4.0 Platform Docker ArchLinux 6.1.35-1-lts Subsystem No response What steps will reproduce the bug? https://github.com/loynoir/reproduce-node-48771 How often does it reproduce? Is there ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | loynoir |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0f5d3ba365b3985d75c32a5957c8635488d58dcf027ae6ae958eee7edaa306a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6c542436f9c7282f518e9ec7bc5a3adff20a13fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width