2017-11-20 21 views
0

私はIstioエンコードをサイドカープロキシとして使用しています。私はbookinfoサンプルをデプロイして正常に動作しますが、httpsやその他の外部サービスでSQL Serverを呼び出す独自のアプリケーションをデプロイするときは例外です。IstioエンボイプロキシからSQL Serverに接続できません

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)

答えて

2

、Istioアプリケーションが外部の非HTTPサービスと通信 使用--includeIPRangesオプションhttps://istio.io/docs/tasks/traffic-management/egress.html#calling-external-services-directlyせるために:

The simplest way to use the --includeIPRanges option is to pass it the IP range(s) used for internal cluster services, thereby excluding external IPs from being redirected to the sidecar proxy.

Istioアプリケーションが外部のHTTPサービスと通信できるようにするには、あなたは出口のルールを定義する必要があります:https://istio.io/docs/tasks/traffic-management/egress.html#configuring-the-external-services

関連する問題