有赞新零售社区

发帖
API使用问题»API调用报错

[API调用-会员/营销] API调用报错

徐鑫刚 2022-08-25 1762 浏览 2 评论 | 只看楼主 [打印]
com.youzan.cloud.open.security.exception.DataSecurityException: code:1003,message:应用维度初始化密钥信息出现异常 securityData:{"clientId":"c1da1965761142bdaa","clientSecret":"43a3319bbc83d63b082110c6331eddaa"}
        at com.youzan.cloud.open.security.HttpSecretCache.doInit(HttpSecretCache.java:115)
        at com.youzan.cloud.open.security.HttpSecretCache.access$000(HttpSecretCache.java:30)
        at com.youzan.cloud.open.security.HttpSecretCache$1.run(HttpSecretCache.java:57)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset$$$capture(FutureTask.java:308)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.youzan.cloud.open.security.exception.DataSecurityException: code:1003,message:初始化应用信息失败 request:{"client_id":"c1da1965761142bdaa","sign":"12F9B235F4A5E2FB19D46D98D283326A","timestamp":"2022-08-25 12:14:21"} , result:null
        at com.youzan.cloud.open.security.HttpSecretInvoker._invoker(HttpSecretInvoker.java:56)
        at com.youzan.cloud.open.security.HttpSecretCache.doInit(HttpSecretCache.java:99)
        ... 10 more
Caused by: com.youzan.cloud.open.security.exception.DataSecurityException: code:1002,message:timeout
        at com.youzan.cloud.open.security.utils.DefaultHttpClient.send(DefaultHttpClient.java:93)
        at com.youzan.cloud.open.security.utils.HttpUtils.post(HttpUtils.java:28)
        at com.youzan.cloud.open.security.HttpSecretInvoker._invoker(HttpSecretInvoker.java:42)
        ... 11 more
Caused by: java.net.SocketTimeoutException: timeout
        at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.java:678)
        at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.java:686)
        at okhttp3.internal.http2.Http2Stream$FramingSink.emitFrame(Http2Stream.java:585)
        at okhttp3.internal.http2.Http2Stream$FramingSink.close(Http2Stream.java:622)
        at okio.ForwardingSink.close(ForwardingSink.java:47)
        at okhttp3.internal.connection.Exchange$RequestBodySink.close(Exchange.java:253)
        at okio.RealBufferedSink.close(RealBufferedSink.java:248)
        at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:70)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
        at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
        at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
        at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
        at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
        at com.youzan.cloud.open.security.DataSecurityHttpInterceptor.intercept(DataSecurityHttpInterceptor.java:25)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
        at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
        at okhttp3.RealCall.execute(RealCall.java:81)
        at com.youzan.cloud.open.security.utils.DefaultHttpClient.send(DefaultHttpClient.java:91)
        ... 13 more

用手机打开
收藏 ··· 回复
    徐鑫刚 青铜   2022-08-25 | 只看该作者
    SecretClient 解密订单数据的时候一直报错

      烟光.   黄金   2022-08-25 | 只看该作者
      您好,您提供下trace_Id

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

        本版积分规则

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

        • 评分

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

        复制成功