huaweicloud / huaweicloud-sdk-java-obs

The OBS SDK for Java, which is used for accessing Object Storage Service
Other
131 stars 116 forks source link

配置代理访问后,无法使用https #132

Closed g9420 closed 8 months ago

g9420 commented 1 year ago

配置代理代码

            val httpProxyConfiguration = HttpProxyConfiguration()
            httpProxyConfiguration.proxyAddr = config.get("endpoint").asText()
            httpProxyConfiguration.proxyPort = config.get("port").asInt()
            clientConfig.httpProxy = httpProxyConfiguration

默认的https请求方式报错,设置isHttpsOnly = false后报错消失

报错日志如下

2023-07-14 11:00:47 INFO c.o.l.AbstractLog4jLogger(info):34 - Using Proxy: 127.0.0.1:39301
2023-07-14 11:00:48 INFO c.o.l.AbstractLog4jLogger(info):45 - Storage|1|HTTP+XML|ObsClient||||2023-07-14 19:00:47|2023-07-14 19:00:48|||0|
2023-07-14 11:00:48 WARN c.o.l.AbstractLog4jLogger(warn):67 - [OBS SDK Version=3.23.3];[Endpoint=https://127.0.0.1:443/];[Access Mode=Path]
2023-07-14 11:00:48 INFO c.o.l.AbstractLog4jLogger(info):34 - internet host address:[/127.0.0.1]
2023-07-14 11:00:48 WARN c.o.l.AbstractLog4jLogger(warn):67 - Encountered 1 Internal Server error(s), will retry in 100ms
2023-07-14 11:00:48 WARN c.o.l.AbstractLog4jLogger(warn):67 - Retrying connection that failed with error, attempt number 1 of 3
2023-07-14 11:00:48 INFO c.o.l.AbstractLog4jLogger(info):34 - OkHttp cost 186 ms to apply http request
2023-07-14 11:00:48 INFO c.o.l.AbstractLog4jLogger(info):34 - internet host address:[/127.0.0.1]
2023-07-14 11:00:48 WARN c.o.l.AbstractLog4jLogger(warn):67 - Encountered 2 Internal Server error(s), will retry in 200ms
2023-07-14 11:00:48 WARN c.o.l.AbstractLog4jLogger(warn):67 - Retrying connection that failed with error, attempt number 2 of 3
2023-07-14 11:00:48 INFO c.o.l.AbstractLog4jLogger(info):34 - OkHttp cost 279 ms to apply http request
2023-07-14 11:00:48 INFO c.o.l.AbstractLog4jLogger(info):34 - internet host address:[/127.0.0.1]
2023-07-14 11:00:48 WARN c.o.l.AbstractLog4jLogger(warn):67 - Encountered 3 Internal Server error(s), will retry in 400ms
2023-07-14 11:00:48 WARN c.o.l.AbstractLog4jLogger(warn):67 - Retrying connection that failed with error, attempt number 3 of 3
2023-07-14 11:00:48 INFO c.o.l.AbstractLog4jLogger(info):34 - OkHttp cost 463 ms to apply http request
2023-07-14 11:00:48 INFO c.o.l.AbstractLog4jLogger(info):34 - internet host address:[/127.0.0.1]
2023-07-14 11:00:49 INFO c.o.l.AbstractLog4jLogger(info):34 - OkHttp cost 53 ms to apply http request
2023-07-14 11:00:49 WARN c.o.l.AbstractLog4jLogger(warn):67 - Request failed, Response code: -1; Request ID: null; Request path: https://127.0.0.1/airbyte-oss-source-test?max-keys=200&prefix=test
2023-07-14 11:00:49 ERROR c.o.l.AbstractLog4jLogger(error):111 - Storage|1|HTTP+XML|listObjects||||2023-07-14 19:00:48|2023-07-14 19:00:49|||-1|
2023-07-14 11:00:49 INFO c.o.l.AbstractLog4jLogger(accessRecord):199 - 2023-07-14 19:00:48 000|com.obs.services.internal.utils.RestUtils|initHttpProxy|455|Using Proxy: 127.0.0.1:39301
2023-07-14 19:00:48 001|com.obs.services.AbstractClient|init|81|Storage|1|HTTP+XML|ObsClient||||2023-07-14 19:00:47|2023-07-14 19:00:48|||0|
2023-07-14 19:00:48 002|com.obs.services.AbstractClient|init|100|[OBS SDK Version=3.23.3];[Endpoint=https://127.0.0.1:443/];[Access Mode=Path]
2023-07-14 19:00:48 031|com.obs.services.internal.utils.RestUtils|lambda$initHttpClientBuilder$1|369|internet host address:[/127.0.0.1]
2023-07-14 19:00:48 108|com.obs.services.internal.RestStorageService|sleepBeforeRetry|991|Encountered 1 Internal Server error(s), will retry in 100ms
2023-07-14 19:00:48 209|com.obs.services.internal.RestStorageService|executeRequest|577|Retrying connection that failed with error, attempt number 1 of 3
2023-07-14 19:00:48 210|com.obs.services.internal.RestStorageService|executeRequest|585|OkHttp cost 186 ms to apply http request
2023-07-14 19:00:48 212|com.obs.services.internal.utils.RestUtils|lambda$initHttpClientBuilder$1|369|internet host address:[/127.0.0.1]
2023-07-14 19:00:48 289|com.obs.services.internal.RestStorageService|sleepBeforeRetry|991|Encountered 2 Internal Server error(s), will retry in 200ms
2023-07-14 19:00:48 491|com.obs.services.internal.RestStorageService|executeRequest|577|Retrying connection that failed with error, attempt number 2 of 3
2023-07-14 19:00:48 492|com.obs.services.internal.RestStorageService|executeRequest|585|OkHttp cost 279 ms to apply http request
2023-07-14 19:00:48 492|com.obs.services.internal.utils.RestUtils|lambda$initHttpClientBuilder$1|369|internet host address:[/127.0.0.1]
2023-07-14 19:00:48 554|com.obs.services.internal.RestStorageService|sleepBeforeRetry|991|Encountered 3 Internal Server error(s), will retry in 400ms
2023-07-14 19:00:48 955|com.obs.services.internal.RestStorageService|executeRequest|577|Retrying connection that failed with error, attempt number 3 of 3
2023-07-14 19:00:48 956|com.obs.services.internal.RestStorageService|executeRequest|585|OkHttp cost 463 ms to apply http request
2023-07-14 19:00:48 956|com.obs.services.internal.utils.RestUtils|lambda$initHttpClientBuilder$1|369|internet host address:[/127.0.0.1]
2023-07-14 19:00:49 010|com.obs.services.internal.RestStorageService|executeRequest|585|OkHttp cost 53 ms to apply http request
2023-07-14 19:00:49 010|com.obs.services.internal.RestStorageService|handleThrowable|216|Request failed, Response code: -1; Request ID: null; Request path: https://127.0.0.1/airbyte-oss-source-test?max-keys=200&prefix=test
2023-07-14 19:00:49 011|com.obs.services.AbstractClient|doActionWithResult|413|Storage|1|HTTP+XML|listObjects||||2023-07-14 19:00:48|2023-07-14 19:00:49|||-1|

2023-07-14 11:00:49 ERROR i.a.i.b.s.SshWrappedSource(read):76 - Exception occurred while getting the delegate read iterator, closing SSH tunnel
com.obs.services.exception.ObsException: OBS servcie Error Message. Request Error: java.io.IOException: Unexpected response code for CONNECT: 400
    at com.obs.services.internal.utils.ServiceUtils.changeFromServiceException(ServiceUtils.java:538) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractClient.doActionWithResult(AbstractClient.java:403) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractObjectClient.listObjects(AbstractObjectClient.java:124) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at io.airbyte.integrations.source.oss_huawei.OssHuaweiSource$read$1.fetchNextPage(OssHuaweiSource.kt:110) ~[main/:?]
    at io.airbyte.integrations.source.oss_huawei.OssHuaweiSource$read$1.<init>(OssHuaweiSource.kt:104) ~[main/:?]
    at io.airbyte.integrations.source.oss_huawei.OssHuaweiSource.read(OssHuaweiSource.kt:99) ~[main/:?]
    at io.airbyte.integrations.base.ssh.SshWrappedSource.read(SshWrappedSource.java:74) ~[main/:?]
    at io.airbyte.integrations.source.oss_huawei.HuaWeiSshWrappedSource.read(HuaWeiSshWrappedSource.java:55) ~[main/:?]
    at io.airbyte.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.java:160) ~[main/:?]
    at io.airbyte.integrations.base.IntegrationRunner.run(IntegrationRunner.java:120) ~[main/:?]
    at io.airbyte.integrations.source.oss_huawei.OssHuaweiSourceKt.main(OssHuaweiSource.kt:179) ~[main/:?]
Caused by: java.io.IOException: Unexpected response code for CONNECT: 400
    at shade.okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.kt:483) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.kt:262) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:201) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealCall.execute(RealCall.kt:154) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.executeRequest(RestStorageService.java:562) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.tryRequest(RestStorageService.java:445) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.performRequest(RestStorageService.java:372) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.performRestGet(RestStorageService.java:909) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.performRestGet(RestStorageService.java:892) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.performRestGet(RestStorageService.java:869) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.service.ObsBucketBaseService.listObjectsImpl(ObsBucketBaseService.java:367) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractObjectClient.access$600(AbstractObjectClient.java:57) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractObjectClient$3.action(AbstractObjectClient.java:128) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractObjectClient$3.action(AbstractObjectClient.java:125) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractClient.doActionWithResult(AbstractClient.java:393) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    ... 9 more
