Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

问题记录:设置路由规则之后Consumer端订阅部分报错 #33

Open
zifeiyu0531 opened this issue Mar 1, 2022 · 0 comments
Open

Comments

@zifeiyu0531
Copy link
Contributor

错误信息:

main ERROR polaris.ContextClassLoaderExecuteTemplate: fail to execute command getInstances
com.tencent.polaris.api.exception.PolarisException: ERR-1012(ROUTE_RULE_NOT_MATCH), getFilteredInstances route rule not match
	at com.tencent.polaris.plugins.router.rule.RuleBasedRouter.router(RuleBasedRouter.java:462)
	at com.tencent.polaris.plugins.router.common.AbstractServiceRouter.getFilteredInstances(AbstractServiceRouter.java:83)
	at com.tencent.polaris.client.flow.BaseFlow.processRouterChain(BaseFlow.java:171)
	at com.tencent.polaris.client.flow.BaseFlow.processServiceRouters(BaseFlow.java:142)
	at com.tencent.polaris.discovery.client.flow.SyncFlow.commonSyncGetInstances(SyncFlow.java:71)
	at com.tencent.polaris.discovery.client.api.DefaultConsumerAPI.getInstances(DefaultConsumerAPI.java:93)
	at com.tencent.polaris.factory.api.APIFacade.getInstances(APIFacade.java:178)
	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 cn.polarismesh.agent.common.tools.ReflectionUtils.invokeMethod(ReflectionUtils.java:270)
	at cn.polarismesh.common.polaris.PolarisOperator$7.call(PolarisOperator.java:280)
	at cn.polarismesh.common.polaris.ContextClassLoaderExecuteTemplate.execute(ContextClassLoaderExecuteTemplate.java:43)
	at cn.polarismesh.common.polaris.PolarisOperator.getAvailableInstances(PolarisOperator.java:274)
	at cn.polarismesh.agent.plugin.dubbox.polaris.PolarisRegistry$SubscribeTask.run(PolarisRegistry.java:121)
......
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant