swagger api 500

  • Choerodon平台版本:0.8.0

  • 运行环境(如localhost或k8s):k8s

  • 问题描述:

    如:微服务注册到k8s,swagger-ui 页面报错:500

org.springframework.remoting.RemoteAccessException: fetch failed, instance:HITOM-BACKEND

  • 报错信息(请尽量使用代码块的形式展现):
    swagger-ui 页面报错:
    500 : {"timestamp":"2018-07-27 17:01:22","status":500,"error":"Internal Server Error","exception":"org.springframework.remoting.RemoteAccessException","message":"Request processing failed; nested exception is org.springframework.remoting.RemoteAccessException: fetch failed, instance:HITOM-BACKEND","path":"/docs/hitom"} 
    

你好,请确保你的服务已经注册到注册中心,且在 管理-> 微服务管理 -> 路由管理中 有对应服务的路由信息