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
{{ message }}
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
*[#1589](https://github.com/microsoft/botframework-solutions/issues/1589) - `OnTurnError function inside DefaultAdapter doesn't end the current dialog`
216
216
*[#2766](https://github.com/microsoft/botframework-solutions/issues/2766) - `OnTurnError is not getting called in VA`
217
+
218
+
## If a resource has a firewall configured, the resource might not be reached by the bot
219
+
There is a known issue in the Azure resources with a firewall configured when the bot is trying to reach to the resource:
220
+
`{"code":"Forbidden","message":"Request originated from client IP <IP>. This is blocked by your <RESOURCE> firewall settings"}`
221
+
222
+
You can check your network configuration in the Azure Portal as follows:
223
+
1. Select your desired resource
224
+
1. Select `Firewall and virtual networks` configuration
225
+
1. Check the configuration of the `Allow access from` to enable all or selected networks
226
+
1. If you have selected networks, check the configured networks
227
+
228
+
If you are using a C# bot and Bot Framework Emulator, you will see a trace when these kind of exceptions are caught by the `onTurnError` handler in order to identify the error.
229
+
230
+
Otherwise, if you are using a TypeScript bot, you should remove the `showTypingMiddleware` and add the `onTurnError` handler in the `defaultAdapter`:
*[#2766](https://github.com/microsoft/botframework-solutions/issues/2766) - `OnTurnError is not getting called in VA`
250
+
*[botbuilder-js#726](https://github.com/microsoft/botbuilder-js/issues/726) - `ShowTypingMiddleware suppresses errors and does not allow adapter.onTurnError to handle them`
0 commit comments