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
Some bots are hosted in environments where a proxy is required or preferred. While developers can specify a proxy for their own specific external calls, the framework itself also needs to be able to utilize a proxy server so that all requests, including connector services, qna maker, luis, authentication (openid metadata, etc) will be routed to the proxy server.
The solution should be similar across sdk languages and easy to configure, with all external calls should automatically use the proxy.
I think it best if we can just use proxy settings at the application level, so that we don't have to manage it otherwise. I don't know whether it's worth it to wait for 3.0 for .NET core, but it definitely would be worthwhile to ensure any httpClient/similar objects inside the SDK would use the 'globally' assigned proxies from the application level.
It is possible to use a proxy with 4.5.x, but the support for it could be simplified. Maybe app settings based, rather than the current code changes required. Also, the dotnet sdk could be using HttpClientFactory with named httpclients for the places we are currently creating httpclients.
Issue
Some bots are hosted in environments where a proxy is required or preferred. While developers can specify a proxy for their own specific external calls, the framework itself also needs to be able to utilize a proxy server so that all requests, including connector services, qna maker, luis, authentication (openid metadata, etc) will be routed to the proxy server.
The solution should be similar across sdk languages and easy to configure, with all external calls should automatically use the proxy.
Tracking Status
Dotnet SDK
Add proxy support
microsoft/botbuilder-dotnet#2281
Javascript SDK
[Botframework-Connector] Proxy Settings are Ignored
microsoft/botbuilder-js#717
Java SDK
Add proxy support
microsoft/botbuilder-java#81
Python SDK
Add Proxy support
microsoft/botbuilder-python#263
Docs
Add docs explaining how to use a proxy with each of the sdk languages.
[dcr]
The text was updated successfully, but these errors were encountered: