{"action":"created","issue":{"url":"https://api.github.com/repos/digipost/signature-api-client-dotnet/issues/48","repository_url":"https://api.github.com/repos/digipost/signature-api-client-dotnet","labels_url":"https://api.github.com/repos/digipost/signature-api-client-dotnet/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/digipost/signature-api-client-dotnet/issues/48/comments","events_url":"https://api.github.com/repos/digipost/signature-api-client-dotnet/issues/48/events","html_url":"https://github.com/digipost/signature-api-client-dotnet/issues/48","id":150038041,"number":48,"title":"Exception: \"Authentication failed because the remote party has closed the transport stream.\"","user":{"login":"sukchr","id":157539,"avatar_url":"https://avatars.githubusercontent.com/u/157539?v=3","gravatar_id":"","url":"https://api.github.com/users/sukchr","html_url":"https://github.com/sukchr","followers_url":"https://api.github.com/users/sukchr/followers","following_url":"https://api.github.com/users/sukchr/following{/other_user}","gists_url":"https://api.github.com/users/sukchr/gists{/gist_id}","starred_url":"https://api.github.com/users/sukchr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sukchr/subscriptions","organizations_url":"https://api.github.com/users/sukchr/orgs","repos_url":"https://api.github.com/users/sukchr/repos","events_url":"https://api.github.com/users/sukchr/events{/privacy}","received_events_url":"https://api.github.com/users/sukchr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-21T10:56:59Z","updated_at":"2016-04-21T11:05:00Z","closed_at":null,"body":"Hei, får excpetion ved dette kallet:\r\n```\r\nvar directJobResponse = await directClient.Create(directJob);\r\n```\r\n\r\n```\r\n[IOException: Authentication failed because the remote party has closed the transport stream.]\r\n   System.Net.TlsStream.EndWrite(IAsyncResult asyncResult) +8277683\r\n   System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) +213\r\n\r\n[WebException: The underlying connection was closed: An unexpected error occurred on a send.]\r\n   System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) +3365149\r\n   System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar) +155\r\n\r\n[HttpRequestException: An error occurred while sending the request.]\r\n   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144\r\n   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84\r\n   System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() +49\r\n   Digipost.Signature.Api.Client.Core.Internal.<SendAsync>d__1.MoveNext() +580\r\n   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144\r\n   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84\r\n   Digipost.Signature.Api.Client.Core.Internal.<SendAsync>d__0.MoveNext() +340\r\n   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144\r\n   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84\r\n   Digipost.Signature.Api.Client.Core.Internal.<SendAsync>d__0.MoveNext() +270\r\n   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144\r\n   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84\r\n   System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() +49\r\n   Digipost.Signature.Api.Client.Core.Internal.<SendAsync>d__1.MoveNext() +528\r\n   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144\r\n   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84\r\n   Digipost.Signature.Api.Client.Core.<Create>d__4`1.MoveNext() +592\r\n   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144\r\n   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84\r\n   Digipost.Signature.Api.Client.Direct.<Create>d__2.MoveNext() +554\r\n   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144\r\n   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84\r\n   System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() +49\r\n   Kommune247.Controllers.<Submit>d__2.MoveNext() in c:\\code\\kommune24-7\\src\\Kommune24-7\\Controllers\\ViewerController.cs:703\r\n   System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state) +5103620\r\n   System.Web.LegacyAspNetSynchronizationContext.CallCallbackPossiblyUnderLock(SendOrPostCallback callback, Object state) +82\r\n```\r\n\r\nSkyldes det sertifikatet jeg forsøker å bruke? "},"comment":{"url":"https://api.github.com/repos/digipost/signature-api-client-dotnet/issues/comments/212859694","html_url":"https://github.com/digipost/signature-api-client-dotnet/issues/48#issuecomment-212859694","issue_url":"https://api.github.com/repos/digipost/signature-api-client-dotnet/issues/48","id":212859694,"user":{"login":"sukchr","id":157539,"avatar_url":"https://avatars.githubusercontent.com/u/157539?v=3","gravatar_id":"","url":"https://api.github.com/users/sukchr","html_url":"https://github.com/sukchr","followers_url":"https://api.github.com/users/sukchr/followers","following_url":"https://api.github.com/users/sukchr/following{/other_user}","gists_url":"https://api.github.com/users/sukchr/gists{/gist_id}","starred_url":"https://api.github.com/users/sukchr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sukchr/subscriptions","organizations_url":"https://api.github.com/users/sukchr/orgs","repos_url":"https://api.github.com/users/sukchr/repos","events_url":"https://api.github.com/users/sukchr/events{/privacy}","received_events_url":"https://api.github.com/users/sukchr/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T11:05:00Z","updated_at":"2016-04-21T11:05:00Z","body":"Jeg fikk tips om å se her - https://github.com/digipost/signature-api-specification#to-veis-tls\r\n\r\nTester det. "}}