有赞新零售社区

发帖
API使用问题»分页调用获取商品规格信息报错

[API调用-商品/交易] 分页调用获取商品规格信息报错

zhao 10-29 374 浏览 1 评论 | 只看楼主 [打印]
2024-10-29 11:39:48.619 ERROR[http-nio-28001-exec-1] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.RuntimeException: com.youzan.cloud.open.sdk.common.exception.SDKException: code:102,message:timeout] with root cause
java.net.SocketTimeoutException: timeout
        at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.java:656) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.java:664) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.java:153) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http2.Http2Codec.readResponseHeaders(Http2Codec.java:131) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254) ~[okhttp-3.12.0.jar!/:?]
        at okhttp3.RealCall.execute(RealCall.java:92) ~[okhttp-3.12.0.jar!/:?]
        at com.youzan.cloud.open.sdk.core.client.http.DefaultHttpClient.send(DefaultHttpClient.java:102) ~[open-sdk-core-1.0.28-RELEASE.jar!/:?]
        at com.youzan.cloud.open.sdk.core.client.executor.AbstractExecutor.executionMethod(AbstractExecutor.java:48) ~[open-sdk-core-1.0.28-RELEASE.jar!/:?]
        at com.youzan.cloud.open.sdk.core.client.executor.AbstractExecutor.execute(AbstractExecutor.java:37) ~[open-sdk-core-1.0.28-RELEASE.jar!/:?]
        at com.youzan.cloud.open.sdk.core.client.core.DefaultYZClient.getResponseBody(DefaultYZClient.java:61) ~[open-sdk-core-1.0.28-RELEASE.jar!/:?]
        at com.youzan.cloud.open.sdk.core.client.core.DefaultYZClient.invoke(DefaultYZClient.java:42) ~[open-sdk-core-1.0.28-RELEASE.jar!/:?]

用手机打开
收藏 ··· 回复
    1.提供应用名称以及应用appid
    2.提供token对应的店铺名称以及店铺id
    3.具体提供一下接口,比如:youzan.users.info.query.1.0.1

      1跳至
      您需要登录后才可以回帖 登录 | 立即注册

      本版积分规则

      复制链接
      新浪微博
      QQ空间
      微信扫码
      • 回复

      • 评分

      客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

      复制成功