-
Choerodon平台版本: 0.19.0
-
运行环境:自主搭建
-
问题描述:
现象:使用http方式git clone 提示权限认证失败
错误信息如下:
任务编码
devopsUpdateUser
任务描述
用户更新事件
序列
1
并发限制模式
NONE
最大并发数
1
最大重试次数
3
超时时间
超时策略
所属微服务
devops-service
事务日志:
io.choerodon.core.exception.CommonException: feign.FeignException: status 500 reading GitlabServiceClient#updateGitLabUser(Integer,Integer,GitlabUserReqDTO); content:
{“failed”:true,“code”:“Bad Request”,“message”:“Bad Request”}
at io.choerodon.devops.infra.feign.operator.GitlabServiceClientOperator.updateUser(GitlabServiceClientOperator.java:72)
at io.choerodon.devops.app.service.impl.GitlabUserServiceImpl.updateGitlabUser(GitlabUserServiceImpl.java:61)
at io.choerodon.devops.app.eventhandler.SagaHandler.handleUpdateUserEvent(SagaHandler.java:192)
at sun.reflect.GeneratedMethodAccessor713.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at io.choerodon.asgard.saga.consumer.SagaConsumer.invoke(SagaConsumer.java:84)
at io.choerodon.asgard.saga.consumer.SagaConsumer.lambda$null$0(SagaConsumer.java:56)
at io.choerodon.asgard.saga.consumer.SagaConsumer$$Lambda$911.00000000F4238600.get(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
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:813)
Caused by: feign.FeignException: status 500 reading GitlabServiceClient#updateGitLabUser(Integer,Integer,GitlabUserReqDTO); content:
{“failed”:true,“code”:“Bad Request”,“message”:“Bad Request”}
at feign.FeignException.errorStatus(FeignException.java:60)
at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:89)
at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:143)
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:77)
at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:102)
at com.sun.proxy.$Proxy187.updateGitLabUser(Unknown Source)
at io.choerodon.devops.infra.feign.operator.GitlabServiceClientOperator.updateUser(Gitla
微服务状态:
c7n-system devops-service-6fb7575655-xxjqz 1/1 Running 0 16h
c7n-system devops-service-init-config-kgqdm 0/1 Completed 0 17h
c7n-system devops-service-init-db-5dsvm 0/1 Completed 0 17h
- 执行的操作:
1、重试事务,仍然失败