Exception occurs when users add a new account

Users attempting to create an account after being invited are receiving the below error. Not sure whats occurring as I can log into the confluence server without any issues. 

Cause

com.atlassian.crowd.exception.runtime.OperationFailedException: java.net.NoRouteToHostException: No route to host (Host unreachable)
    at com.atlassian.crowd.embedded.core.CrowdServiceImpl.addUser(CrowdServiceImpl.java:350)

caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
    at java.net.PlainSocketImpl.socketConnect(Native Method)

Stack Trace:[hide]

com.atlassian.crowd.exception.runtime.OperationFailedException: java.net.NoRouteToHostException: No route to host (Host unreachable)
	at com.atlassian.crowd.embedded.core.CrowdServiceImpl.addUser(CrowdServiceImpl.java:350)
	at com.atlassian.crowd.embedded.core.CrowdServiceImpl.addUser(CrowdServiceImpl.java:329)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

2 answers

0 vote
Ann Worley Atlassian Team Oct 13, 2017

Welcome, Matt. I understand when users click on the sign-up button in the invitation to join Confluence, they get "no route to host" error. 

To create the user, Confluence has to "talk" to itself. "No route to host" indicates that Confluence cannot find itself on the network. A firewall appliance or software like Windows Firewall or IPtables could be preventing the connection.

  • Please consider disabling any firewall software on the server, to help isolate the issue.
  • To continue troubleshooting, please run a traceroute from the command line or terminal on your server.

Do the traceroute to the name confluence is using for a base URL.

For example on Windows, if your Confluence instance is http://confluence.company.com then the command would be:

tracert confluence.company.com

for Linux:

traceroute confluence.company.com

Please let me know the results of the commands or anything else that you find out about the issue.

Thanks,

Ann

Hi Ann,

Tracert from machine receiving the error:

tracertlocal.png

Traceroute from the server to itself:

tracertserver.png

Regards,

Matt

Ann Worley Atlassian Team Oct 13, 2017

I created a support ticket for you so we could look over your logs without posting any confidential material. You should see an email soon from our portal.

0 vote
Ann Worley Atlassian Team Oct 17, 2017

The logs revealed that the Confluence instance was using Jira for user management. Matt eliminated the Jira user directory from the equation and it was possible to create user accounts. 

@Matt if you would like to add any details to help folks who experience this in future we will welcome that.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,132 views 22 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you