{"action":"created","issue":{"url":"https://api.github.com/repos/TelegramBots/telegram.bot/issues/424","repository_url":"https://api.github.com/repos/TelegramBots/telegram.bot","labels_url":"https://api.github.com/repos/TelegramBots/telegram.bot/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/TelegramBots/telegram.bot/issues/424/comments","events_url":"https://api.github.com/repos/TelegramBots/telegram.bot/issues/424/events","html_url":"https://github.com/TelegramBots/telegram.bot/issues/424","id":249615158,"number":424,"title":"System.Net.Http.HttpRequestException","user":{"login":"HellScre4m","id":17533431,"avatar_url":"https://avatars3.githubusercontent.com/u/17533431?v=4","gravatar_id":"","url":"https://api.github.com/users/HellScre4m","html_url":"https://github.com/HellScre4m","followers_url":"https://api.github.com/users/HellScre4m/followers","following_url":"https://api.github.com/users/HellScre4m/following{/other_user}","gists_url":"https://api.github.com/users/HellScre4m/gists{/gist_id}","starred_url":"https://api.github.com/users/HellScre4m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HellScre4m/subscriptions","organizations_url":"https://api.github.com/users/HellScre4m/orgs","repos_url":"https://api.github.com/users/HellScre4m/repos","events_url":"https://api.github.com/users/HellScre4m/events{/privacy}","received_events_url":"https://api.github.com/users/HellScre4m/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-08-11T12:01:26Z","updated_at":"2017-08-12T07:59:55Z","closed_at":null,"body":"### Steps to reproduce\r\nRan [Werewolf](https://github.com/GreyWolfDev/Werewolf) Node inside a windows server 2008 x86 machine.\r\n\r\n### Expected  behavior\r\nGetMe should work and the rest lines should be executed.\r\n\r\n### Actual behavior\r\n```\r\nUnhandled Exception: System.AggregateException: One or more errors occurred. ---\r\n> System.Net.Http.HttpRequestException: An error occurred while sending the requ\r\nest. ---> System.Net.Http.WinHttpException: The parameter is incorrect\r\n   at System.Net.Http.WinHttpHandler.SetSessionHandleTlsOptions(SafeWinHttpHandl\r\ne sessionHandle)\r\n   at System.Net.Http.WinHttpHandler.SetSessionHandleOptions(SafeWinHttpHandle s\r\nessionHandle)\r\n   at System.Net.Http.WinHttpHandler.EnsureSessionHandleExists(WinHttpRequestSta\r\nte state)\r\n   at System.Net.Http.WinHttpHandler.<StartRequest>d__103.MoveNext()\r\n   --- End of inner exception stack trace ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot\r\nification(Task task)\r\n   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot\r\nification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Telegram.Bot.TelegramBotClient.<SendWebRequestAsync>d__109`1.MoveNext()\r\n   --- End of inner exception stack trace ---\r\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceled\r\nExceptions)\r\n   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotifica\r\ntion)\r\n   at System.Threading.Tasks.Task`1.get_Result()\r\n   at Werewolf_Node.Program.Main(String[] args) in G:\\Test\\Werewolf\\Werewolf for\r\n Telegram\\Werewolf Node\\Program.cs:line 102\r\n\r\n```\r\nWerewolf Node\\Program.cs: 101-2: \r\n```\r\nBot = new TelegramBotClient(APIToken);\r\nMe = Bot.GetMeAsync().Result;\r\n```\r\n### Environment data\r\nMentioned\r\n\r\n*NuGet Package Version:* (e.g. 13.0.1)\r\n13.2.0\r\n*.NET Version:* (e.g. 4.7, Core RTM, Mono, etc.)\r\n4.6\r\n*IDE:* (e.g. VS2017, VS Code, etc.)\r\nVS2017\r\n*App:* (e.g. Desktop, iOS, Android, etc.)\r\n\r\nDon't have much ability to debug as I'm running on a windows server 2008 without VS (Supports only VS2010 and before), I just moved compiled code from my PC (both Any CPU and x86 configs) and I get this error."},"comment":{"url":"https://api.github.com/repos/TelegramBots/telegram.bot/issues/comments/321965001","html_url":"https://github.com/TelegramBots/telegram.bot/issues/424#issuecomment-321965001","issue_url":"https://api.github.com/repos/TelegramBots/telegram.bot/issues/424","id":321965001,"user":{"login":"HellScre4m","id":17533431,"avatar_url":"https://avatars3.githubusercontent.com/u/17533431?v=4","gravatar_id":"","url":"https://api.github.com/users/HellScre4m","html_url":"https://github.com/HellScre4m","followers_url":"https://api.github.com/users/HellScre4m/followers","following_url":"https://api.github.com/users/HellScre4m/following{/other_user}","gists_url":"https://api.github.com/users/HellScre4m/gists{/gist_id}","starred_url":"https://api.github.com/users/HellScre4m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HellScre4m/subscriptions","organizations_url":"https://api.github.com/users/HellScre4m/orgs","repos_url":"https://api.github.com/users/HellScre4m/repos","events_url":"https://api.github.com/users/HellScre4m/events{/privacy}","received_events_url":"https://api.github.com/users/HellScre4m/received_events","type":"User","site_admin":false},"created_at":"2017-08-12T07:59:55Z","updated_at":"2017-08-12T07:59:55Z","body":"I double checked. The exception occurs at line 103 means GetMeAsync throws it."}}
{"actor":{"display_login":"HellScre4m"}}