we have a Restful web service created using Jersey
and running on TomEE 7.0.3
we are using Android platform for client-side and it's using Retrofit
for having communication with the server.
our system is modular and contains more than 14 parts.
about 3 weeks (until now), sometimes the clients getting too many follow-up requests
as the response.
we searched for it in here and retrofit issues in github.
they said that it might be server falt so we trace the request with ngrep
command on the server.
we saw that server was getting the request and also responding to it correctly even when clients get follow-up
.
we also test this matter with different networks and this matter still remains.
so what else could cause this problem?
答案 0 :(得分:0)
Too many follow up request
时使用Postman测试了API。
所以经过一些更多的测试,我们发现,当Android平台获得408
作为响应代码时,他们会显示此消息。我们更改了状态代码并解决了这个问题。
我将此问题放在github上的square/okhttp
存储库中,并在其上放置bug
标记。
你可以看到它here
----更新----
他们说它已在OkHttp v3.10