You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/10/30 14:46:53 UTC

[GitHub] [dubbo] hadesvip opened a new issue #9167: Session 0x0 for server 127.0.0.1/:2181

hadesvip opened a new issue #9167:
URL: https://github.com/apache/dubbo/issues/9167


   ### Environment
   
   * Dubbo version: 3.0.2.1
   * Operating System version: win10
   * Java version: openjdk 14
   
   ### Steps to reproduce this issue
   
   1. 在openjdk14 版本上运行dubbo时候启动报错,提示如下
   
   ![image](https://user-images.githubusercontent.com/9640832/139537432-1817c3e5-0ada-408d-999f-f421b1d48b24.png)
   
   2.  调试源码发现,openjdk14 修改了InetSocketAddress的toString方法,修改源码如下
   ![image](https://user-images.githubusercontent.com/9640832/139537504-cb75bc67-767e-4edf-8387-7e6ea1fcd76c.png)
   
   3.  调用InetSocketAddress.toString()获取IP地址的时候导致返回了“127.0.0.1/<unresolved>:2181”,获取IP地址触发了UnknownHostException运行时异常返回了默认的值
   ![image](https://user-images.githubusercontent.com/9640832/139537583-55feea8c-b1b7-4d7b-8f33-83e303b86bf8.png)
   
   4. 后续对ip地址进行校验的时候,SocketAddress中的addr并没有设置值,直接触发了UnresolvedAddressException异常
   ![image](https://user-images.githubusercontent.com/9640832/139537823-45d46b21-3534-4ec2-99e6-59f5c12728a4.png)
   
   Pls. provide [GitHub address] to reproduce this issue.
   https://github.com/hadesvip/dubbo-samples/blob/master/dubbo-samples-echo/src/main/java/org/apache/dubbo/samples/echo/EchoProvider.java
   
   
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #9167: Session 0x0 for server 127.0.0.1/:2181

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #9167:
URL: https://github.com/apache/dubbo/issues/9167#issuecomment-955875658


   Try upgrade zk version.


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM commented on issue #9167: Session 0x0 for server 127.0.0.1/:2181

Posted by GitBox <gi...@apache.org>.
CrazyHZM commented on issue #9167:
URL: https://github.com/apache/dubbo/issues/9167#issuecomment-966692741


   No feedback for a long time, please close the issue temporarily. If there is still a problem, you can reopen it.


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM closed issue #9167: Session 0x0 for server 127.0.0.1/:2181

Posted by GitBox <gi...@apache.org>.
CrazyHZM closed issue #9167:
URL: https://github.com/apache/dubbo/issues/9167


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org