{"action":"created","issue":{"url":"https://api.github.com/repos/difi/sikker-digital-post-klient-dotnet/issues/200","repository_url":"https://api.github.com/repos/difi/sikker-digital-post-klient-dotnet","labels_url":"https://api.github.com/repos/difi/sikker-digital-post-klient-dotnet/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/difi/sikker-digital-post-klient-dotnet/issues/200/comments","events_url":"https://api.github.com/repos/difi/sikker-digital-post-klient-dotnet/issues/200/events","html_url":"https://github.com/difi/sikker-digital-post-klient-dotnet/issues/200","id":226573207,"number":200,"title":"Problemer med sending av stort antall melding i parallell","user":{"login":"aberner","id":151174,"avatar_url":"https://avatars3.githubusercontent.com/u/151174?v=3","gravatar_id":"","url":"https://api.github.com/users/aberner","html_url":"https://github.com/aberner","followers_url":"https://api.github.com/users/aberner/followers","following_url":"https://api.github.com/users/aberner/following{/other_user}","gists_url":"https://api.github.com/users/aberner/gists{/gist_id}","starred_url":"https://api.github.com/users/aberner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aberner/subscriptions","organizations_url":"https://api.github.com/users/aberner/orgs","repos_url":"https://api.github.com/users/aberner/repos","events_url":"https://api.github.com/users/aberner/events{/privacy}","received_events_url":"https://api.github.com/users/aberner/received_events","type":"User","site_admin":false},"labels":[{"id":129634224,"url":"https://api.github.com/repos/difi/sikker-digital-post-klient-dotnet/labels/bug","name":"bug","color":"fc2929","default":true},{"id":279047605,"url":"https://api.github.com/repos/difi/sikker-digital-post-klient-dotnet/labels/Next","name":"Next","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"aknutsen","id":139134,"avatar_url":"https://avatars2.githubusercontent.com/u/139134?v=3","gravatar_id":"","url":"https://api.github.com/users/aknutsen","html_url":"https://github.com/aknutsen","followers_url":"https://api.github.com/users/aknutsen/followers","following_url":"https://api.github.com/users/aknutsen/following{/other_user}","gists_url":"https://api.github.com/users/aknutsen/gists{/gist_id}","starred_url":"https://api.github.com/users/aknutsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aknutsen/subscriptions","organizations_url":"https://api.github.com/users/aknutsen/orgs","repos_url":"https://api.github.com/users/aknutsen/repos","events_url":"https://api.github.com/users/aknutsen/events{/privacy}","received_events_url":"https://api.github.com/users/aknutsen/received_events","type":"User","site_admin":false},"assignees":[{"login":"aknutsen","id":139134,"avatar_url":"https://avatars2.githubusercontent.com/u/139134?v=3","gravatar_id":"","url":"https://api.github.com/users/aknutsen","html_url":"https://github.com/aknutsen","followers_url":"https://api.github.com/users/aknutsen/followers","following_url":"https://api.github.com/users/aknutsen/following{/other_user}","gists_url":"https://api.github.com/users/aknutsen/gists{/gist_id}","starred_url":"https://api.github.com/users/aknutsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aknutsen/subscriptions","organizations_url":"https://api.github.com/users/aknutsen/orgs","repos_url":"https://api.github.com/users/aknutsen/repos","events_url":"https://api.github.com/users/aknutsen/events{/privacy}","received_events_url":"https://api.github.com/users/aknutsen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2017-05-05T13:28:33Z","updated_at":"2017-05-09T10:39:36Z","closed_at":null,"body":"Avsender sender et stort antall meldinger i parallell med opp til 25 tråder ( har også testet med lavere antall  tråder f.eks.12) og opplever at de fleste meldingene feiler med følgende exception:\r\n\r\n`ErrorMessages: System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host`\r\n\r\n\r\n\r\n\r\n- Hva kan være årsaken til denne feilen`?\r\n- Hvordan gjøres connection management? \r\n- Gjøres det forsøk på å gjenbruke connections?\r\n- kan det være at .NET klienten ikke lukker trådene etter seg?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/difi/sikker-digital-post-klient-dotnet/issues/comments/300126663","html_url":"https://github.com/difi/sikker-digital-post-klient-dotnet/issues/200#issuecomment-300126663","issue_url":"https://api.github.com/repos/difi/sikker-digital-post-klient-dotnet/issues/200","id":300126663,"user":{"login":"asjafjell","id":720545,"avatar_url":"https://avatars2.githubusercontent.com/u/720545?v=3","gravatar_id":"","url":"https://api.github.com/users/asjafjell","html_url":"https://github.com/asjafjell","followers_url":"https://api.github.com/users/asjafjell/followers","following_url":"https://api.github.com/users/asjafjell/following{/other_user}","gists_url":"https://api.github.com/users/asjafjell/gists{/gist_id}","starred_url":"https://api.github.com/users/asjafjell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asjafjell/subscriptions","organizations_url":"https://api.github.com/users/asjafjell/orgs","repos_url":"https://api.github.com/users/asjafjell/repos","events_url":"https://api.github.com/users/asjafjell/events{/privacy}","received_events_url":"https://api.github.com/users/asjafjell/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T10:39:36Z","updated_at":"2017-05-09T10:39:36Z","body":"Jeg ser ikke forskjellen på å ha en statisk `HttpClient` som brukes for alle kall, og å ha en instans på en klasse som brukes gjennom hele livssyklusen (`SikkerDigitalPostKlient`), men det er mulig at `static`-modifieren løser noe _benhind the scenes_. For slik det er nå så lages ikke en ny `HttpClient` for hvert kall, noe det eksemplet ditt viser til @LasseStaffJensen."}}
{"actor":{"display_login":"asjafjell"}}