-
Bug
-
Resolution: Fixed
-
Major
-
None
-
jenkins 2.482
When starting the agent an error is reported:
WARNING: java.net.URISyntaxException: Illegal character in hostname at index 10: http://han_mob:60605
okt 23, 2024 8:00:20 A.M. hudson.remoting.Launcher$CuiListener status
INFO: Could not locate server among http://han_mob:8080/; waiting 10 seconds before retry
However it is possible to connect to the url http://han_mob:8080 for showing Jenkins
It seems that the underscore in the url is not accepted for agents.
[JENKINS-74003] underscore in jenkins URL is not accepted for agent
Description |
Original:
When starting the agent an error is reported:
WARNING: java.net.URISyntaxException: Illegal character in hostname at index 10: http://han_mob:60605 okt 23, 2024 8:00:20 A.M. hudson.remoting.Launcher$CuiListener status INFO: Could not locate server among [http://han_mob:8080/]; waiting 10 seconds before retry However it is possible to connector the url [http://han_mob:8080|http://han_mob:8080/] for showing Jenkins It seems that the underscore in the url is not accepted for agents. |
New:
When starting the agent an error is reported:
WARNING: java.net.URISyntaxException: Illegal character in hostname at index 10: [http://han_mob:60605|http://han_mob:60605/] okt 23, 2024 8:00:20 A.M. hudson.remoting.Launcher$CuiListener status INFO: Could not locate server among [http://han_mob:8080/]; waiting 10 seconds before retry However it is possible to connect to the url [http://han_mob:8080|http://han_mob:8080/] for showing Jenkins It seems that the underscore in the url is not accepted for agents. |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Underscores are not allowed in Domain names: https://www.ssl.com/faqs/underscores-not-allowed-in-domain-names/
So you should rename your machine, e.g. use a hyphen "han-mob"