2023-07-14 11:00:49 ERROR i.a.i.b.AirbyteExceptionHandler(uncaughtException):26 - Something went wrong in the connector. See the logs for more details.
com.obs.services.exception.ObsException: OBS servcie Error Message. Request Error: java.io.IOException: Unexpected response code for CONNECT: 400
    at com.obs.services.internal.utils.ServiceUtils.changeFromServiceException(ServiceUtils.java:538) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractClient.doActionWithResult(AbstractClient.java:403) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractObjectClient.listObjects(AbstractObjectClient.java:124) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at io.airbyte.integrations.source.oss_huawei.OssHuaweiSource$read$1.fetchNextPage(OssHuaweiSource.kt:110) ~[main/:?]
    at io.airbyte.integrations.source.oss_huawei.OssHuaweiSource$read$1.<init>(OssHuaweiSource.kt:104) ~[main/:?]
    at io.airbyte.integrations.source.oss_huawei.OssHuaweiSource.read(OssHuaweiSource.kt:99) ~[main/:?]
    at io.airbyte.integrations.base.ssh.SshWrappedSource.read(SshWrappedSource.java:74) ~[main/:?]
    at io.airbyte.integrations.source.oss_huawei.HuaWeiSshWrappedSource.read(HuaWeiSshWrappedSource.java:55) ~[main/:?]
    at io.airbyte.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.java:160) ~[main/:?]
    at io.airbyte.integrations.base.IntegrationRunner.run(IntegrationRunner.java:120) ~[main/:?]
    at io.airbyte.integrations.source.oss_huawei.OssHuaweiSourceKt.main(OssHuaweiSource.kt:179) ~[main/:?]
