See documentation:
http://www.keycloak.org/docs/latest/server_admin/index.html#the-admin-cli
No route to host means you have a networking issue or are using a wrong IP
for the server.
On Feb 13, 2018 09:13, "Subodh Joshi" <subodhcjoshi82(a)gmail.com> wrote:
Hi All
I am trying to create realm through admin CLI and tried below command
./kcadm.sh config credentials --server http://<IP ADDRESS>:8665/auth/
create realms -s realm=demorealmAdminCLI -s enabled=true
But i am getting
Required option not specified: --realm
What i am doing wrong ?
When i tried following command
[root@suredevbana1 bin]# ./kcadm.sh config credentials --server http://<IP
ADDRESS>:8665/auth/ --realm master --user admin --password admin
Then i am getting below message
Logging into http://<IP ADDRESS>:8665/auth/ as user admin of realm master
Feb 13, 2018 1:23:35 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.NoRouteToHostException) caught when
processing request to {}->http:// <IP ADDRESS> :8665: No route to host
Feb 13, 2018 1:23:35 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http:// <IP ADDRESS> :8665
Feb 13, 2018 1:23:35 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.NoRouteToHostException) caught when
processing request to {}->http:// <IP ADDRESS> :8665: No route to host
Feb 13, 2018 1:23:35 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http:// <IP ADDRESS> :8665
Feb 13, 2018 1:23:35 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.NoRouteToHostException) caught when
processing request to {}->http:// <IP ADDRESS> :8665: No route to host
Feb 13, 2018 1:23:35 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http:// <IP ADDRESS> :8665
Failed to send request - No route to host
Subodh Chandra Joshi
subodh1_joshi82(a)yahoo.co.in
http://www.questioninmind.com
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user