You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/09/21 03:16:31 UTC

[GitHub] [pulsar] wangjialing218 opened a new issue #8092: brokerServiceUrl do not support mutli hosts in ipv6 environment

wangjialing218 opened a new issue #8092:
URL: https://github.com/apache/pulsar/issues/8092


   **Describe the bug**
   Set `brokerServiceUrl` in client.conf with mutli ipv6 host address like `pulsar://[fec0:0:0:ffff::1]:6650,[fec0:0:0:ffff::2]:6650`, when client connect to brokers it got such exception:
   `java.lang.IllegalArgumentException: Illegal character in port number at index 32: pulsar://[fec0:0:0:ffff::1]:6650,[fec0:0:0:ffff::2]:6650
   at java.net.URI.create(URI.java:852) ~[na:1.8.0_131]`
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Start mutli brokers in ipv6 environment
   2. Set `brokerServiceUrl` in client.conf with mutli ipv6 host address and connect to brokers. 
   
   **Expected behavior**
   Client can connect to brokers
   
   **Additional context**
   It seems ipv6 URI do not support mutli hosts split by comma. Is there any workaround to specify mutli ipv6 hosts in `brokerServiceUrl` ? or some code need changed in pulsar-client?
   


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] wangjialing218 commented on issue #8092: brokerServiceUrl do not support mutli hosts in ipv6 environment

Posted by GitBox <gi...@apache.org>.
wangjialing218 commented on issue #8092:
URL: https://github.com/apache/pulsar/issues/8092#issuecomment-696481186


   I will work on fixing this issue.


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] wangjialing218 commented on issue #8092: brokerServiceUrl do not support mutli hosts in ipv6 environment

Posted by GitBox <gi...@apache.org>.
wangjialing218 commented on issue #8092:
URL: https://github.com/apache/pulsar/issues/8092#issuecomment-696481186


   I will work on fixing this issue.


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] codelipenghui commented on issue #8092: brokerServiceUrl do not support mutli hosts in ipv6 environment

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #8092:
URL: https://github.com/apache/pulsar/issues/8092#issuecomment-696472921


   Are you interested in pushing a PR for fixing this issue?


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] wangjialing218 commented on issue #8092: brokerServiceUrl do not support mutli hosts in ipv6 environment

Posted by GitBox <gi...@apache.org>.
wangjialing218 commented on issue #8092:
URL: https://github.com/apache/pulsar/issues/8092#issuecomment-696481186


   I will work on fixing this issue.


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] codelipenghui commented on issue #8092: brokerServiceUrl do not support mutli hosts in ipv6 environment

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #8092:
URL: https://github.com/apache/pulsar/issues/8092#issuecomment-696472921






----------------------------------------------------------------
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.

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



[GitHub] [pulsar] codelipenghui closed issue #8092: brokerServiceUrl do not support mutli hosts in ipv6 environment

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #8092:
URL: https://github.com/apache/pulsar/issues/8092


   


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] codelipenghui commented on issue #8092: brokerServiceUrl do not support mutli hosts in ipv6 environment

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #8092:
URL: https://github.com/apache/pulsar/issues/8092#issuecomment-696472921






----------------------------------------------------------------
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.

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



[GitHub] [pulsar] codelipenghui commented on issue #8092: brokerServiceUrl do not support mutli hosts in ipv6 environment

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #8092:
URL: https://github.com/apache/pulsar/issues/8092#issuecomment-696481398


   Great, thanks @wangjialing218 


----------------------------------------------------------------
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.

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