Skip to content

Commit 5ccc8a7

Browse files
authored
Merge pull request #101753 from spelluru/messaging0121
wget success or error messages
2 parents 18b9a38 + 601587e commit 5ccc8a7

File tree

2 files changed

+28
-11
lines changed

2 files changed

+28
-11
lines changed

articles/event-hubs/event-hubs-messaging-exceptions.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,18 +103,7 @@ ExceptionId: 00000000000-00000-0000-a48a-9c908fbe84f6-ServerBusyException: The r
103103
The following steps may help you with troubleshooting connectivity/certificate/timeout issues for all services under *.servicebus.windows.net.
104104

105105
- Browse to or [wget](https://www.gnu.org/software/wget/) `https://<yournamespacename>.servicebus.windows.net/`. It helps with checking whether you have IP filtering or virtual network or certificate chain issues (most common when using java SDK).
106-
- Run the following command to check if any port is blocked on the firewall. Ports used are 443 (HTTPS), 5671 (AMQP) and 9093 (Kafka). Depending on the library you use, other ports are also used. Here is the sample command that check whether the 5671 port is blocked.
107-
108-
```powershell
109-
tnc <yournamespacename>.servicebus.windows.net -port 5671
110-
```
111106

112-
On Linux:
113-
114-
```shell
115-
telnet <yournamespacename>.servicebus.windows.net 5671
116-
```
117-
118107
An example of successful message:
119108

120109
```xml
@@ -131,6 +120,17 @@ The following steps may help you with troubleshooting connectivity/certificate/t
131120
</Detail>
132121
</Error>
133122
```
123+
- Run the following command to check if any port is blocked on the firewall. Ports used are 443 (HTTPS), 5671 (AMQP) and 9093 (Kafka). Depending on the library you use, other ports are also used. Here is the sample command that check whether the 5671 port is blocked.
124+
125+
```powershell
126+
tnc <yournamespacename>.servicebus.windows.net -port 5671
127+
```
128+
129+
On Linux:
130+
131+
```shell
132+
telnet <yournamespacename>.servicebus.windows.net 5671
133+
```
134134
- When there are intermittent connectivity issues, run the following command to check if there are any dropped packets. This command will try to establish 25 different TCP connections every 1 second with the service. Then, you can check how many of them succeeded/failed and also see TCP connection latency. You can download the `psping` tool from [here](/sysinternals/downloads/psping).
135135

136136
```shell

articles/service-bus-messaging/service-bus-messaging-exceptions.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,23 @@ For queues and topics, the timeout is specified either in the [MessagingFactoryS
108108
The following steps may help you with troubleshooting connectivity/certificate/timeout issues for all services under *.servicebus.windows.net.
109109

110110
- Browse to or [wget](https://www.gnu.org/software/wget/) `https://<yournamespace>.servicebus.windows.net/`. It helps with checking whether you have IP filtering or virtual network or certificate chain issues (most common when using java SDK).
111+
112+
An example of successful message:
113+
114+
```xml
115+
<feed xmlns="http://www.w3.org/2005/Atom"><title type="text">Publicly Listed Services</title><subtitle type="text">This is the list of publicly-listed services currently available.</subtitle><id>uuid:27fcd1e2-3a99-44b1-8f1e-3e92b52f0171;id=30</id><updated>2019-12-27T13:11:47Z</updated><generator>Service Bus 1.1</generator></feed>
116+
```
117+
118+
An example of failure error message:
119+
120+
```json
121+
<Error>
122+
<Code>400</Code>
123+
<Detail>
124+
Bad Request. To know more visit https://aka.ms/sbResourceMgrExceptions. . TrackingId:b786d4d1-cbaf-47a8-a3d1-be689cda2a98_G22, SystemTracker:NoSystemTracker, Timestamp:2019-12-27T13:12:40
125+
</Detail>
126+
</Error>
127+
```
111128
- Run the following command to check if any port is blocked on the firewall. Ports used are 443 (HTTPS), 5671 (AMQP) and 9354 (Net Messaging/SBMP). Depending on the library you use, other ports are also used. Here is the sample command that check whether the 5671 port is blocked.
112129

113130
```powershell

0 commit comments

Comments
 (0)