Please answer some questions before submitting your issue. Thanks!
Which version of XXL-JOB do you using?
2.0.2
Expected behavior
在Kubernetes中部署完毕后,可以成功注册执行器。
Actual behavior
注册执行器失败。服务端提示错误:09:23:26.625 logback [http-nio-8080-exec-6] WARN o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/xxl-job-admin/api/registry] in DispatcherServlet with name 'dispatcherServlet'
efault|bash-3.2$ curl http://xxl-job-service.dabai-fat.svc.cluster.local:8080/api/registry
<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1></body></html>
@default|bash-3.2$ curl http://xxl-job-service.dabai-fat.svc.cluster.local:8080/xxl-job-admin/api/registry
无内容
Please answer some questions before submitting your issue. Thanks!
Which version of XXL-JOB do you using?
2.0.2
Expected behavior
在Kubernetes中部署完毕后,可以成功注册执行器。
Actual behavior
注册执行器失败。服务端提示错误:09:23:26.625 logback [http-nio-8080-exec-6] WARN o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/xxl-job-admin/api/registry] in DispatcherServlet with name 'dispatcherServlet'
客户端提示错误:09:25:48.713 logback [xxl-job, executor ExecutorRegistryThread] INFO c.x.j.c.t.ExecutorRegistryThread - >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='job-schedule-executor1', registryValue='172.30.184.4:9997'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting fail, StatusCode(404) invalid. for url : http://xxl-job-admin.dabai-fat.svc.cluster.local:8080/xxl-job-admin/api/registry, content=null]
日志提示错误:10:28:38.250 logback [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/api]}" onto public void com.xxl.job.admin.controller.JobApiController.api(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException
Steps to reproduce the behavior
Other information
我的xxl客户端配置:
WEB UI界面可以正常访问,但是注册地址无法正常访问,注册访问对应的地址: