Comments (1)
Hi @chenwei7878,这个问题可能有如下原因:
- Persistent connection keep-alive 期间服务端关闭了连接,导致连接失效。
- 服务端压力过大,直接断开了连接,有可能处理完请求也有可能没有处理。
- 网络连接不稳定,网络层有超时问题。
不过无论哪一种原因都和本仓库代码无关。
对于第 1 种情况可以通过 HttpClientBuilderConfigurer
自定义 HttpClient 的 IdleTimeout 和 KeepAliveTimeout 设置。
对于第 2 和 3 种情况如果是幂等操作的话,可以考虑重试操作。
如果比较熟悉网络原理的话可以同时从网络层分析。
from wechatpay-spring-boot-project.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechatpay-spring-boot-project.