有赞新零售社区

发帖
API使用问题»有赞sdk新增商品返回异常 code:102,message:timeout

[API调用-商品/交易] 有赞sdk新增商品返回异常 code:102,message:timeout

MKT 08-05 954 浏览 7 评论 | 只看楼主 [打印]
返回异常但是商品新增成功了,导致我这边业务系统会多次推送重复商品 这个怎么处理
用手机打开
收藏 ··· 回复
    尊敬的有赞用户 您好,我们已收到您的问题,并已安排相关技术支持正在处理中,请耐心等待。您可以关注之前预留的邮箱tuyu920106@1注意问题解决进度提醒邮件。

      麻烦提供接口响应返回的yz7或者zan-open开头的数字
      • MKT 08-05
        我是用sdk的 没有响应 就是直接抛的异常
      • MKT 08-05
        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) ~[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!/:?]
                at com.seeease.cli.schedule.task.GoodsISynTask.run(GoodsISynTask.java:313) [classes!/:0.0.1-SNAPSHOT]
                at com.seeease.cli.schedule.task.GoodsISynTask.execute(GoodsISynTask.java:357) [classes!/:0.0.1-SNAPSHOT]
                at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar!/:?]
                at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar!/:?]
        Caused by: 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!/:?]
      • MKT 08-05
        YouzanItemCreateResult result = youZanClient.invoke(youzanItemCreate, token, YouzanItemCreateResult.class); 这段代码会抛出以上异常
      • MKT 08-06
        具体什么问题查到没?
      • 提供以下信息
        1.提供应用名称以及应用appid
        2.提供店铺名称以及店铺id
        3.代码实现的截图
        4.报错的截图
        5.报错的时间

      MKT 青铜   08-05 | 只看该作者
      1.应用名称以及应用appid :SeeEase 10004591
      2.店铺名称以及店铺id: SeeEase稀蜴  1435124403.代码实现截图 :

      4.报错截图:
        

      5.报错时间 2024-08-02 14:05:10

      加载更多

      MKT 青铜   08-07 | 只看该作者
      顶上去

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

      本版积分规则

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

      • 评分

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

      复制成功