Professional Documents
Culture Documents
ATLASSIAN - Network and Connectivity Troubleshooting Guide
ATLASSIAN - Network and Connectivity Troubleshooting Guide
confluence.atlassian.com/kb/network-and-connectivity-troubleshooting-guide-720405335.html
The first part of this page describes the specific network and connectivity errors that can
be diagnosed automatically by application links and the actions you can take to correct
those errors.
The second part provides a general troubleshooting guide to help you identify and
correct network and connectivity errors that may occur when using application links.
On this page:
The application link was attempting to connect to the remote application but the
hostname of the remote application couldn't be resolved.
You may see this error message in the Atlassian application logs:
The application URL for the Check the application URL of the remote
remote application is application:
misconfigured, or may have
changed recently. Is the host name correct?
Is the port correct?
Is the context path correct?
Does the application URL match the base URL
for the remote application (or the display URL
if the remote application is behind a reverse
proxy)?
Back to top
1/10
The application link was attempting to connect to the remote application but the
connection was refused.
You may see this error message in the Atlassian application logs:
A firewall is Check that the firewall configuration allows access on the required
blocking port, using the network tools described below.
access.
Back to top
The application link was attempting to connect to the remote application but requests to
the remote application are being blocked by a firewall in your network.
Back to top
2/10
The application link was able to contact the remote application but could not establish a
connection.
You may see this error message in the Atlassian application logs:
Back to top
The application link was attempting to connect to the remote application but couldn't
even contact it.
java.net.NoRouteToHostException
Back to top
You may see this error message in the Atlassian application logs:
3/10
Possible causes Actions you can take
There is a network Use the tools described below to check the connection
connection problem. with the remote machine.
Back to top
Unexpected response
The application link was attempting to connect to the remote application but an
unexpected HTTP response was received. For many cases, this indicates that the remote
application is behind a proxy that only provides HTTP 50x responses.
You may see these error messages in the Atlassian application logs:
UNEXPECTED_RESPONSE
UNEXPECTED_RESPONSE_STATUS
<response code>
<response body>
HTTP 404: Page not found Check that the application URL used to configure
The application URL the application link is correct for the remote
used to configure the application.
application link is not
correct, or the
application's address
has changed.
4/10
HTTP 405: Method not allowed Check the firewall or proxy configuration to see if
A firewall or proxy is HTTP requests (such as PUT) are allowed on the
preventing HTTP required port.
requests. See A firewall is blocking requests above.
HTTP 500: Internal server error Check that the remote application is operational,
The remote application by accessing it as usual from the browser.
may not be behind a Check the application error logs.
proxy, but the
application may have
an error, such as an
out of memory error.
HTTP 503: Service unavailable Check that the remote application is operational
The remote application by accessing it directly from your browser.
is behind a proxy and Restart the remote application, or contact your
is down. administrator.
See The remote application is not responding
above.
Back to top
5/10
The server that hosts the application is not Check that the remote server is
running. actually running.
One or both servers are not actually Check that you can reach each
connected to the network. server by pinging each server
from the other. See ping below.
The server that hosts the application is Check the connector directive
running, but it is not listening on the port that in the server.xml configuration
the application is trying to connect to. file for the remote application.
See our Reverse Proxy and
A firewall or other network device is blocking Use telnet to test that the remote
connections using the particular combination server accepts connections on a
of host address and port. specific port.
The address and port combination for the Check the current location of the
server that hosts the remote application is remote server.
incorrect or has changed.
The protocol being used to make the Check the connector directive
connection is incorrect (for example, it uses in the server.xml configuration
HTTP instead of HTTPS). file for the remote application.
java.net.NoRouteToHostException
6/10
Application log locations
Collapse
Logging
configuration Application logs Tomcat webserver logs
Crucible <Crucible installation
directory>/var/log/
Fisheye <FishEye installation
directory>/var/log/
Consider enabling the DEBUG level of logging on the application to get more detailed logs
– DEBUG adds all stack traces, and includes HTTP response messages.
Server.xml locations
Collapse
The location of your server.xml file depends on your application, operating system,
and installation location.
Common default installation locations for Atlassian applications are:
Linux: /opt/atlassian/<application-name>
Windows: C:\Program Files\Atlassian\<application-name>
Windows: C:\Atlassian\<application-name>
Bamboo <install-path>/conf/
7/10
Confluence <install-path>/conf/
Crowd <install-path>/apache-tomcat/conf/
JIRA <install-path>/conf/
applications
If you are on any of these later releases but your server.xml does
not exist in the directory above, it means that you are running from the
<install-path>/conf/server.xml .
8/10
Alternatively, you may wish to bypass certain network configurations and create
an unproxied application link.
Collapse
The ping command sends a small packet to the destination address, and notes the time
it takes to respond. You can use ping to check the following:
Network connection - if ping succeeds, then both machines are connected to the
network.
Correct DNS resolution - does the hostname (such as atlassian.com
) resolve to
an IP address, and is it the correct one?
Response time between the machine issuing the ping, and the destination. Lower
response times are better.
Failure to respond to a ping isn't necessarily an indication that the server is offline or
down – it simply may not be responding to ping requests.
Collapse
The traceroute ( tracert on Windows) command shows the flow of traffic between
the current machine and the destination. Trace routes are particularly effective at
identifying segments of poor performance or congestion.
Collapse
The telnet command can be used to test that a host accepts a connection on a specific
port. The telnet command is typically used like this:
Example:
telnet atlassian.com 80
When successfully connected to a host on the specified port, the output is similar to the
following:
telnet host.example 80
Trying 192.168.1.100...
Connected to host.example.
Once connected to the host and specified port, you can exit the telnet session. The
purpose is to ensure you can connect over the specified port. Firewalls or other network
configurations will reject the connection.
9/10
Collapse
The nslookup command is used for querying the Domain Name System (DNS) to obtain
domain name or IP address mappings. It allows you to check if the remote server's DNS
name can be resolved from the local server.
Typically, you run nslookup from each server and check that the correct IP address for
the other server is returned.
If the remote DNS name can't be resolved you'll need to get the DNS entry for each server
updated.
If your servers connect over HTTPS you may need to consider updating the host address
common name for your SSL certificates as well.
Yes
Provide feedback about this article
Powered by Confluence and Scroll Viewport.
10/10