Azure / Azure/azure-documentdb-java

GatewayProxy Socket Timeout exception

未關閉
#142 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
51
分支
52
PR 合併指標
30 天內沒有已合併 PR

描述

_Artifact details:_
```
com.microsoft.azure
azure-documentdb
2.5.1
```

_Behaviour:_
First attempt almost always fails with socket timeout, post retry things seems to be working fine

_Stacktrace:_

errorCode: DOC_FETCH_FAILED, message: java.net.SocketTimeoutException: Read timed out - com.microsoft.azure.documentdb.DocumentClientException: java.net.SocketTimeoutException: Read timed out
at com.microsoft.azure.documentdb.internal.GatewayProxy.performGetRequest(GatewayProxy.java:242)
at com.microsoft.azure.documentdb.internal.GatewayProxy.doRead(GatewayProxy.java:93)
at com.microsoft.azure.documentdb.internal.GatewayProxy.processMessage(GatewayProxy.java:363)

貢獻指南

開啟貢獻指南

研究方向

從 com.microsoft.azure.documentdb.internal.GatewayProxy 開始,特別查看第 242 行的 performGetRequest 以及呼叫端 doRead/processMessage,使用 azure-documentdb 版本 2.5.1。重現第一次請求的讀取逾時,並將其與成功的重試進行比較;完成的實作應解釋並解決初始的 SocketTimeoutException,同時不能破壞重試路徑。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
azure, java
領域
databases
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。