René's URL Explorer Experiment


Title: Response body not closed in redirect handler when downloading content from sharepoint · Issue #138 · microsoftgraph/msgraph-sdk-java-core · GitHub

Open Graph Title: Response body not closed in redirect handler when downloading content from sharepoint · Issue #138 · microsoftgraph/msgraph-sdk-java-core

X Title: Response body not closed in redirect handler when downloading content from sharepoint · Issue #138 · microsoftgraph/msgraph-sdk-java-core

Description: Exception Caused by: java.lang.IllegalStateException: null at okhttp3.internal.connection.Transmitter.prepareToConnect(Transmitter.java:129) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:...

Open Graph Description: Exception Caused by: java.lang.IllegalStateException: null at okhttp3.internal.connection.Transmitter.prepareToConnect(Transmitter.java:129) at okhttp3.internal.http.RetryAndFollowUpInterceptor.int...

X Description: Exception Caused by: java.lang.IllegalStateException: null at okhttp3.internal.connection.Transmitter.prepareToConnect(Transmitter.java:129) at okhttp3.internal.http.RetryAndFollowUpInterceptor.int...

Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Response body not closed in redirect handler when downloading content from sharepoint","articleBody":"### Exception\r\nCaused by: java.lang.IllegalStateException: null\r\n        at okhttp3.internal.connection.Transmitter.prepareToConnect(Transmitter.java:129)\r\n        at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:79)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)\r\n        at com.microsoft.graph.httpcore.RedirectHandler.intercept(RedirectHandler.java:123)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)\r\n        at com.microsoft.graph.httpcore.RetryHandler.intercept(RetryHandler.java:140)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)\r\n        at com.microsoft.graph.httpcore.AuthenticationHandler.intercept(AuthenticationHandler.java:31)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)\r\n        at com.microsoft.graph.httpcore.TelemetryHandler.intercept(TelemetryHandler.java:37)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)\r\n        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)\r\n\r\n\r\n### Cause\r\n* Sharepoint API 'sometime' return back response for 302 redirect call without \"Content-Length\" and with \"Transfer-Encoding: chunked\"\r\n* Above cause, `responseBody close` call skip as content-length would be set as -1.\r\n* Subsequent request fail with above exception \r\n\r\n### Expected behavior\r\n* WHEN RESPONSE HAS NO BODY BYTES, USE 'CONTENT-LENGTH: 0' RATHER THAN 'TRANSFER-ENCODING: CHUNKED' for 302 re-direct call\r\n\r\n### SDK Version\r\n\u003cmicrosoft-graph.version>2.5.0\u003c/microsoft-graph.version>\r\n\u003cmicrosoft-graph-auth.version>0.2.0\u003c/microsoft-graph-auth.version>\r\n \r\n\r\n\r\n \r\n[AB#8012](https://microsoftgraph.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_workitems/edit/8012)","author":{"url":"https://github.com/milapshahot","@type":"Person","name":"milapshahot"},"datePublished":"2021-02-05T06:12:07Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138"}

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:fed3ac0c-b424-5005-a2db-a0e82e1abd4c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEAC8:2867F2:78CC1B:A27B8A:6B053096
html-safe-nonce6862c439162419562f87e126fa00eaf4dfeb2668df48d3b3c62f05c47bc6ced9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUM4OjI4NjdGMjo3OENDMUI6QTI3QjhBOjZCMDUzMDk2IiwidmlzaXRvcl9pZCI6IjE4MDc5OTM5Mjk4ODc3MjM2NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac14bcdde71bb6ab4dc8e43d8452ef345850ab49e9af71aef668b521ab75fcf184
hovercard-subject-tagissue:803983625
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/microsoftgraph/msgraph-sdk-java-core/138/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7560014dabb771c97186faec56668e0f38597f10d555b22c3f8432919a98278d/microsoftgraph/msgraph-sdk-java-core/issues/138
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7560014dabb771c97186faec56668e0f38597f10d555b22c3f8432919a98278d/microsoftgraph/msgraph-sdk-java-core/issues/138
og:image:altException Caused by: java.lang.IllegalStateException: null at okhttp3.internal.connection.Transmitter.prepareToConnect(Transmitter.java:129) at okhttp3.internal.http.RetryAndFollowUpInterceptor.int...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemilapshahot
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-preview
go-importgithub.com/microsoftgraph/msgraph-sdk-java-core git https://github.com/microsoftgraph/msgraph-sdk-java-core.git
octolytics-dimension-user_id17304259
octolytics-dimension-user_loginmicrosoftgraph
octolytics-dimension-repository_id154607328
octolytics-dimension-repository_nwomicrosoftgraph/msgraph-sdk-java-core
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id154607328
octolytics-dimension-repository_network_root_nwomicrosoftgraph/msgraph-sdk-java-core
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
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java-core%2Fissues%2F138
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%2Fmicrosoftgraph%2Fmsgraph-sdk-java-core%2Fissues%2F138
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=microsoftgraph%2Fmsgraph-sdk-java-core
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138
microsoftgraphhttps://github.com/microsoftgraph
msgraph-sdk-java-corehttps://github.com/microsoftgraph/msgraph-sdk-java-core
Codehttps://github.com/microsoftgraph/msgraph-sdk-java-core
Issues6 (6)https://github.com/microsoftgraph/msgraph-sdk-java-core/issues
Pull requests26 (26)https://github.com/microsoftgraph/msgraph-sdk-java-core/pulls
Actionshttps://github.com/microsoftgraph/msgraph-sdk-java-core/actions
Projectshttps://github.com/microsoftgraph/msgraph-sdk-java-core/projects
Security and qualityhttps://github.com/microsoftgraph/msgraph-sdk-java-core/security
Insightshttps://github.com/microsoftgraph/msgraph-sdk-java-core/insights
https://github.com/microsoftgraph/msgraph-sdk-java-core
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138
#139https://github.com/microsoftgraph/msgraph-sdk-java-core/pull/139
Response body not closed in redirect handler when downloading content from sharepointhttps://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#top
#139https://github.com/microsoftgraph/msgraph-sdk-java-core/pull/139
https://github.com/baywet
bughttps://github.com/microsoftgraph/msgraph-sdk-java-core/issues?q=state%3Aopen%20label%3A%22bug%22
1.0.8https://github.com/microsoftgraph/msgraph-sdk-java-core/milestone/10
https://github.com/milapshahot
milapshahothttps://github.com/milapshahot
on Feb 5, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#issue-803983625
AB#8012https://microsoftgraph.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_workitems/edit/8012
https://github.com/baywet
Vincent Biret (baywet)https://github.com/baywet
on Feb 5, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#issuecomment-774044749
milapshahothttps://github.com/milapshahot
Vincent Biret (baywet)https://github.com/baywet
on Feb 5, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#event-4296188923
https://github.com/milapshahot
milapshahothttps://github.com/milapshahot
on Feb 5, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#issuecomment-774049900
https://graph.microsoft.com/v1.0/sites/...,<>/drives/<>/items/<>/contenthttps://graph.microsoft.com/v1.0/sites/...,<>/drives/<>/items/<>/content
https://graph.microsoft.com/v1.0/sites/<>.sharepoint.com,<>/drives/<>/items/<>/contenthttps://graph.microsoft.com/v1.0/sites/<>.sharepoint.com,<>/drives/<>/items/<>/content
https://github.com/baywet
Vincent Biret (baywet)https://github.com/baywet
on Feb 5, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#issuecomment-774221648
https://github.com/milapshahot
milapshahothttps://github.com/milapshahot
on Feb 8, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#issuecomment-774871464
https://github.com/baywet
Vincent Biret (baywet)https://github.com/baywet
on Feb 8, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#issuecomment-775177938
https://github.com/baywet
Vincent Biret (baywet)https://github.com/baywet
on Feb 8, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#issuecomment-775473701
microsoftgraph/msgraph-sdk-java#635https://github.com/microsoftgraph/msgraph-sdk-java/issues/635
https://user-images.githubusercontent.com/7905502/107283333-41cc2280-6a2a-11eb-94f5-fa08c592d1fd.png
https://user-images.githubusercontent.com/7905502/107283340-47296d00-6a2a-11eb-826a-0758c4db3cf4.png
Vincent Biret (baywet)https://github.com/baywet
microsoftgraph/msgraph-sdk-javahttps://github.com/microsoftgraph/msgraph-sdk-java
on Feb 8, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#event-4305889064
Vincent Biret (baywet)https://github.com/baywet
bughttps://github.com/microsoftgraph/msgraph-sdk-java-core/issues?q=state%3Aopen%20label%3A%22bug%22
on Feb 8, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#event-4305890365
Vincent Biret (baywet)https://github.com/baywet
1.0.8https://github.com/microsoftgraph/msgraph-sdk-java-core/milestone/10
on Feb 8, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#event-4305895912
https://github.com/baywet
Vincent Biret (baywet)https://github.com/baywet
on Feb 8, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#issuecomment-775483730
#139https://github.com/microsoftgraph/msgraph-sdk-java-core/pull/139
followinghttps://stackoverflow.com/questions/53174768/transfer-encoding-chunked-with-okhttp-only-delivers-full-result
Vincent Biret (baywet)https://github.com/baywet
completedhttps://github.com/microsoftgraph/msgraph-sdk-java-core/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#139https://github.com/microsoftgraph/msgraph-sdk-java-core/pull/139
on Feb 9, 2021https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138#event-4310626335
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/138
Vincent Biret (baywet)https://github.com/baywet
bughttps://github.com/microsoftgraph/msgraph-sdk-java-core/issues?q=state%3Aopen%20label%3A%22bug%22
1.0.8https://github.com/microsoftgraph/msgraph-sdk-java-core/milestone/10
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.