Caused by: java.io.IOException: Unexpected response code for CONNECT: 400
    at shade.okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.kt:483) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.kt:262) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:201) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at shade.okhttp3.internal.connection.RealCall.execute(RealCall.kt:154) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.executeRequest(RestStorageService.java:562) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.tryRequest(RestStorageService.java:445) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.performRequest(RestStorageService.java:372) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.performRestGet(RestStorageService.java:909) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.performRestGet(RestStorageService.java:892) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.RestStorageService.performRestGet(RestStorageService.java:869) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.internal.service.ObsBucketBaseService.listObjectsImpl(ObsBucketBaseService.java:367) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractObjectClient.access$600(AbstractObjectClient.java:57) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractObjectClient$3.action(AbstractObjectClient.java:128) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractObjectClient$3.action(AbstractObjectClient.java:125) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    at com.obs.services.AbstractClient.doActionWithResult(AbstractClient.java:393) ~[esdk-obs-java-bundle-3.23.3.jar:?]
    ... 9 more
{"type":"TRACE","trace":{"type":"ERROR","emitted_at":1.689332449028E12,"error":{"message":"Something went wrong in the connector. See the logs for more details.","internal_message":"com.obs.services.exception.ObsException: OBS servcie Error Message. Request Error: java.io.IOException: Unexpected response code for CONNECT: 400","stack_trace":"com.obs.services.exception.ObsException: OBS servcie Error Message. Request Error: java.io.IOException: Unexpected response code for CONNECT: 400\n\tat com.obs.services.internal.utils.ServiceUtils.changeFromServiceException(ServiceUtils.java:538)\n\tat com.obs.services.AbstractClient.doActionWithResult(AbstractClient.java:403)\n\tat com.obs.services.AbstractObjectClient.listObjects(AbstractObjectClient.java:124)\n\tat io.airbyte.integrations.source.oss_huawei.OssHuaweiSource$read$1.fetchNextPage(OssHuaweiSource.kt:110)\n\tat io.airbyte.integrations.source.oss_huawei.OssHuaweiSource$read$1.<init>(OssHuaweiSource.kt:104)\n\tat io.airbyte.integrations.source.oss_huawei.OssHuaweiSource.read(OssHuaweiSource.kt:99)\n\tat io.airbyte.integrations.base.ssh.SshWrappedSource.read(SshWrappedSource.java:74)\n\tat io.airbyte.integrations.source.oss_huawei.HuaWeiSshWrappedSource.read(HuaWeiSshWrappedSource.java:55)\n\tat io.airbyte.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.java:160)\n\tat io.airbyte.integrations.base.IntegrationRunner.run(IntegrationRunner.java:120)\n\tat io.airbyte.integrations.source.oss_huawei.OssHuaweiSourceKt.main(OssHuaweiSource.kt:179)\nCaused by: java.io.IOException: Unexpected response code for CONNECT: 400\n\tat shade.okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.kt:483)\n\tat shade.okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.kt:262)\n\tat shade.okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:201)\n\tat shade.okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)\n\tat shade.okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)\n\tat shade.okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)\n\tat shade.okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)\n\tat shade.okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)\n\tat shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)\n\tat shade.okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)\n\tat shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)\n\tat shade.okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)\n\tat shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)\n\tat shade.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)\n\tat shade.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)\n\tat shade.okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)\n\tat shade.okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)\n\tat com.obs.services.internal.RestStorageService.executeRequest(RestStorageService.java:562)\n\tat com.obs.services.internal.RestStorageService.tryRequest(RestStorageService.java:445)\n\tat com.obs.services.internal.RestStorageService.performRequest(RestStorageService.java:372)\n\tat com.obs.services.internal.RestStorageService.performRestGet(RestStorageService.java:909)\n\tat com.obs.services.internal.RestStorageService.performRestGet(RestStorageService.java:892)\n\tat com.obs.services.internal.RestStorageService.performRestGet(RestStorageService.java:869)\n\tat com.obs.services.internal.service.ObsBucketBaseService.listObjectsImpl(ObsBucketBaseService.java:367)\n\tat com.obs.services.AbstractObjectClient.access$600(AbstractObjectClient.java:57)\n\tat com.obs.services.AbstractObjectClient$3.action(AbstractObjectClient.java:128)\n\tat com.obs.services.AbstractObjectClient$3.action(AbstractObjectClient.java:125)\n\tat com.obs.services.AbstractClient.doActionWithResult(AbstractClient.java:393)\n\t... 9 more\n","failure_type":"system_error"}}}

进程已结束,退出代码1
noaccident commented 9 months ago

https://support.huaweicloud.com/sdk-java-devg-obs/obs_21_0203.html 配置客户端代理参考此文档说明