Title: Socket closed errors appear very frequently · Issue #553 · microsoftgraph/msgraph-sdk-java · GitHub
Open Graph Title: Socket closed errors appear very frequently · Issue #553 · microsoftgraph/msgraph-sdk-java
X Title: Socket closed errors appear very frequently · Issue #553 · microsoftgraph/msgraph-sdk-java
Description: We are using 2.3.0 version of the microsoft graph library and okhttp library version is 3.12.1. We see the below socket closed exception very frequently. This error is not specific to a particular graph api. In our application we call gr...
Open Graph Description: We are using 2.3.0 version of the microsoft graph library and okhttp library version is 3.12.1. We see the below socket closed exception very frequently. This error is not specific to a particular ...
X Description: We are using 2.3.0 version of the microsoft graph library and okhttp library version is 3.12.1. We see the below socket closed exception very frequently. This error is not specific to a particular ...
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/553
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Socket closed errors appear very frequently","articleBody":"We are using 2.3.0 version of the microsoft graph library and okhttp library version is 3.12.1. We see the below socket closed exception very frequently. This error is not specific to a particular graph api. In our application we call graph api's on the teams and drive resource.\r\n\r\nWe tried disabling the implicit retries from okhttp library by following the guidelines from [this link](https://docs.microsoft.com/en-us/graph/sdks/customize-client?tabs=java) but that didn't help. In fact the \"connection reset by peer\" error reappeared on doing so.\r\n\r\nThis issue is newly created after following the discussion on an [earlier issue](https://github.com/microsoftgraph/msgraph-sdk-java/issues/313).\r\n\r\ncom.microsoft.graph.core.ClientException: Error during http request at com.microsoft.graph.http.CoreHttpProvider.sendRequestInternal(CoreHttpProvider.java:458) at com.microsoft.graph.http.CoreHttpProvider.send(CoreHttpProvider.java:207) at com.microsoft.graph.http.CoreHttpProvider.send(CoreHttpProvider.java:187) at com.microsoft.graph.http.BaseRequest.send(BaseRequest.java:345) at com.microsoft.graph.http.CustomRequest.get(CustomRequest.java:43) at com.optymyze.officeintegration.alternateteams.GraphApiBatchService.getOrRetryGraphApiRequest(GraphApiBatchService.java:130) ... 15 more Caused by: java.net.SocketTimeoutException: timeout at okio.Okio$4.newTimeoutException(Okio.java:232) at okio.AsyncTimeout.exit(AsyncTimeout.java:285) at okio.AsyncTimeout$2.read(AsyncTimeout.java:241) at okio.RealBufferedSource.indexOf(RealBufferedSource.java:354) at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:226) at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:215) at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at com.microsoft.graph.httpcore.TelemetryHandler.intercept(TelemetryHandler.java:37) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at com.microsoft.graph.httpcore.RedirectHandler.intercept(RedirectHandler.java:123) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at com.microsoft.graph.httpcore.RetryHandler.intercept(RetryHandler.java:140) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at com.microsoft.graph.httpcore.AuthenticationHandler.intercept(AuthenticationHandler.java:31) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254) at okhttp3.RealCall.execute(RealCall.java:92) at com.microsoft.graph.http.CoreHttpProvider.sendRequestInternal(CoreHttpProvider.java:385) ... 45 more Caused by: javax.net.ssl.SSLException: Socket closed at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:320) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:258) at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1314) at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:839) at okio.Okio$2.read(Okio.java:140) at okio.AsyncTimeout$2.read(AsyncTimeout.java:237) ... 77 more Caused by: java.net.SocketException: Socket closed at java.base/java.net.SocketInputStream.read(SocketInputStream.java:183) at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140) at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448) at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68) at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1104) at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:823) ... 79 more\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n[AB#7125](https://microsoftgraph.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_workitems/edit/7125)","author":{"url":"https://github.com/shahamit","@type":"Person","name":"shahamit"},"datePublished":"2020-10-30T08:03:33Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java/issues/553"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:434f2dea-3d83-53f6-ea70-1509e4f1987b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7CA:33B184:175405A:1F3BB91:6B053AAB |
| html-safe-nonce | 9f5a3e5180c89cd30ca574c7fdd66d93594e9c2f4d0a5bf12ae74508a710aadd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0NBOjMzQjE4NDoxNzU0MDVBOjFGM0JCOTE6NkIwNTNBQUIiLCJ2aXNpdG9yX2lkIjoiODQ2ODI0NDE2ODcwNjQzOTg1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8d9a9574f3f54bb757a953755ba08005a1f583f7c6a65888128f6e4480e97419 |
| hovercard-subject-tag | issue:732966283 |
| 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/microsoftgraph/msgraph-sdk-java/553/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e5504e17eddbaf67330031305019b372d57396bff2795351e3cebf6a01954f1c/microsoftgraph/msgraph-sdk-java/issues/553 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e5504e17eddbaf67330031305019b372d57396bff2795351e3cebf6a01954f1c/microsoftgraph/msgraph-sdk-java/issues/553 |
| og:image:alt | We are using 2.3.0 version of the microsoft graph library and okhttp library version is 3.12.1. We see the below socket closed exception very frequently. This error is not specific to a particular ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shahamit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git |
| octolytics-dimension-user_id | 17304259 |
| octolytics-dimension-user_login | microsoftgraph |
| octolytics-dimension-repository_id | 103300409 |
| octolytics-dimension-repository_nwo | microsoftgraph/msgraph-sdk-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 103300409 |
| octolytics-dimension-repository_network_root_nwo | microsoftgraph/msgraph-sdk-java |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width