-
Choerodon平台版本:0.21.0
-
运行环境:自主搭建
-
问题描述:
点击“创建应用服务”创建了一个应用(无模板),页面提示成功了,但是没有gitlab仓库底子,我去看应用对应的事务,发现有一个事务失败了,如图
io.choerodon.core.exception.CommonException: error.projecthook.create
at io.choerodon.devops.infra.feign.operator.GitlabServiceClientOperator.createWebHook(GitlabServiceClientOperator.java:364)
at io.choerodon.devops.app.service.impl.AppServiceServiceImpl.setProjectHook(AppServiceServiceImpl.java:2708)
at io.choerodon.devops.app.service.impl.AppServiceServiceImpl.operationApplication(AppServiceServiceImpl.java:637)
at io.choerodon.devops.app.service.impl.AppServiceServiceImpl$FastClassBySpringCGLIB$e2351bf.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
at io.choerodon.devops.app.service.impl.AppServiceServiceImpl$EnhancerBySpringCGLIB$f1131f89.operationApplication(<generated>)
at io.choerodon.devops.app.eventhandler.DevopsSagaHandler.createAppService(DevopsSagaHandler.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
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 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:748)
Caused by: feign.FeignException$InternalServerError: status 500 reading GitlabServiceClient#createProjectHook(Integer,Integer,ProjectHookDTO)
at feign.FeignException.errorStatus(FeignException.java:114)
at feign.FeignException.errorStatus(FeignException.java:86)
at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:93)
at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:149)
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:78)
at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
at com.sun.proxy.$Proxy272.createProjectHook(Unknown Source)
at io.choerodon.devops.infra.feign.operator.GitlabServiceClientOperator.createWebHook(GitlabServiceClientOperator.java:362)
... 17 more
- 建议:
如何处理?