Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What to do with wraps.openwrap.org not accessible. #5

Open
serialseb opened this issue Oct 28, 2010 · 1 comment
Open

What to do with wraps.openwrap.org not accessible. #5

serialseb opened this issue Oct 28, 2010 · 1 comment

Comments

@serialseb
Copy link
Member

Scenario:

  • first time install of OpenWrap using o.exe on Windows 7 x64 workstation.
  • copied o.exe to local disk
  • ran o.exe
  • after "Downloading http://wraps.openwrap.org/bootstrap" the app threw unhandled exception (below).

Suggested fix:

  • would have expected not found exception to be handled gracefully (in this case the server not yet in existence) or if network not available

System.Reflection.TargetInvocationException was unhandled
Message=An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
Source=System
StackTrace:
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at System.Net.DownloadStringCompletedEventArgs.get_Result()
at OpenWrap.Console.BootstrapRunner.NotifyProgressWebClient.DownloadStringCompleted(Object src, DownloadStringCompletedEventArgs e)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
InnerException: System.Net.WebException
Message=The remote name could not be resolved: 'wraps.openwrap.org'
Source=System
StackTrace:
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
InnerException:

@serialseb
Copy link
Member Author

Need also better error messages when download failes. Need to define what those are, handle 407 (for nasty proxies)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant