René's URL Explorer Experiment


Title: Net::HTTP returns empty response body for HTTPS requests in 2.0 mode · Issue #1216 · jruby/jruby · GitHub

Open Graph Title: Net::HTTP returns empty response body for HTTPS requests in 2.0 mode · Issue #1216 · jruby/jruby

X Title: Net::HTTP returns empty response body for HTTPS requests in 2.0 mode · Issue #1216 · jruby/jruby

Description: Gemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode. We've tracked it down to an odd issue where Net::HTTP returns a successful response, but response.body returns an empty string for https:// requests....

Open Graph Description: Gemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode. We've tracked it down to an odd issue where Net::HTTP returns a successful response, but response.body return...

X Description: Gemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode. We've tracked it down to an odd issue where Net::HTTP returns a successful response, but response.body re...

Opengraph URL: https://github.com/jruby/jruby/issues/1216

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Net::HTTP returns empty response body for HTTPS requests in 2.0 mode","articleBody":"Gemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode.  We've tracked it down to an odd issue where Net::HTTP returns a successful response, but `response.body` returns an empty string for `https://` requests.\n\nHere's a test program to reproduce:\n\n```\nrequire \"net/https\"\n\nuri = URI.parse(\"https://rubygems.org/\")\nhttp = Net::HTTP.new(uri.host, uri.port)\nhttp.use_ssl = true\n\nrequest = Net::HTTP::Get.new(uri.request_uri)\nresponse = http.request(request)\nputs \"#{response.code} - #{response.body.size}\"\n```\n\nAnd the output (tested in 1.7.5 and 1.7.6):\n\n```\n$ jruby -S ./test.rb\n200 - 9188\n$ jruby --2.0 -S ./test.rb \n200 - 0\n```\n","author":{"url":"https://github.com/rykov","@type":"Person","name":"rykov"},"datePublished":"2013-11-11T21:17:57Z","url":"https://github.com/jruby/jruby/issues/1216"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f2ff3328-0bb3-74a9-c999-032e86684482
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id93E8:9F992:C7792:108354:6B036AE3
html-safe-nonced6e7b4ca0389f6c4d08e230442a1dbcdf5089b8303b0b6e266a4af3152953af7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0U4OjlGOTkyOkM3NzkyOjEwODM1NDo2QjAzNkFFMyIsInZpc2l0b3JfaWQiOiIxNDk1MDc1MDg0MjY0NjgwNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb10f45778be6d2aa7cdf239176be19a45745ad6c1f0221e9c5f444d115e4d82f
hovercard-subject-tagissue:22477261
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/jruby/jruby/1216/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f6bb64f606f0ba505ae05becf23436d2407723b8b94a5b82609738431f60db80/jruby/jruby/issues/1216
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f6bb64f606f0ba505ae05becf23436d2407723b8b94a5b82609738431f60db80/jruby/jruby/issues/1216
og:image:altGemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode. We've tracked it down to an odd issue where Net::HTTP returns a successful response, but response.body return...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerykov
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/jruby/jruby git https://github.com/jruby/jruby.git
octolytics-dimension-user_id55687
octolytics-dimension-user_loginjruby
octolytics-dimension-repository_id168370
octolytics-dimension-repository_nwojruby/jruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id168370
octolytics-dimension-repository_network_root_nwojruby/jruby
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/jruby/jruby/issues/1216#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjruby%2Fjruby%2Fissues%2F1216
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjruby%2Fjruby%2Fissues%2F1216
Sign uphttps://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=jruby%2Fjruby
Reloadhttps://github.com/jruby/jruby/issues/1216
Reloadhttps://github.com/jruby/jruby/issues/1216
Reloadhttps://github.com/jruby/jruby/issues/1216
jrubyhttps://github.com/jruby
jrubyhttps://github.com/jruby/jruby
Codehttps://github.com/jruby/jruby
Issues800 (800)https://github.com/jruby/jruby/issues
Pull requests138 (138)https://github.com/jruby/jruby/pulls
Discussionshttps://github.com/jruby/jruby/discussions
Actionshttps://github.com/jruby/jruby/actions
Projectshttps://github.com/jruby/jruby/projects
Wikihttps://github.com/jruby/jruby/wiki
Security and qualityhttps://github.com/jruby/jruby/security
Insightshttps://github.com/jruby/jruby/insights
https://github.com/jruby/jruby
New issuehttps://github.com/login?return_to=https://github.com/jruby/jruby/issues/1216
New issuehttps://github.com/login?return_to=https://github.com/jruby/jruby/issues/1216
Net::HTTP returns empty response body for HTTPS requests in 2.0 modehttps://github.com/jruby/jruby/issues/1216#top
ruby 2.0-2.2https://github.com/jruby/jruby/issues?q=state%3Aopen%20label%3A%22ruby%202.0-2.2%22
stdlibhttps://github.com/jruby/jruby/issues?q=state%3Aopen%20label%3A%22stdlib%22
JRuby 1.7.12https://github.com/jruby/jruby/milestone/20
https://github.com/rykov
rykovhttps://github.com/rykov
on Nov 11, 2013https://github.com/jruby/jruby/issues/1216#issue-22477261
Nexthttps://github.com/jruby/jruby/issues/1216?timeline_page=1
https://github.com/kenips
kenipshttps://github.com/kenips
on Nov 12, 2013https://github.com/jruby/jruby/issues/1216#issuecomment-28303237
https://github.com/djmaze
djmazehttps://github.com/djmaze
on Dec 17, 2013https://github.com/jruby/jruby/issues/1216#issuecomment-30751605
@rykovhttps://github.com/rykov
https://github.com/kwando
kwandohttps://github.com/kwando
on Dec 17, 2013https://github.com/jruby/jruby/issues/1216#issuecomment-30785660
https://github.com/kwando
kwandohttps://github.com/kwando
on Dec 18, 2013https://github.com/jruby/jruby/issues/1216#issuecomment-30823022
https://github.com/kwando
kwandohttps://github.com/kwando
on Dec 18, 2013https://github.com/jruby/jruby/issues/1216#issuecomment-30823659
https://github.com/headius
headiushttps://github.com/headius
on Dec 19, 2013https://github.com/jruby/jruby/issues/1216#issuecomment-30928632
https://github.com/hemju
hemjuhttps://github.com/hemju
on Dec 23, 2013https://github.com/jruby/jruby/issues/1216#issuecomment-31120776
https://github.com/djmaze
djmazehttps://github.com/djmaze
on Dec 23, 2013https://github.com/jruby/jruby/issues/1216#issuecomment-31139506
@kwandohttps://github.com/kwando
@headiushttps://github.com/headius
test scripthttps://gist.github.com/djmaze/8102717
https://github.com/kwando
kwandohttps://github.com/kwando
on Dec 24, 2013https://github.com/jruby/jruby/issues/1216#issuecomment-31164011
@djmazehttps://github.com/djmaze
https://github.com/emou
emouhttps://github.com/emou
on Feb 17, 2014https://github.com/jruby/jruby/issues/1216#issuecomment-35283289
https://github.com/emou
emouhttps://github.com/emou
on Feb 17, 2014https://github.com/jruby/jruby/issues/1216#issuecomment-35288737
jruby/lib/ruby/2.1/net/http/response.rbhttps://github.com/jruby/jruby/blob/18a1c808ce4671fadbf2055d95df8b09b7ddf30d/lib/ruby/2.1/net/http/response.rb#L368
18a1c80https://github.com/jruby/jruby/commit/18a1c808ce4671fadbf2055d95df8b09b7ddf30d
jruby/lib/ruby/shared/ffi/platform/x86_64-darwin/zlib.rbhttps://github.com/jruby/jruby/blob/18a1c808ce4671fadbf2055d95df8b09b7ddf30d/lib/ruby/shared/ffi/platform/x86_64-darwin/zlib.rb#L1350
18a1c80https://github.com/jruby/jruby/commit/18a1c808ce4671fadbf2055d95df8b09b7ddf30d
https://github.com/djmaze
djmazehttps://github.com/djmaze
on Feb 17, 2014https://github.com/jruby/jruby/issues/1216#issuecomment-35328206
@emouhttps://github.com/emou
streaming support in mid-2012https://github.com/ruby/ruby/commit/3cf7d1b57e3622430065f6a6ce8cbd5548d3d894
has not been updated since thenhttps://github.com/jruby/jruby/commits/master/lib/ruby/shared/ffi/platform/x86_64-darwin/zlib.rb
https://github.com/97jaz
97jazhttps://github.com/97jaz
on Feb 21, 2014https://github.com/jruby/jruby/issues/1216#issuecomment-35739765
@djmazehttps://github.com/djmaze
enebohttps://github.com/enebo
on Apr 2, 2014https://github.com/jruby/jruby/issues/1216#event-107987960
Fixes #1595, #1216. Zlib.inflat should accept a block for chunked inf…https://github.com/jruby/jruby/commit/2cbe7e52a7e6a8e43a2066007547ad520b8623b7
#1595https://github.com/jruby/jruby/issues/1595
#1216https://github.com/jruby/jruby/issues/1216
2cbe7e5https://github.com/jruby/jruby/commit/2cbe7e52a7e6a8e43a2066007547ad520b8623b7
Hack --2.0 net/http gzip problem to avoid multiple version refactorin…https://github.com/jruby/jruby/commit/89ef3e9f691c2c5d6a56ab775225526b3b309206
89ef3e9https://github.com/jruby/jruby/commit/89ef3e9f691c2c5d6a56ab775225526b3b309206
https://github.com/simi
simihttps://github.com/simi
on Jan 7, 2015https://github.com/jruby/jruby/issues/1216#issuecomment-69024305
2cbe7e5https://github.com/jruby/jruby/commit/2cbe7e52a7e6a8e43a2066007547ad520b8623b7
@headiushttps://github.com/headius
@enebohttps://github.com/enebo
https://github.com/headius
headiushttps://github.com/headius
on Jan 14, 2015https://github.com/jruby/jruby/issues/1216#issuecomment-70008965
@simihttps://github.com/simi
2cbe7e5https://github.com/jruby/jruby/commit/2cbe7e52a7e6a8e43a2066007547ad520b8623b7
https://github.com/simi
simihttps://github.com/simi
on Jan 14, 2015https://github.com/jruby/jruby/issues/1216#issuecomment-70009110
@headiushttps://github.com/headius
https://github.com/headius
headiushttps://github.com/headius
on Jan 26, 2015https://github.com/jruby/jruby/issues/1216#issuecomment-71535232
@simihttps://github.com/simi
https://github.com/simi
simihttps://github.com/simi
on Jan 27, 2015https://github.com/jruby/jruby/issues/1216#issuecomment-71573125
@headiushttps://github.com/headius
#1216 (comment)https://github.com/jruby/jruby/issues/1216#issuecomment-68843212
https://github.com/headius
headiushttps://github.com/headius
on Jan 27, 2015https://github.com/jruby/jruby/issues/1216#issuecomment-71588094
https://github.com/joshuap
joshuaphttps://github.com/joshuap
on Mar 13, 2015https://github.com/jruby/jruby/issues/1216#issuecomment-79122497
https://github.com/headius
headiushttps://github.com/headius
on Mar 16, 2015https://github.com/jruby/jruby/issues/1216#issuecomment-81708787
@joshuaphttps://github.com/joshuap
https://github.com/joshuap
joshuaphttps://github.com/joshuap
on May 19, 2015https://github.com/jruby/jruby/issues/1216#issuecomment-103695038
@headiushttps://github.com/headius
enebohttps://github.com/enebo
on Aug 6, 2015https://github.com/jruby/jruby/issues/1216#event-375157546
Hack --2.0 net/http gzip problem to avoid multiple version refactorin…https://github.com/jruby/jruby/commit/b561183f6e9723e3759ddf1284b35c5500149192
b561183https://github.com/jruby/jruby/commit/b561183f6e9723e3759ddf1284b35c5500149192
kareshttps://github.com/kares
on Aug 6, 2015https://github.com/jruby/jruby/issues/1216#event-375397551
Merge branch 'jruby-1_7'https://github.com/jruby/jruby/commit/a9557fffd26a63191d73db44fcfaefb76d758db2
a9557ffhttps://github.com/jruby/jruby/commit/a9557fffd26a63191d73db44fcfaefb76d758db2
https://github.com/aryeh-looker
aryeh-lookerhttps://github.com/aryeh-looker
on Jul 15, 2016https://github.com/jruby/jruby/issues/1216#issuecomment-232852432
b561183https://github.com/jruby/jruby/commit/b561183f6e9723e3759ddf1284b35c5500149192
https://github.com/sumitmah
sumitmahhttps://github.com/sumitmah
on Nov 3, 2016https://github.com/jruby/jruby/issues/1216#issuecomment-258135161
https://github.com/sumitmah
sumitmahhttps://github.com/sumitmah
on Nov 3, 2016https://github.com/jruby/jruby/issues/1216#issuecomment-258136877
pierrehttps://github.com/pierre
on Nov 14, 2016https://github.com/jruby/jruby/issues/1216#event-857171955
server: disable JRuby 2.0 mode by defaulthttps://github.com/killbill/killbill/commit/27e1b04f680cf87209a40c16c18290f56651fd69
27e1b04https://github.com/killbill/killbill/commit/27e1b04f680cf87209a40c16c18290f56651fd69
Sign up for freehttps://github.com/signup?return_to=https://github.com/jruby/jruby/issues/1216
Sign in to commenthttps://github.com/login?return_to=https://github.com/jruby/jruby/issues/1216
ruby 2.0-2.2https://github.com/jruby/jruby/issues?q=state%3Aopen%20label%3A%22ruby%202.0-2.2%22
stdlibhttps://github.com/jruby/jruby/issues?q=state%3Aopen%20label%3A%22stdlib%22
JRuby 1.7.12https://github.com/jruby/jruby/milestone/20
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.