{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/1070","labels_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/1070/labels{/name}","comments_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/1070/comments","events_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/1070/events","html_url":"https://github.com/KSP-CKAN/CKAN/issues/1070","id":84995261,"number":1070,"title":"SocketException is thrown when updating mods without internet connection","user":{"login":"Postremus","id":1223135,"avatar_url":"https://avatars.githubusercontent.com/u/1223135?v=3","gravatar_id":"","url":"https://api.github.com/users/Postremus","html_url":"https://github.com/Postremus","followers_url":"https://api.github.com/users/Postremus/followers","following_url":"https://api.github.com/users/Postremus/following{/other_user}","gists_url":"https://api.github.com/users/Postremus/gists{/gist_id}","starred_url":"https://api.github.com/users/Postremus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Postremus/subscriptions","organizations_url":"https://api.github.com/users/Postremus/orgs","repos_url":"https://api.github.com/users/Postremus/repos","events_url":"https://api.github.com/users/Postremus/events{/privacy}","received_events_url":"https://api.github.com/users/Postremus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-04T09:07:13Z","updated_at":"2015-06-08T12:08:40Z","closed_at":null,"body":"Hey,\r\n\r\nJust got a Socketexception, while trying to update mods without an internet connection.\r\nI'm running ckan 1.6.20 on windows 8.1.\r\n\r\nMods I wanted to update:\r\n\r\n![](http://puu.sh/ibWFW/460aff8ca3.png)\r\n\r\nError:\r\n```\r\nInformationen über das Aufrufen von JIT-Debuggen\r\nanstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.\r\n\r\n************** Ausnahmetext **************\r\nUh oh, the following things went wrong when downloading...\r\n\r\nSystem.Net.WebException: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden. ---> System.Net.Sockets.SocketException: Der Host war bei einem Socketvorgang nicht erreichbar 192.30.252.131:443\r\n   bei System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)\r\n   bei System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)\r\n   --- Ende der internen Ausnahmestapelüberwachung ---\r\n   bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n   bei System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)\r\n   bei System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)\r\nSystem.Net.WebException: Der Remotename konnte nicht aufgelöst werden: 'ksp.sarbian.com'\r\n   bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n   bei System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)\r\n   bei System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)\r\nSystem.Net.WebException: Der Remotename konnte nicht aufgelöst werden: 'kerbalstuff.com'\r\n   bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n   bei System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)\r\n   bei System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)\r\n\r\n\r\n************** Geladene Assemblys **************\r\nmscorlib\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.34014 built by: FX45W81RTMGDR.\r\n    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.\r\n----------------------------------------\r\nckan\r\n    Assembly-Version: 0.0.0.0.\r\n    Win32-Version: 0.0.0.0.\r\n    CodeBase: file:///C:/Users/panze_000/Desktop/ckan.exe.\r\n----------------------------------------\r\nSystem.Windows.Forms\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.34250 built by: FX452RTMGDR.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.\r\n----------------------------------------\r\nSystem.Drawing\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.\r\n----------------------------------------\r\nSystem\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.34239 built by: FX452RTMGDR.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.\r\n----------------------------------------\r\nSystem.Core\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.\r\n----------------------------------------\r\nSystem.Configuration\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.\r\n----------------------------------------\r\nSystem.Xml\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.34230 built by: FX452RTMGDR.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.\r\n----------------------------------------\r\nSystem.Windows.Forms.resources\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.36213 built by: FX452RTMLDR.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.\r\n----------------------------------------\r\nmscorlib.resources\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.\r\n----------------------------------------\r\nMicrosoft.GeneratedCode\r\n    Assembly-Version: 1.0.0.0.\r\n    Win32-Version: 4.0.30319.34230 built by: FX452RTMGDR.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.\r\n----------------------------------------\r\nMicrosoft.CSharp\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll.\r\n----------------------------------------\r\nSystem.Numerics\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll.\r\n----------------------------------------\r\nSystem.Dynamic\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll.\r\n----------------------------------------\r\nMicrosoft.CSharp.resources\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp.resources/v4.0_4.0.0.0_de_b03f5f7f11d50a3a/Microsoft.CSharp.resources.dll.\r\n----------------------------------------\r\nAnonymously Hosted DynamicMethods Assembly\r\n    Assembly-Version: 0.0.0.0.\r\n    Win32-Version: 4.0.30319.34014 built by: FX45W81RTMGDR.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll.\r\n----------------------------------------\r\nSystem.Transactions\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll.\r\n----------------------------------------\r\nSystem.Runtime.Serialization\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.34230 built by: FX452RTMGDR.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll.\r\n----------------------------------------\r\nSystem.Xml.Linq\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll.\r\n----------------------------------------\r\nSystem.Data\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll.\r\n----------------------------------------\r\nSystem.EnterpriseServices\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll.\r\n----------------------------------------\r\nAccessibility\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.\r\n----------------------------------------\r\nSystem.resources\r\n    Assembly-Version: 4.0.0.0.\r\n    Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.\r\n    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.resources.dll.\r\n----------------------------------------\r\n\r\n************** JIT-Debuggen **************\r\nUm das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der\r\nKonfigurationsdatei der Anwendung oder des Computers\r\n(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.\r\nDie Anwendung muss mit aktiviertem Debuggen kompiliert werden.\r\n\r\nZum Beispiel:\r\n\r\n<configuration>\r\n    <system.windows.forms jitDebugging=\"true\" />\r\n</configuration>\r\n\r\nWenn das JIT-Debuggen aktiviert ist, werden alle Ausnahmefehler an den JIT-Debugger gesendet, der auf dem\r\nComputer registriert ist, und nicht in diesem Dialogfeld behandelt.\r\n```"},"comment":{"url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/comments/109969915","html_url":"https://github.com/KSP-CKAN/CKAN/issues/1070#issuecomment-109969915","issue_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/1070","id":109969915,"user":{"login":"pjf","id":12072,"avatar_url":"https://avatars.githubusercontent.com/u/12072?v=3","gravatar_id":"","url":"https://api.github.com/users/pjf","html_url":"https://github.com/pjf","followers_url":"https://api.github.com/users/pjf/followers","following_url":"https://api.github.com/users/pjf/following{/other_user}","gists_url":"https://api.github.com/users/pjf/gists{/gist_id}","starred_url":"https://api.github.com/users/pjf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjf/subscriptions","organizations_url":"https://api.github.com/users/pjf/orgs","repos_url":"https://api.github.com/users/pjf/repos","events_url":"https://api.github.com/users/pjf/events{/privacy}","received_events_url":"https://api.github.com/users/pjf/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T12:08:40Z","updated_at":"2015-06-08T12:08:40Z","body":"An error displaying saying \"Oops, we couldn't connect to the Internet\" or similar is probably desirable here. Any time a user actually sees a Kraken or exception, it's almost certainly a legit bug. We should be wrapping these, even if it's just to present the same information in a less scary form."}}