René's URL Explorer Experiment


Title: fix: avoid dropped errors when transport is closed or uninitialized by chemicL · Pull Request #995 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: fix: avoid dropped errors when transport is closed or uninitialized by chemicL · Pull Request #995 · modelcontextprotocol/java-sdk

X Title: fix: avoid dropped errors when transport is closed or uninitialized by chemicL · Pull Request #995 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - fix: avoid dropped errors when transport is closed or uninitialized by chemicL · Pull Request #995 · modelcontextprotocol/java-sdk

Open Graph Description: Also avoid logging peer disconnect at warn level.

X Description: Also avoid logging peer disconnect at warn level.

Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/pull/995

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f54b5596-66f0-272b-fc9e-77bf5b3942d2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDD74:26FD39:20B9E78:2BB771D:6A5D65C2
html-safe-noncec24ea2116f385ed734969c4c578e7edd4055b11931f24cdb1291975976a8b3eb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDc0OjI2RkQzOToyMEI5RTc4OjJCQjc3MUQ6NkE1RDY1QzIiLCJ2aXNpdG9yX2lkIjoiMzE1NjUxODc5MzU4MzA5MzE4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc52b35caa2e5ddb1fea0026110cb6924a73f0d9155d8e45e80d1bdeb7a2821b9
hovercard-subject-tagpull_request:3795083378
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/java-sdk/995/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/69eaa7642b2b55f0e99c0e4ab23581bb15addea4a28959e8d300b0839010d036/modelcontextprotocol/java-sdk/pull/995
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69eaa7642b2b55f0e99c0e4ab23581bb15addea4a28959e8d300b0839010d036/modelcontextprotocol/java-sdk/pull/995
og:image:altAlso avoid logging peer disconnect at warn level.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechemicL
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id919609219
octolytics-dimension-repository_nwomodelcontextprotocol/java-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id919609219
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/java-sdk
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/java-sdk/pull/995#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F995
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F995
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fjava-sdk
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/995
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/995
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/995
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/995
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 978 https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Star 3.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Code https://github.com/modelcontextprotocol/java-sdk
Issues 135 https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests 147 https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality 2 https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Code https://github.com/modelcontextprotocol/java-sdk
Issues https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Kehrlannhttps://github.com/Kehrlann
mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
session-connect-and-close-issueshttps://github.com/modelcontextprotocol/java-sdk/tree/session-connect-and-close-issues
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/995
Commits5 (5)https://github.com/modelcontextprotocol/java-sdk/pull/995/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/995/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/995/files
fix: avoid dropped errors when transport is closed or uninitializedhttps://github.com/modelcontextprotocol/java-sdk/pull/995#top
Kehrlannhttps://github.com/Kehrlann
mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
session-connect-and-close-issueshttps://github.com/modelcontextprotocol/java-sdk/tree/session-connect-and-close-issues
https://github.com/chemicL
chemicLhttps://github.com/chemicL
Jun 3, 2026https://github.com/modelcontextprotocol/java-sdk/pull/995#issue-4579584792
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/995
chemicLhttps://github.com/chemicL
May 29, 2026 22:58https://github.com/modelcontextprotocol/java-sdk/pull/995#commits-pushed-c8e8091
https://github.com/chemicL
fix: avoid dropped errors when transport is closed or uninitializedhttps://github.com/modelcontextprotocol/java-sdk/pull/995/commits/c8e80913da51a9c08dc8a20ef9cc4d5e9c969874
c8e8091https://github.com/modelcontextprotocol/java-sdk/pull/995/commits/c8e80913da51a9c08dc8a20ef9cc4d5e9c969874
https://github.com/chemicL
Silence peer closed warning logshttps://github.com/modelcontextprotocol/java-sdk/pull/995/commits/ba57a37bfa5630affa40c719d07ab272c04e44b8
ba57a37https://github.com/modelcontextprotocol/java-sdk/pull/995/commits/ba57a37bfa5630affa40c719d07ab272c04e44b8
https://github.com/chemicL
chemicLhttps://github.com/chemicL
2.0.0-RC1https://github.com/modelcontextprotocol/java-sdk/milestone/29
Jun 3, 2026https://github.com/modelcontextprotocol/java-sdk/pull/995#event-26283757609
https://github.com/chemicL
chemicLhttps://github.com/chemicL
enhancement https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aenhancement
Jun 3, 2026https://github.com/modelcontextprotocol/java-sdk/pull/995#event-26283758229
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Jun 3, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/995#pullrequestreview-4419553277
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/995/files/ba57a37bfa5630affa40c719d07ab272c04e44b8
...est/java/io/modelcontextprotocol/client/transport/HttpClientStreamableHttpTransportTest.javahttps://github.com/modelcontextprotocol/java-sdk/pull/995/files/ba57a37bfa5630affa40c719d07ab272c04e44b8#diff-2a2573b70d82cb7bebbe1653f10957e7a608ea1a58df6b7ee52d5cfcccdf665b
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/995
...rc/main/java/io/modelcontextprotocol/client/transport/HttpClientStreamableHttpTransport.javahttps://github.com/modelcontextprotocol/java-sdk/pull/995/files/ba57a37bfa5630affa40c719d07ab272c04e44b8#diff-79d1e0cd342a177fc72fb441d3f9a52e057ec4a2e7e047f97eb27782b24f410a
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/995
...rc/main/java/io/modelcontextprotocol/client/transport/HttpClientStreamableHttpTransport.javahttps://github.com/modelcontextprotocol/java-sdk/pull/995/files/ba57a37bfa5630affa40c719d07ab272c04e44b8#diff-79d1e0cd342a177fc72fb441d3f9a52e057ec4a2e7e047f97eb27782b24f410a
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/995
chemicLhttps://github.com/chemicL
June 4, 2026 13:42https://github.com/modelcontextprotocol/java-sdk/pull/995#commits-pushed-bf6274b
https://github.com/chemicL
Fix importshttps://github.com/modelcontextprotocol/java-sdk/pull/995/commits/bf6274b1b34399412af3959599a993df13a6d351
bf6274bhttps://github.com/modelcontextprotocol/java-sdk/pull/995/commits/bf6274b1b34399412af3959599a993df13a6d351
https://github.com/chemicL
uncomment initializationhttps://github.com/modelcontextprotocol/java-sdk/pull/995/commits/bb8e2cd8a329d2cea293edb5bfb757635debf250
bb8e2cdhttps://github.com/modelcontextprotocol/java-sdk/pull/995/commits/bb8e2cd8a329d2cea293edb5bfb757635debf250
https://github.com/chemicL
Merge branch 'main' into session-connect-and-close-issueshttps://github.com/modelcontextprotocol/java-sdk/pull/995/commits/5dd4eed14bbe8e29b15b3a0d3e9b3909c29ba3ba
5dd4eedhttps://github.com/modelcontextprotocol/java-sdk/pull/995/commits/5dd4eed14bbe8e29b15b3a0d3e9b3909c29ba3ba
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
June 4, 2026 12:10https://github.com/modelcontextprotocol/java-sdk/pull/995#event-26336163043
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Jun 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/995#pullrequestreview-4427659075
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/995/files/5dd4eed14bbe8e29b15b3a0d3e9b3909c29ba3ba
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
df75857https://github.com/modelcontextprotocol/java-sdk/commit/df75857fb1e0a0720531372425dfc8eca1df9cbc
Jun 4, 2026https://github.com/modelcontextprotocol/java-sdk/pull/995#event-26336194318
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/995
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
June 4, 2026 12:11https://github.com/modelcontextprotocol/java-sdk/pull/995#event-26336195421
Kehrlannhttps://github.com/Kehrlann
Jun 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/995#ref-commit-b84b82d
https://github.com/Kehrlann
Upgrade to MCP SDK 2.0.0-RC1https://github.com/Kehrlann/spring-ai/commit/b84b82db6f9602dfea36be0aaeb5878830291f7e
b84b82dhttps://github.com/Kehrlann/spring-ai/commit/b84b82db6f9602dfea36be0aaeb5878830291f7e
modelcontextprotocol/java-sdk#995https://github.com/modelcontextprotocol/java-sdk/pull/995
spring-projects#6291https://github.com/spring-projects/spring-ai/pull/6291
spring-projects#6287https://github.com/spring-projects/spring-ai/issues/6287
Kehrlannhttps://github.com/Kehrlann
Jun 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/995#ref-commit-85d0d8c
https://github.com/Kehrlann
Upgrade to MCP SDK 2.0.0-RC1https://github.com/Kehrlann/spring-ai/commit/85d0d8ccf06e0710e229e2e60486346f7a8735d5
85d0d8chttps://github.com/Kehrlann/spring-ai/commit/85d0d8ccf06e0710e229e2e60486346f7a8735d5
modelcontextprotocol/java-sdk#995https://github.com/modelcontextprotocol/java-sdk/pull/995
spring-projects#6291https://github.com/spring-projects/spring-ai/pull/6291
spring-projects#6287https://github.com/spring-projects/spring-ai/issues/6287
Kehrlannhttps://github.com/Kehrlann
Jun 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/995#ref-commit-145e02c
https://github.com/Kehrlann
Upgrade to MCP SDK 2.0.0-RC1https://github.com/Kehrlann/spring-ai/commit/145e02cbc756cdb5c03345e4f8826734ed96464b
145e02chttps://github.com/Kehrlann/spring-ai/commit/145e02cbc756cdb5c03345e4f8826734ed96464b
modelcontextprotocol/java-sdk#995https://github.com/modelcontextprotocol/java-sdk/pull/995
spring-projects#6291https://github.com/spring-projects/spring-ai/pull/6291
spring-projects#6287https://github.com/spring-projects/spring-ai/issues/6287
sdeleuzehttps://github.com/sdeleuze
Jun 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/995#ref-commit-014d0b2
https://github.com/Kehrlann
Upgrade to MCP SDK 2.0.0-RC1https://github.com/spring-projects/spring-ai/commit/014d0b2dfa40c88097f2d25b376c7af67809b023
014d0b2https://github.com/spring-projects/spring-ai/commit/014d0b2dfa40c88097f2d25b376c7af67809b023
modelcontextprotocol/java-sdk#995https://github.com/modelcontextprotocol/java-sdk/pull/995
#6291https://github.com/spring-projects/spring-ai/pull/6291
#6287https://github.com/spring-projects/spring-ai/issues/6287
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Jun 16, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/995#ref-issue-4204830790
Stabilize flaky test: McpCompletionTests.testCompletionErrorOnMissingContext #902 https://github.com/modelcontextprotocol/java-sdk/issues/902
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F995
https://github.com/Kehrlann
Kehrlann https://github.com/Kehrlann
https://github.com/modelcontextprotocol/java-sdk/pull/995/files/5dd4eed14bbe8e29b15b3a0d3e9b3909c29ba3ba
enhancement https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aenhancement
2.0.0-RC1 https://github.com/modelcontextprotocol/java-sdk/milestone/29
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/995
https://github.com/chemicL
https://github.com/Kehrlann
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.