素材巴巴 > 程序开发 >

ajax 上传超时 怎么办,ajax 请求成功,但是后台feigin请求超时解决方案

程序开发 2023-09-13 11:33:32

========后台请求数据时间较长,报feigin超时错误======

fegin报错如下:

feign.RetryableException: Read timed out executing POST http://******

at feign.FeignException.errorExecuting(FeignException.java:67)

at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:104)

at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)

at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)

at com.sun.proxy.$Proxy113.getBaseRow(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.socketRead(SocketInputStrea

修改配置中的feigin连接超时时间以及数据去取时间

2f21dfdd3ca5c36f95619be4f6066da8.png

解决方案二:

https://blog.csdn.net/sinat_37356064/article/details/78116116


标签:

素材巴巴 Copyright © 2013-2021 http://www.sucaibaba.com/. Some Rights Reserved. 备案号:备案中。