{"action":"created","issue":{"url":"https://api.github.com/repos/istio/istio/issues/1789","repository_url":"https://api.github.com/repos/istio/istio","labels_url":"https://api.github.com/repos/istio/istio/issues/1789/labels{/name}","comments_url":"https://api.github.com/repos/istio/istio/issues/1789/comments","events_url":"https://api.github.com/repos/istio/istio/issues/1789/events","html_url":"https://github.com/istio/istio/issues/1789","id":275312908,"number":1789,"title":"Cant Connect to Azure SQL using SideCar Injection","user":{"login":"kahootali","id":13013437,"avatar_url":"https://avatars3.githubusercontent.com/u/13013437?v=4","gravatar_id":"","url":"https://api.github.com/users/kahootali","html_url":"https://github.com/kahootali","followers_url":"https://api.github.com/users/kahootali/followers","following_url":"https://api.github.com/users/kahootali/following{/other_user}","gists_url":"https://api.github.com/users/kahootali/gists{/gist_id}","starred_url":"https://api.github.com/users/kahootali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kahootali/subscriptions","organizations_url":"https://api.github.com/users/kahootali/orgs","repos_url":"https://api.github.com/users/kahootali/repos","events_url":"https://api.github.com/users/kahootali/events{/privacy}","received_events_url":"https://api.github.com/users/kahootali/received_events","type":"User","site_admin":false},"labels":[{"id":737750176,"url":"https://api.github.com/repos/istio/istio/labels/pilot","name":"pilot","color":"c11783","default":false}],"state":"closed","locked":false,"assignee":{"login":"vadimeisenbergibm","id":16784982,"avatar_url":"https://avatars1.githubusercontent.com/u/16784982?v=4","gravatar_id":"","url":"https://api.github.com/users/vadimeisenbergibm","html_url":"https://github.com/vadimeisenbergibm","followers_url":"https://api.github.com/users/vadimeisenbergibm/followers","following_url":"https://api.github.com/users/vadimeisenbergibm/following{/other_user}","gists_url":"https://api.github.com/users/vadimeisenbergibm/gists{/gist_id}","starred_url":"https://api.github.com/users/vadimeisenbergibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadimeisenbergibm/subscriptions","organizations_url":"https://api.github.com/users/vadimeisenbergibm/orgs","repos_url":"https://api.github.com/users/vadimeisenbergibm/repos","events_url":"https://api.github.com/users/vadimeisenbergibm/events{/privacy}","received_events_url":"https://api.github.com/users/vadimeisenbergibm/received_events","type":"User","site_admin":false},"assignees":[{"login":"vadimeisenbergibm","id":16784982,"avatar_url":"https://avatars1.githubusercontent.com/u/16784982?v=4","gravatar_id":"","url":"https://api.github.com/users/vadimeisenbergibm","html_url":"https://github.com/vadimeisenbergibm","followers_url":"https://api.github.com/users/vadimeisenbergibm/followers","following_url":"https://api.github.com/users/vadimeisenbergibm/following{/other_user}","gists_url":"https://api.github.com/users/vadimeisenbergibm/gists{/gist_id}","starred_url":"https://api.github.com/users/vadimeisenbergibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadimeisenbergibm/subscriptions","organizations_url":"https://api.github.com/users/vadimeisenbergibm/orgs","repos_url":"https://api.github.com/users/vadimeisenbergibm/repos","events_url":"https://api.github.com/users/vadimeisenbergibm/events{/privacy}","received_events_url":"https://api.github.com/users/vadimeisenbergibm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-11-20T10:53:29Z","updated_at":"2017-12-27T12:12:41Z","closed_at":"2017-11-28T20:54:45Z","author_association":"NONE","body":"<!--\r\nPlease see https://istio.io/troubleshooting for potential workarounds.\r\nPlease add the correct labels and epics (and priority and milestones if you have that information)\r\n-->\r\nI am using Minikube 0.23, Kubernetes 1.8.0 and Istio 0.2.7 on Windows 10.\r\nI have also used Istio 0.2.12 and it also had the same issue. \r\n\r\nI have deployed the bookinfo sample and its working fine but when I am deploying my own application which calls Azure SQL for data or other external services, it gives exception.\r\n\r\n`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)`\r\n\r\nI then added the Egress as well \r\n```\r\napiVersion: config.istio.io/v1alpha2\r\nkind: EgressRule\r\nmetadata:\r\n  name: sql\r\nspec:\r\n  destination:\r\n    service: dbName.database.windows.net\r\n  ports:\r\n    - port: 443\r\n      protocol: https\r\n\r\n```\r\nAnd now I am getting\r\n\r\n `A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - Success)`\r\n"},"comment":{"url":"https://api.github.com/repos/istio/istio/issues/comments/354105243","html_url":"https://github.com/istio/istio/issues/1789#issuecomment-354105243","issue_url":"https://api.github.com/repos/istio/istio/issues/1789","id":354105243,"user":{"login":"vadimeisenbergibm","id":16784982,"avatar_url":"https://avatars1.githubusercontent.com/u/16784982?v=4","gravatar_id":"","url":"https://api.github.com/users/vadimeisenbergibm","html_url":"https://github.com/vadimeisenbergibm","followers_url":"https://api.github.com/users/vadimeisenbergibm/followers","following_url":"https://api.github.com/users/vadimeisenbergibm/following{/other_user}","gists_url":"https://api.github.com/users/vadimeisenbergibm/gists{/gist_id}","starred_url":"https://api.github.com/users/vadimeisenbergibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadimeisenbergibm/subscriptions","organizations_url":"https://api.github.com/users/vadimeisenbergibm/orgs","repos_url":"https://api.github.com/users/vadimeisenbergibm/repos","events_url":"https://api.github.com/users/vadimeisenbergibm/events{/privacy}","received_events_url":"https://api.github.com/users/vadimeisenbergibm/received_events","type":"User","site_admin":false},"created_at":"2017-12-27T12:12:41Z","updated_at":"2017-12-27T12:12:41Z","author_association":"MEMBER","body":"^ so just remove http and https, leave tcp with port 1433, and specify the service as IP or IP range, e.g. 91.198.174.128/25 "}}
{"actor":{"display_login":"vadimeisenbergibm"}}