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

[INLONG-450] TubeClientException: Generate producer id failed #1039

Closed
dockerzhang opened this issue Jul 28, 2021 · 0 comments
Closed

[INLONG-450] TubeClientException: Generate producer id failed #1039

dockerzhang opened this issue Jul 28, 2021 · 0 comments

Comments

@dockerzhang
Copy link
Contributor

tube consumer client started failed and got this error!

 

com.tencent.tubemq.client.exception.TubeClientException: Generate producer id failed!
at com.tencent.tubemq.client.producer.ProducerManager.(ProducerManager.java:115)
at com.tencent.tubemq.client.factory.TubeBaseSessionFactory.(TubeBaseSessionFactory.java:72)
at com.tencent.tubemq.client.factory.TubeSingleSessionFactory.(TubeSingleSessionFactory.java:50)
at gdt.sdk.apphome.api.tube.UpdatePkgTubeConsumer.doSubscribe(UpdatePkgTubeConsumer.java:54)
at gdt.sdk.apphome.api.ApiApplicationListener.onApplicationEvent(ApiApplicationListener.java:36)
at gdt.sdk.apphome.api.ApiApplicationListener.onApplicationEvent(ApiApplicationListener.java:23)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:404)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:361)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:898)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
at gdt.sdk.apphome.api.ApiApplication.main(ApiApplication.java:13)
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 org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:109)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: java.lang.IllegalArgumentException: xxxxxxxxxxxxxx%eth1 is invalid IP
at com.tencent.tubemq.corebase.utils.AddressUtils.ipToInt(AddressUtils.java:156)
at com.tencent.tubemq.client.producer.ProducerManager.(ProducerManager.java:113)
... 28 common frames omitted

It looks like tube read ipv6 instead of ipv4 on eth1, but tube not supports ipv6!

java-sdk version:

com.tencent.tubemq:tubemq-client:3.8.7
com.tencent.tdbank:tdbank-commons:1.3.4

 

JIRA link - [INLONG-450] created by yupili
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant