You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/08/11 07:39:31 UTC

[GitHub] [shardingsphere-elasticjob] jwolf123456 opened a new issue #1365: Class 'IpUtils' has a bug ?

jwolf123456 opened a new issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365


   ![image](https://user-images.githubusercontent.com/61695475/89870598-aed03e00-dbe8-11ea-9c83-2f1cd649bb51.png)
   


----------------------------------------------------------------
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] [shardingsphere-elasticjob] jsdtcx commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
jsdtcx commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-672375337


   > Try to set '-Djava.net.preferIPv4Stack=true'
   
   ok,i will try again


----------------------------------------------------------------
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] [shardingsphere-elasticjob] Technoboy- commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-675916317


   Close this issue due to no feedback. 


----------------------------------------------------------------
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] [shardingsphere-elasticjob] jsdtcx edited a comment on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
jsdtcx edited a comment on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-672438420


   > @jsdtcx in linux system,'java -jar xx.jar' works well,but in win7 system,it always throws exception——'ip is null'
   
   yes,win7 doesn't work well


----------------------------------------------------------------
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] [shardingsphere-elasticjob] zhaoyuguang edited a comment on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
zhaoyuguang edited a comment on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-671902281


   Looking at the other frames, I tend to remove `inetAddress.isReachable(100)`, what do you think @terrymanu  @Technoboy- 


----------------------------------------------------------------
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] [shardingsphere-elasticjob] Technoboy- commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-675483619


   > In Win7, find the eth name by ipconfig, and try to set '-Delasticjob.preferred.network.interface=XXX' to test if this can help to speed up.
   
   @jsdtcx Can you give some feedback ?


----------------------------------------------------------------
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] [shardingsphere-elasticjob] Technoboy- closed issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
Technoboy- closed issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365


   


----------------------------------------------------------------
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] [shardingsphere-elasticjob] zhaoyuguang commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
zhaoyuguang commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-671801324


   Throw a HostException?
   ipAddress has '/' is normal


----------------------------------------------------------------
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] [shardingsphere-elasticjob] Technoboy- commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-672464990


   In Win7, find the eth name by ipconfig, and try to set '-Delasticjob.preferred.network.interface=XXX' to test if this can help to speed up.


----------------------------------------------------------------
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] [shardingsphere-elasticjob] zhaoyuguang commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
zhaoyuguang commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-671902281


   Looking at the other frames, I tend to remove `inetAddress.isReachable(100)`, what do you think @terrymanu 


----------------------------------------------------------------
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] [shardingsphere-elasticjob] zhaoyuguang commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
zhaoyuguang commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-671892154


   Is your local computer Windows? I've come across this in other frameworks before, but 10s is definitely too long


----------------------------------------------------------------
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] [shardingsphere-elasticjob] jsdtcx commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
jsdtcx commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-672438420


   > @jsdtcx in linux system,'java -jar xx.jar' works well,but in win7 system,it always throws exception——'ip is null'
   
   yes,win7 doesn't worl well


----------------------------------------------------------------
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] [shardingsphere-elasticjob] jsdtcx commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
jsdtcx commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-671821150


   isValidAddress(final InetAddress inetAddress)这个验证ip是否有效的方法有bug:
   inetAddress.isReachable(100),这个超时时间100太短了,我在本地测试了,我的机器只有设置成10000,才能保证是true,设置成1000都不能保证每次都是true。这就导致一直报"ip is null"


----------------------------------------------------------------
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] [shardingsphere-elasticjob] Technoboy- commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-674494683


   Hi, could you give some feedback about whether this issue resolved or not ? @jwolf123456 
   


----------------------------------------------------------------
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] [shardingsphere-elasticjob] hebeichegu commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
hebeichegu commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-692126626


   Win7 doesnt work. Bug is still there. Is the fix on the plan?


----------------------------------------------------------------
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] [shardingsphere-elasticjob] Technoboy- commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-672028266


   Try to set '-Djava.net.preferIPv4Stack=true'
   


----------------------------------------------------------------
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] [shardingsphere-elasticjob] zhaoyuguang commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
zhaoyuguang commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-671799688


   I will test, then fix


----------------------------------------------------------------
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] [shardingsphere-elasticjob] jwolf123456 commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
jwolf123456 commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-672428950


   > Try to set '-Djava.net.preferIPv4Stack=true'
   
   i tried, but useless


----------------------------------------------------------------
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] [shardingsphere-elasticjob] jsdtcx commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
jsdtcx commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-671913804


   > Is your local computer Windows? I've come across this in other frameworks before, but 10s is definitely too long
   
   windows


----------------------------------------------------------------
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] [shardingsphere-elasticjob] jsdtcx commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
jsdtcx commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-672434712


   > @jsdtcx in linux system,'java -jar xx.jar' works well,but in win7 system,it always throws exception——'ip is null'
   
   
   
   > > Try to set '-Djava.net.preferIPv4Stack=true'
   > 
   > i tried, but useless
   
   me too


----------------------------------------------------------------
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] [shardingsphere-elasticjob] jwolf123456 commented on issue #1365: Class 'IpUtils' has a bug ?

Posted by GitBox <gi...@apache.org>.
jwolf123456 commented on issue #1365:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1365#issuecomment-672432445


   @jsdtcx   in linux system,'java -jar xx.jar' works well,but in win7 system,it always throws  exception——'ip is null' 


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