You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by GitBox <gi...@apache.org> on 2021/07/28 12:00:54 UTC

[GitHub] [incubator-inlong] dockerzhang opened a new issue #1039: [INLONG-450] TubeClientException: Generate producer id failed

dockerzhang opened a new issue #1039:
URL: https://github.com/apache/incubator-inlong/issues/1039


   <p>tube consumer client started failed and got this error!</p>
   
   <p> </p>
   <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
   <pre class="code-java">
   com.tencent.tubemq.client.exception.TubeClientException: Generate producer id failed!
   at com.tencent.tubemq.client.producer.ProducerManager.<init>(ProducerManager.java:115)
   at com.tencent.tubemq.client.factory.TubeBaseSessionFactory.<init>(TubeBaseSessionFactory.java:72)
   at com.tencent.tubemq.client.factory.TubeSingleSessionFactory.<init>(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.<init>(ProducerManager.java:113)
   ... 28 common frames omitted
   </pre>
   </div></div>
   <p>It looks like tube read ipv6 instead of ipv4 on eth1, but tube not supports ipv6!</p>
   
   <p>java-sdk version:</p>
   
   <p>com.tencent.tubemq:tubemq-client:3.8.7<br/>
    com.tencent.tdbank:tdbank-commons:1.3.4</p>
   
   <p> </p>
   <i>JIRA link - <a href="https://issues.apache.org/jira/browse/INLONG-450">[INLONG-450]</a> created by yupili</i>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-inlong] dockerzhang closed issue #1039: [INLONG-450] TubeClientException: Generate producer id failed

Posted by GitBox <gi...@apache.org>.
dockerzhang closed issue #1039:
URL: https://github.com/apache/incubator-inlong/issues/1039


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org