com.huawei.cloud.base.http.HttpResponseException: 403 Forbidden
{"error":{"code":403,"errorDetail":[{"domain":"global","reason":"authError","description":"Access Forbidden","errorPos":"header","errorParam":"Authorization","errorCode":"21120403"}],"description":"Access Forbidden"}}
at com.huawei.cloud.base.services.AbstractClientRequest.newExceptionOnError(AbstractClientRequest.java:466)
at com.huawei.cloud.base.services.AbstractClientRequest.access$000(AbstractClientRequest.java:54)
at com.huawei.cloud.base.services.AbstractClientRequest$1.interceptResponse(AbstractClientRequest.java:300)
at com.huawei.cloud.base.http.HttpRequest.interceptResponse(HttpRequest.java:813)
at com.huawei.cloud.base.http.HttpRequest.execute(HttpRequest.java:745)
at com.huawei.cloud.base.services.AbstractClientRequest.executeUnparsed(AbstractClientRequest.java:314)
at com.huawei.cloud.base.services.AbstractClientRequest.execute(AbstractClientRequest.java:475)
以前是没问题。没有修改代码,
偶尔会报以下问题:
java.io.IOException: unexpected end of stream on Connection{drive.cloud.hicloud.com:443, proxy=DIRECT hostAddress=drive.cloud.hicloud.com/121.37.220.62:443 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 protocol=http/1.1}
at Drv.Drv.Drvc.a.a(Http1Codec.java:213)
at Drv.Drv.Drvb.b.a(CallServerInterceptor.java:94)
at Drv.Drv.Drvb.g.a(RealInterceptorChain.java:152)
at Drv.Drv.Drva.b.a(ConnectInterceptor.java:52)
at Drv.Drv.Drvb.g.a(RealInterceptorChain.java:152)
at Drv.Drv.Drvb.g.a(RealInterceptorChain.java:126)
at Drv.Drv.Drv.a.a(CacheInterceptor.java:99)
at Drv.Drv.Drvb.g.a(RealInterceptorChain.java:152)
at Drv.Drv.Drvb.g.a(RealInterceptorChain.java:126)
at Drv.Drv.Drvb.a.a(BridgeInterceptor.java:98)
at Drv.Drv.Drvb.g.a(RealInterceptorChain.java:152)
at Drv.Drv.Drvb.j.a(RetryAndFollowUpInterceptor.java:136)
at Drv.Drv.Drvb.g.a(RealInterceptorChain.java:152)
at Drv.Drv.Drvb.g.a(RealInterceptorChain.java:126)
at Drv.aa.g(RealCall.java:238)
at Drv.aa.b(RealCall.java:82)
at com.huawei.cloud.client.okhttp.OkHttpRequest.execute(OkHttpRequest.java:122)
at com.huawei.cloud.base.http.HttpRequest.executeCurrentRequest(HttpRequest.java:749)
at com.huawei.cloud.base.http.HttpRequest.execute(HttpRequest.java:725)
at com.huawei.cloud.base.services.AbstractClientRequest.executeUnparsed(AbstractClientRequest.java:314)
at com.huawei.cloud.base.services.AbstractClientRequest.execute(AbstractClientRequest.java:475)