Skip to content

Instantly share code, notes, and snippets.

@p-lad
Created October 16, 2018 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p-lad/4b9c40fa8b749c39be853cd78d4400ce to your computer and use it in GitHub Desktop.
Save p-lad/4b9c40fa8b749c39be853cd78d4400ce to your computer and use it in GitHub Desktop.
Error downloading from Google server.
Message:
Error Code: 303
Failure Reason:
The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 303.)
Exception type: Xamarin.Web.Installer.DownloadException
at Xamarin.Web.Installer.DownloadService.DownloadFile (System.Uri uri, System.Collections.Generic.IEnumerable`1[T] cookies) [0x000a5] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/DownloadService.cs:386
at Xamarin.Web.Installer.DownloadService+<>c__DisplayClass44_2.<DownloadItem>b__1 () [0x00000] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/DownloadService.cs:224
at Polly.Policy+<>c__DisplayClass109_0.<Execute>b__0 (Polly.Context ctx, System.Threading.CancellationToken ct) [0x00000] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.RetrySyntax+<>c__DisplayClass5_1.<Retry>b__1 (Polly.Context ctx, System.Threading.CancellationToken ct) [0x00000] in <d6d906ad30814953b86593aee51c6bb4>:0
at (wrapper delegate-invoke) System.Func`3[Polly.Context,System.Threading.CancellationToken,Polly.Utilities.EmptyStruct].invoke_TResult_T1_T2(Polly.Context,System.Threading.CancellationToken)
at Polly.Retry.RetryEngine.Implementation[TResult] (System.Func`3[T1,T2,TResult] action, Polly.Context context, System.Threading.CancellationToken cancellationToken, System.Collections.Generic.IEnumerable`1[T] shouldRetryExceptionPredicates, System.Collections.Generic.IEnumerable`1[T] shouldRetryResultPredicates, System.Func`1[TResult] policyStateFactory) [0x000af] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.RetrySyntax+<>c__DisplayClass5_0.<Retry>b__0 (System.Action`2[T1,T2] action, Polly.Context context, System.Threading.CancellationToken cancellationToken) [0x00039] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.Policy.Execute (System.Action`2[T1,T2] action, Polly.Context context, System.Threading.CancellationToken cancellationToken) [0x00028] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.Policy.Execute (System.Action action) [0x00024] in <d6d906ad30814953b86593aee51c6bb4>:0
at Xamarin.Web.Installer.DownloadService.DownloadItem (Xamarin.Web.Installer.DownloadServiceWorkItem item, System.Boolean firstDownload) [0x000d9] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/DownloadService.cs:216
Android SDK installation failed with exception 'Xamarin.Web.Installer.InstallException' (Attempt #3)
Message: Download failed Android SDK.
Exception type: Xamarin.Web.Installer.InstallException
at Xamarin.Web.Installer.Installer.BaseSoftwareItem.ValidateDownloadItem () [0x00083] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/Installer/BaseSoftwareItem.cs:503
at Xamarin.Web.Installer.Installer.AndroidSoftwareItem.Install (System.UInt32 tryNumber) [0x00045] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/Installer/AndroidSoftwareItem.cs:666
at MacInstaller.WizardPageInstallationController.InstallationWorker () [0x001f1] in /Users/vsts/agent/2.139.1/work/1/installer/MacInstaller.Universal/WizardPageInstallationController.cs:551
Message:
Error Code: 303
Failure Reason:
The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 303.)
Exception type: Xamarin.Web.Installer.DownloadException
at Xamarin.Web.Installer.DownloadService.DownloadFile (System.Uri uri, System.Collections.Generic.IEnumerable`1[T] cookies) [0x000a5] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/DownloadService.cs:386
at Xamarin.Web.Installer.DownloadService+<>c__DisplayClass44_2.<DownloadItem>b__1 () [0x00000] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/DownloadService.cs:224
at Polly.Policy+<>c__DisplayClass109_0.<Execute>b__0 (Polly.Context ctx, System.Threading.CancellationToken ct) [0x00000] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.RetrySyntax+<>c__DisplayClass5_1.<Retry>b__1 (Polly.Context ctx, System.Threading.CancellationToken ct) [0x00000] in <d6d906ad30814953b86593aee51c6bb4>:0
at (wrapper delegate-invoke) System.Func`3[Polly.Context,System.Threading.CancellationToken,Polly.Utilities.EmptyStruct].invoke_TResult_T1_T2(Polly.Context,System.Threading.CancellationToken)
at Polly.Retry.RetryEngine.Implementation[TResult] (System.Func`3[T1,T2,TResult] action, Polly.Context context, System.Threading.CancellationToken cancellationToken, System.Collections.Generic.IEnumerable`1[T] shouldRetryExceptionPredicates, System.Collections.Generic.IEnumerable`1[T] shouldRetryResultPredicates, System.Func`1[TResult] policyStateFactory) [0x000af] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.RetrySyntax+<>c__DisplayClass5_0.<Retry>b__0 (System.Action`2[T1,T2] action, Polly.Context context, System.Threading.CancellationToken cancellationToken) [0x00039] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.Policy.Execute (System.Action`2[T1,T2] action, Polly.Context context, System.Threading.CancellationToken cancellationToken) [0x00028] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.Policy.Execute (System.Action action) [0x00024] in <d6d906ad30814953b86593aee51c6bb4>:0
at Xamarin.Web.Installer.DownloadService.DownloadItem (Xamarin.Web.Installer.DownloadServiceWorkItem item, System.Boolean firstDownload) [0x000d9] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/DownloadService.cs:216
Error downloading from Xamarin server.
Message: Object reference not set to an instance of an object
Exception type: System.NullReferenceException
at Xamarin.Web.Installer.DownloadService+<>c__DisplayClass44_2.<DownloadItem>b__1 () [0x00031] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/DownloadService.cs:225
at Polly.Policy+<>c__DisplayClass109_0.<Execute>b__0 (Polly.Context ctx, System.Threading.CancellationToken ct) [0x00000] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.RetrySyntax+<>c__DisplayClass5_1.<Retry>b__1 (Polly.Context ctx, System.Threading.CancellationToken ct) [0x00000] in <d6d906ad30814953b86593aee51c6bb4>:0
at (wrapper delegate-invoke) System.Func`3[Polly.Context,System.Threading.CancellationToken,Polly.Utilities.EmptyStruct].invoke_TResult_T1_T2(Polly.Context,System.Threading.CancellationToken)
at Polly.Retry.RetryEngine.Implementation[TResult] (System.Func`3[T1,T2,TResult] action, Polly.Context context, System.Threading.CancellationToken cancellationToken, System.Collections.Generic.IEnumerable`1[T] shouldRetryExceptionPredicates, System.Collections.Generic.IEnumerable`1[T] shouldRetryResultPredicates, System.Func`1[TResult] policyStateFactory) [0x000af] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.RetrySyntax+<>c__DisplayClass5_0.<Retry>b__0 (System.Action`2[T1,T2] action, Polly.Context context, System.Threading.CancellationToken cancellationToken) [0x00039] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.Policy.Execute (System.Action`2[T1,T2] action, Polly.Context context, System.Threading.CancellationToken cancellationToken) [0x00028] in <d6d906ad30814953b86593aee51c6bb4>:0
at Polly.Policy.Execute (System.Action action) [0x00024] in <d6d906ad30814953b86593aee51c6bb4>:0
at Xamarin.Web.Installer.DownloadService.DownloadItem (Xamarin.Web.Installer.DownloadServiceWorkItem item, System.Boolean firstDownload) [0x000d9] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/DownloadService.cs:216
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment