You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Troubleshooting of network connectivity issues is a broad topic. There are entire
990
-
books written about it. This guide provides some starting points for most common issues.
991
-
</p>
992
-
993
-
<p>
994
-
Networking protocols are <ahref="https://en.wikipedia.org/wiki/OSI_model#Comparison_with_TCP.2FIP_model">layered</a>.
995
-
So are problems with them. An effective troubleshooting
996
-
strategy typically uses the process of elimination to pin point the issue (or multiple issues),
997
-
starting at higher levels. Specifically for messaging technologies, the following steps
998
-
are often effective and sufficient:
999
-
1000
-
<ul>
1001
-
<li>Verify client configuration</li>
1002
-
<li>
1003
-
Verify server configuration using <code><ahref="/man/rabbitmqctl.1.man.html">rabbitmqctl</a> status</code> (specifically the <code>listeners</code> section)
1004
-
and <code>rabbitmqctl environment</code>
1005
-
</li>
1006
-
<li>Check server logs (see above)</li>
1007
-
<li>Verify hostname resolution</li>
1008
-
<li>Verify TCP port connectivity</li>
1009
-
<li>Verify IP routing</li>
1010
-
<li>If needed, take and analyze a traffic dump (traffic capture)</li>
1011
-
</ul>
1012
-
1013
-
These steps, when performed in sequence, usually help identify the root cause of
1014
-
the vast majority of networking issues. Troubleshooting tools and techniques for
1015
-
levels lower than the <ahref="https://en.wikipedia.org/wiki/Internet_protocol_suite#Internet_layer">Internet (networking) layer</a>
For the list of ports used by RabbitMQ and its various
1121
-
plugins, see above. Generally all ports used for external
1122
-
connections must be allowed by the firewalls and proxies.
1123
-
</p>
1124
-
</doc:subsection>
1125
-
1126
-
<doc:subsectionname="troubleshooting-ip-routing">
1127
-
<doc:heading>IP Routing</doc:heading>
1128
-
1129
-
<p>
1130
-
Messaging protocols supported by RabbitMQ use TCP and require IP routing between
1131
-
clients and RabbitMQ hosts to be functional. There are several tools and techniques
1132
-
that can be used to verify IP routing between two hosts. <ahref="https://en.wikipedia.org/wiki/Traceroute">traceroute</a> and <ahref="https://en.wikipedia.org/wiki/Ping_(networking_utility)">ping</a>
1133
-
are two common options available for many operating systems. Most routing table inspection tools are OS-specific.
1134
-
</p>
1135
-
1136
-
<p>
1137
-
Note that both <code>traceroute</code> and <code>ping</code> use <ahref="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol">ICMP</a>
1138
-
while RabbitMQ client libraries and inter-node connections use TCP.
1139
-
Therefore a successful <code>ping</code> run alone does not guarantee successful client connectivity.
1140
-
</p>
1141
-
1142
-
<p>
1143
-
Both <code>traceroute</code> and <code>ping</code> have Web-based and GUI tools built on top.
0 commit comments