forest icon indicating copy to clipboard operation
forest copied to clipboard

okhttp3时,如果请求失败多次,会触发如下问题

Open CodingOX opened this issue 2 years ago • 4 comments

A connection to http://xxx.com was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

CodingOX avatar Jun 06 '22 11:06 CodingOX

forest版本是多少

mySingleLive avatar Jun 14 '22 13:06 mySingleLive

forest版本是多少

1.5.16

CodingOX avatar Jun 15 '22 01:06 CodingOX

forest版本是多少

我也会遇到这个问题,请问怎么解决,1.5.16版本,我的接口里没有去接收调用结果,是这个问题吗,个人怀疑调用次数过多也会报这个问题

hhf296095496 avatar Jun 15 '22 04:06 hhf296095496

forest版本是多少

我也会遇到这个问题,请问怎么解决,1.5.16版本,我的接口里没有去接收调用结果,是这个问题吗,个人怀疑调用次数过多也会报这个问题

升级到最新版本试试,还有就是重启。。。

CodingOX avatar Jun 15 '22 07:06 CodingOX