{"action":"closed","issue":{"url":"https://api.github.com/repos/TarsCloud/Tars/issues/309","repository_url":"https://api.github.com/repos/TarsCloud/Tars","labels_url":"https://api.github.com/repos/TarsCloud/Tars/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/TarsCloud/Tars/issues/309/comments","events_url":"https://api.github.com/repos/TarsCloud/Tars/issues/309/events","html_url":"https://github.com/TarsCloud/Tars/issues/309","id":358869051,"node_id":"MDU6SXNzdWUzNTg4NjkwNTE=","number":309,"title":"服务发布失败:tars.tarsregistry.QueryObj|no such active connection invoker","user":{"login":"leeqx","id":931925,"node_id":"MDQ6VXNlcjkzMTkyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/931925?v=4","gravatar_id":"","url":"https://api.github.com/users/leeqx","html_url":"https://github.com/leeqx","followers_url":"https://api.github.com/users/leeqx/followers","following_url":"https://api.github.com/users/leeqx/following{/other_user}","gists_url":"https://api.github.com/users/leeqx/gists{/gist_id}","starred_url":"https://api.github.com/users/leeqx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeqx/subscriptions","organizations_url":"https://api.github.com/users/leeqx/orgs","repos_url":"https://api.github.com/users/leeqx/repos","events_url":"https://api.github.com/users/leeqx/events{/privacy}","received_events_url":"https://api.github.com/users/leeqx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-11T03:04:19Z","updated_at":"2018-09-12T02:40:36Z","closed_at":"2018-09-12T02:40:36Z","author_association":"NONE","body":"### What language are you using?\r\n cpp\r\n \r\n### What operating system (Linux, Ubuntu, …) and version?\r\n \r\n centos in docker\r\n### What runtime / compiler are you using (e.g. jdk version or version of gcc)\r\n \r\n \r\nMake sure you include information that can help us debug (full error message, exception listing, stack trace, logs).\r\n上传tarsstat.tgz 成功，点击发布之后提示 `服务发布失败:tars.tarsregistry.QueryObj|no such active connection invoker`\r\n```shell\r\n[root@3881d3f3baa1 workerspace]# netstat -anp|grep tars\r\ntcp        0      0 172.17.0.2:19385        0.0.0.0:*               LISTEN      8274/tarsnode\r\ntcp        0      0 127.0.0.1:19385         0.0.0.0:*               LISTEN      8274/tarsnode\r\ntcp        0      0 172.17.0.2:19386        0.0.0.0:*               LISTEN      8274/tarsnode\r\ntcp        0      0 172.17.0.2:12000        0.0.0.0:*               LISTEN      8241/tarsAdminRegis\r\ntcp        0      0 172.17.0.2:17890        0.0.0.0:*               LISTEN      8232/tarsregistry\r\ntcp        0      0 172.17.0.2:17891        0.0.0.0:*               LISTEN      8232/tarsregistry\r\ntcp        0      0 172.17.0.2:10000        0.0.0.0:*               LISTEN      8282/tarspatch\r\ntcp        0      0 127.0.0.1:10000         0.0.0.0:*               LISTEN      8282/tarspatch\r\ntcp        0      0 172.17.0.2:10001        0.0.0.0:*               LISTEN      8261/tarsconfig\r\ntcp        0      0 127.0.0.1:10001         0.0.0.0:*               LISTEN      8261/tarsconfig\r\ntcp        0      0 172.17.0.2:46862        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:47116        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:40588        172.17.0.2:19386        ESTABLISHED 8261/tarsconfig\r\ntcp        0      0 172.17.0.2:47088        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:47130        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:46850        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:46822        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:47102        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:46810        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:47146        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:46834        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:19386        172.17.0.2:40590        ESTABLISHED 8274/tarsnode\r\ntcp        0      0 172.17.0.2:19386        172.17.0.2:40588        ESTABLISHED 8274/tarsnode\r\ntcp        0      0 172.17.0.2:40590        172.17.0.2:19386        ESTABLISHED 8282/tarspatch\r\ntcp        0      0 172.17.0.2:46848        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:46824        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:46864        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\ntcp        0      0 172.17.0.2:46806        172.17.0.2:3306         ESTABLISHED 8241/tarsAdminRegis\r\ntcp        0      0 172.17.0.2:46846        172.17.0.2:3306         ESTABLISHED 8232/tarsregistry\r\n```\r\n\r\n\r\n对应的tars进程：\r\n```shell\r\nroot      8232     1  0 10:41 pts/0    00:00:06 /usr/local/app/tars/tarsregistry/bin/tarsregistry --config=/usr/local/app/tars/tarsregistry/conf/tarsregistry.conf\r\nroot      8241     1  0 10:41 pts/0    00:00:02 /usr/local/app/tars/tarsAdminRegistry/bin/tarsAdminRegistry --config=/usr/local/app/tars/tarsAdminRegistry/conf/adminregistry.conf\r\nroot      8261     1  0 10:41 pts/0    00:00:02 /usr/local/app/tars/tarsconfig/bin/tarsconfig --config=/usr/local/app/tars/tarsconfig/conf/tarsconfig.conf\r\nroot      8274     1  0 10:41 ?        00:00:03 /usr/local/app/tars/tarsnode/bin/tarsnode --locator=tars.tarsregistry.QueryObj@tcp -h 172.17.0.2 -p 17890 --config=/usr/local/app/tars/tarsnode/conf/tarsnode.conf\r\nroot      8282     1  0 10:41 pts/0    00:00:02 /usr/local/app/tars/tarspatch/bin/tarspatch --config=/usr/local/app/tars/tarspatch/conf/tarspatch.conf\r\nroot      8373     1  0 10:41 ?        00:00:00 rsync --address=172.17.0.2 --daemon --config=/usr/local/app/tars/tarspatch/conf/rsync.conf\r\n```\r\n\r\nresin 日志：\r\n```log\r\n018-09-11 10:42:29.729|INFO|ConfigService.java|190|deleteUnusedNodeConfigFiles|delete 0 unused node config file(s)\r\n2018-09-11 10:42:29.730|INFO|ScheduleService.java|35|checkUnusedConfigFiles|delete 0 unused node config file(s)\r\n2018-09-11 10:42:30.323|INFO|VariablesInterceptor.java|43|preHandle|  traceUrl is\r\n2018-09-11 10:42:30.410|INFO|ConfigService.java|190|deleteUnusedNodeConfigFiles|delete 0 unused node config file(s)\r\n2018-09-11 10:42:30.411|INFO|ScheduleService.java|35|checkUnusedConfigFiles|delete 0 unused node config file(s)\r\n2018-09-11 10:42:32.199|INFO|VariablesInterceptor.java|43|preHandle|  traceUrl is\r\n2018-09-11 10:42:32.346|INFO|AdminService.java|144|lambda$addTask$1|item=8aedfefc549a43d0bd5527054ed13a43, applicaiton=tars, server_name=tarsstat, node_name=172.17.0.2, command=patch_tars, parameters={patch_id=52, bak_flag=0, update_text=}\r\n2018-09-11 10:42:32.491|INFO|WrappedController.java|83|handleException|exception intercepted, uri=/pages/server/api/add_task, isajax=true\r\ncom.qq.tars.rpc.exc.NoConnectionException: tars.tarsregistry.QueryObj|no such active connection invoker\r\n        at com.qq.tars.client.ObjectProxy.invoke(ObjectProxy.java:101)\r\n        at com.sun.proxy.$Proxy108.findObjectByIdInSameGroup(Unknown Source)\r\n        at com.qq.tars.support.query.QueryHelper.getServerNodes(QueryHelper.java:57)\r\n        at com.qq.tars.client.ObjectProxyFactory.updateServantEndpoints(ObjectProxyFactory.java:123)\r\n        at com.qq.tars.client.ObjectProxyFactory.getObjectProxy(ObjectProxyFactory.java:53)\r\n        at com.qq.tars.client.ServantProxyFactory.getServantProxy(ServantProxyFactory.java:46)\r\n        at com.qq.tars.client.Communicator.stringToProxy(Communicator.java:73)\r\n        at com.qq.tars.client.Communicator.stringToProxy(Communicator.java:56)\r\n        at com.qq.tars.service.admin.AdminService.getAdminRegPrx(AdminService.java:70)\r\n        at com.qq.tars.service.admin.AdminService.addTask(AdminService.java:150)\r\n        at com.qq.tars.service.task.TaskService.addTask(TaskService.java:76)\r\n        at com.qq.tars.web.controller.TaskController.addTask(TaskController.java:50)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:498)\r\n        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)\r\n        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)\r\n        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)\r\n        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:777)\r\n        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:706)\r\n        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\r\n        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)\r\n        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)\r\n        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)\r\n        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)\r\n        at javax.servlet.http.HttpServlet.service(HttpServlet.java:159)\r\n        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)\r\n        at javax.servlet.http.HttpServlet.service(HttpServlet.java:97)\r\n        at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)\r\n        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilte\r\n```"}}
{"actor":{"display_login":"dpp2009"}}