1、调用的接口
接口名:youzan.trades.sold.get
2、请求参数
{"aPIParams":{"end_update":1667145600000,"page_no":2,"page_size":100,"start_update":1667059200000},"gateway":"[color=var(--common_text_blue1_color,#007fff)]https://open.youzanyun.com","headers":{},"httpMethod":"POST","name":"youzan.trades.sold.get","oAuthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v4_0_2.model.YouzanTradesSoldGetParams","version":"4.0.2"}
3、问题现象
com.youzan.cloud.open.sdk.common.exception.SDKException: code:102,message:timeout at com.youzan.cloud.open.sdk.core.client.http.DefaultHttpClient.send(DefaultHttpClient.java:104) at com.youzan.cloud.open.sdk.core.client.executor.AbstractExecutor.executionMethod(AbstractExecutor.java:45) at com.youzan.cloud.open.sdk.core.client.executor.AbstractExecutor.execute(AbstractExecutor.java:34)Caused by: java.net.SocketTimeoutException: timeout at okio.Okio$4.newTimeoutException(Okio.java:232) at okio.AsyncTimeout.exit(AsyncTimeout.java:285) at okio.AsyncTimeout$2.read(AsyncTimeout.java:241) at okio.RealBufferedSource.indexOf(RealBufferedSource.java:354)
[2022-10-31 09:11:34.741] [ERROR][SpanId:N/A] [xmkp-trade-channel] [Thread-386] [c.x.x.t.c.y.s.impl.YouZanFetchOrderServiceImpl] [queryYzOrders] [134] - 调用有赞订单列表查询接口失败com.youzan.cloud.open.sdk.common.exception.SDKException: code:102,message:timeout at com.youzan.cloud.open.sdk.core.client.http.DefaultHttpClient.send(DefaultHttpClient.java:104) at com.youzan.cloud.open.sdk.core.client.executor.AbstractExecutor.executionMethod(AbstractExecutor.java:45) at com.youzan.cloud.open.sdk.core.client.executor.AbstractExecutor.execute(AbstractExecutor.java:34) at com.youzan.cloud.open.sdk.core.client.core.DefaultYZClient.getResponseBody(DefaultYZClient.java:61) at com.youzan.cloud.open.sdk.core.client.core.DefaultYZClient.invoke(DefaultYZClient.java:42) at com.ximalaya.xmkp.trade.channel.yz.service.impl.YouZanFetchOrderServiceImpl.queryYzOrders(YouZanFetchOrderServiceImpl.java:131) at com.ximalaya.xmkp.trade.channel.yz.service.impl.YouZanFetchOrderServiceImpl.fetchOrders(YouZanFetchOrderServiceImpl.java:59) at com.ximalaya.xmkp.trade.channel.yz.service.impl.YouZanOrderServiceImpl.lambda$getOrders$0(YouZanOrderServiceImpl.java:57) at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) at java.lang.Thread.run(Thread.java:748)Caused by: java.net.SocketTimeoutException: timeout at okio.Okio$4.newTimeoutException(Okio.java:232) at okio.AsyncTimeout.exit(AsyncTimeout.java:285) at okio.AsyncTimeout$2.read(AsyncTimeout.java:241) at okio.RealBufferedSource.indexOf(RealBufferedSource.java:354) at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:226) at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:215) at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254) at okhttp3.RealCall.execute(RealCall.java:92) at com.youzan.cloud.open.sdk.core.client.http.DefaultHttpClient.send(DefaultHttpClient.java:102) ... 9 common frames omittedCaused by: java.net.SocketException: Socket closed at java.net.SocketInputStream.read(SocketInputStream.java:204) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) at sun.security.ssl.InputRecord.read(InputRecord.java:503) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at okio.Okio$2.read(Okio.java:140) at okio.AsyncTimeout$2.read(AsyncTimeout.java:237) ... 29 common frames omitted[2022-10-31 09:11:34.741] [ERROR][SpanId:N/A] [xmkp-trade-channel] [Thread-386] [c.x.x.t.c.y.s.impl.YouZanFetchOrderServiceImpl] [queryYzOrders] [134] - 调用有赞订单列表查询接口失败com.youzan.cloud.open.sdk.common.exception.SDKException: code:102,message:timeout at com.youzan.cloud.open.sdk.core.client.http.DefaultHttpClient.send(DefaultHttpClient.java:104) at com.youzan.cloud.open.sdk.core.client.executor.AbstractExecutor.executionMethod(AbstractExecutor.java:45) at com.youzan.cloud.open.sdk.core.client.executor.AbstractExecutor.execute(AbstractExecutor.java:34) at com.youzan.cloud.open.sdk.core.client.core.DefaultYZClient.getResponseBody(DefaultYZClient.java:61) at com.youzan.cloud.open.sdk.core.client.core.DefaultYZClient.invoke(DefaultYZClient.java:42) at com.ximalaya.xmkp.trade.channel.yz.service.impl.YouZanFetchOrderServiceImpl.queryYzOrders(YouZanFetchOrderServiceImpl.java:131) at com.ximalaya.xmkp.trade.channel.yz.service.impl.YouZanFetchOrderServiceImpl.fetchOrders(YouZanFetchOrderServiceImpl.java:59) at com.ximalaya.xmkp.trade.channel.yz.service.impl.YouZanOrderServiceImpl.lambda$getOrders$0(YouZanOrderServiceImpl.java:57) at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) at java.lang.Thread.run(Thread.java:748)Caused by: java.net.SocketTimeoutException: timeout at okio.Okio$4.newTimeoutException(Okio.java:232) at okio.AsyncTimeout.exit(AsyncTimeout.java:285) at okio.AsyncTimeout$2.read(AsyncTimeout.java:241) at okio.RealBufferedSource.indexOf(RealBufferedSource.java:354) at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:226) at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:215) at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254) at okhttp3.RealCall.execute(RealCall.java:92) at com.youzan.cloud.open.sdk.core.client.http.DefaultHttpClient.send(DefaultHttpClient.java:102) ... 9 common frames omittedCaused by: java.net.SocketException: Socket closed at java.net.SocketInputStream.read(SocketInputStream.java:204) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) at sun.security.ssl.InputRecord.read(InputRecord.java:503) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at okio.Okio$2.read(Okio.java:140) at okio.AsyncTimeout$2.read(AsyncTimeout.java:237) ... 29 common frames omitted
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|