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

This widget could not be displayed.
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.

This widget could not be displayed.
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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

253 views 2 4
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