{"action":"created","issue":{"url":"https://api.github.com/repos/mozts2005/ZendeskApi_v2/issues/339","repository_url":"https://api.github.com/repos/mozts2005/ZendeskApi_v2","labels_url":"https://api.github.com/repos/mozts2005/ZendeskApi_v2/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/mozts2005/ZendeskApi_v2/issues/339/comments","events_url":"https://api.github.com/repos/mozts2005/ZendeskApi_v2/issues/339/events","html_url":"https://github.com/mozts2005/ZendeskApi_v2/issues/339","id":333949750,"node_id":"MDU6SXNzdWUzMzM5NDk3NTA=","number":339,"title":"The underlying connection was closed: An unexpected error occurred on a send","user":{"login":"brandlink-james","id":32999344,"node_id":"MDQ6VXNlcjMyOTk5MzQ0","avatar_url":"https://avatars0.githubusercontent.com/u/32999344?v=4","gravatar_id":"","url":"https://api.github.com/users/brandlink-james","html_url":"https://github.com/brandlink-james","followers_url":"https://api.github.com/users/brandlink-james/followers","following_url":"https://api.github.com/users/brandlink-james/following{/other_user}","gists_url":"https://api.github.com/users/brandlink-james/gists{/gist_id}","starred_url":"https://api.github.com/users/brandlink-james/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandlink-james/subscriptions","organizations_url":"https://api.github.com/users/brandlink-james/orgs","repos_url":"https://api.github.com/users/brandlink-james/repos","events_url":"https://api.github.com/users/brandlink-james/events{/privacy}","received_events_url":"https://api.github.com/users/brandlink-james/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-20T07:08:39Z","updated_at":"2018-06-20T10:00:05Z","closed_at":null,"author_association":"NONE","body":"Today the api does not work and the error 'The underlying connection was closed: An unexpected error occurred on a send' pops up when executing a simple query\r\napi.Users.Search();\r\n\r\n\r\nI also use the postman to do the same query and it still works well. \r\n\r\nIs there anything wrong with this library?\r\n"},"comment":{"url":"https://api.github.com/repos/mozts2005/ZendeskApi_v2/issues/comments/398694599","html_url":"https://github.com/mozts2005/ZendeskApi_v2/issues/339#issuecomment-398694599","issue_url":"https://api.github.com/repos/mozts2005/ZendeskApi_v2/issues/339","id":398694599,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODY5NDU5OQ==","user":{"login":"mozts2005","id":626061,"node_id":"MDQ6VXNlcjYyNjA2MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/626061?v=4","gravatar_id":"","url":"https://api.github.com/users/mozts2005","html_url":"https://github.com/mozts2005","followers_url":"https://api.github.com/users/mozts2005/followers","following_url":"https://api.github.com/users/mozts2005/following{/other_user}","gists_url":"https://api.github.com/users/mozts2005/gists{/gist_id}","starred_url":"https://api.github.com/users/mozts2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozts2005/subscriptions","organizations_url":"https://api.github.com/users/mozts2005/orgs","repos_url":"https://api.github.com/users/mozts2005/repos","events_url":"https://api.github.com/users/mozts2005/events{/privacy}","received_events_url":"https://api.github.com/users/mozts2005/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T10:00:05Z","updated_at":"2018-06-20T10:00:05Z","author_association":"OWNER","body":"Zendesk is only[ supporting TLS 1.2](https://support.zendesk.com/hc/en-us/articles/360000710347-Removal-of-support-for-TLS-protocol-versions-1-0-and-1-1) as of June 13, 2018\r\n\r\nOptions to fix this issue (in the order I would do them) \r\n\r\n1. update the project to just .NET 4.7.X\r\n1.  add following code to your application this code will affect all HTTP calls.\r\nThis setting is global and may need to be different for other services. \r\n```Csharp\r\nSystem.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12 | System.Net.SecurityProtocolType.Tls11 | System.Net.SecurityProtocolType.Tls;\r\n```\r\nnote:\r\nhttps://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#support-for-tls-12"}}
{"actor":{"display_login":"mozts2005"}}