Skip to content

Commit 5134fd4

Browse files
Merge pull request #210063 from xuehongg/mybranch9
Adding a troubleshooting tip for SB connector
2 parents 31063a3 + 17dc057 commit 5134fd4

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

articles/connectors/connectors-create-api-servicebus.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 08/18/2021
8+
ms.date: 09/02/2021
99
tags: connectors
1010
---
1111

@@ -199,10 +199,31 @@ When you need to send related messages in a specific order, you can use the [*se
199199

200200
When you create a logic app, you can select the **Correlated in-order delivery using service bus sessions** template, which implements the sequential convoy pattern. For more information, see [Send related messages in order](../logic-apps/send-related-messages-sequential-convoy.md).
201201

202+
202203
## Delays in updates to your logic app taking effect
203204

204205
If a Service Bus trigger's polling interval is small, such as 10 seconds, updates to your logic app workflow might not take effect for up to 10 minutes. To work around this problem, you can disable the logic app, make the changes, and then enable the logic app workflow again.
205206

207+
## Troubleshooting
208+
209+
Occasionally, operations such as completing a message or renewing a session produce the following error:
210+
211+
``` json
212+
{
213+
"status": 400,
214+
"message": "No session available to complete the message with the lock token 'ce440818-f26f-4a04-aca8-555555555555'. clientRequestId: facae905-9ba4-44f4-a42a-888888888888",
215+
"error": {
216+
"message": "No session available to complete the message with the lock token 'ce440818-f26f-4a04-aca8-555555555555'."
217+
}
218+
}
219+
```
220+
221+
The Service Bus connector uses in-memory cache to support all operations associated with the sessions. The Service Bus message receiver is cached in the memory of the role instance (virtual machine) that receives the messages. To process all requests, all calls for the connection get routed to this same role instance. This behavior is required because all the Service Bus operations in a session require the same receiver that receives the messages for a specific session.
222+
223+
The chance exists that requests might not get routed to the same role instance, due to reasons such as an infrastructure update, connector deployment, and so on. If this event happens, requests fail because the receiver that performs the operations in the session isn't available in the role instance that serves the request.
224+
225+
As long as this error happens only occasionally, the error is expected. When the error happens, the message is still preserved in the service bus. The next trigger or workflow run tries to process the message again.
226+
206227
<a name="connector-reference"></a>
207228

208229
## Connector reference

0 commit comments

Comments
 (0)