{"action":"closed","issue":{"url":"https://api.github.com/repos/twilio/twilio-csharp/issues/419","repository_url":"https://api.github.com/repos/twilio/twilio-csharp","labels_url":"https://api.github.com/repos/twilio/twilio-csharp/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/twilio/twilio-csharp/issues/419/comments","events_url":"https://api.github.com/repos/twilio/twilio-csharp/issues/419/events","html_url":"https://github.com/twilio/twilio-csharp/issues/419","id":311739117,"node_id":"MDU6SXNzdWUzMTE3MzkxMTc=","number":419,"title":"Specifying the Region in TwilioRestClient results in a 502","user":{"login":"shaunbowe","id":5530466,"node_id":"MDQ6VXNlcjU1MzA0NjY=","avatar_url":"https://avatars2.githubusercontent.com/u/5530466?v=4","gravatar_id":"","url":"https://api.github.com/users/shaunbowe","html_url":"https://github.com/shaunbowe","followers_url":"https://api.github.com/users/shaunbowe/followers","following_url":"https://api.github.com/users/shaunbowe/following{/other_user}","gists_url":"https://api.github.com/users/shaunbowe/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunbowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunbowe/subscriptions","organizations_url":"https://api.github.com/users/shaunbowe/orgs","repos_url":"https://api.github.com/users/shaunbowe/repos","events_url":"https://api.github.com/users/shaunbowe/events{/privacy}","received_events_url":"https://api.github.com/users/shaunbowe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-05T19:27:19Z","updated_at":"2018-12-05T18:57:34Z","closed_at":"2018-12-05T18:57:34Z","author_association":"NONE","body":"Version: 5.10.0\r\n\r\n### Code Snippet\r\n```csharp\r\n# var client = new TwilioRestClient(\"username\", \"password\", region:\"au1\");\r\n```\r\n\r\n### Exception/Log\r\n```\r\nTwilio.Exceptions.ApiConnectionException: Connection Error: POST https://api.au1.twilio.com/2010-04-01/Accounts/AC0b022a7ef4b343bcaf228d979a0207af/Calls.json ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'api.au1.twilio.com'\r\n   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)\r\n   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)\r\n   --- End of inner exception stack trace ---\r\n   at Twilio.Http.SystemNetHttpClient.MakeRequest(Request request)\r\n   at Twilio.Clients.TwilioRestClient.Request(Request request)\r\n   --- End of inner exception stack trace ---\r\n   at Twilio.Clients.TwilioRestClient.Request(Request request)\r\n   at Montage.Internal.Voice.API.Web.Areas.Interview.Core.TwilioMontageInterviewService.TryCall(TwilioRestClient client, CreateCallOptions callOptions, String culture) in E:\\Agent2\\_work\\91\\s\\Montage.Internal.Voice.API.Web\\Areas\\Interview\\Core\\TwilioMontageInterviewService.cs:line 44\r\n```\r\n\r\n### Steps to Reproduce\r\n1. Specify the region in the TwilioRestClient constructor\r\n2. Attempt to use the rest client\r\n3. blow up\r\n\r\n"}}
{"actor":{"display_login":"imthepitts"}}