flare-vm
flare-vm copied to clipboard
Flare VM installation keeps getting stuck in installing visualstudio2017
What's the problem?
Dears,
My Flare VM installation keeps getting stuck at installing visualstudio2017 every time on VBox. I tried Windows 10 Pro and 11 Pro and it failed. I tried installing Visual Studio before hand and it did not solve anything.
Here is the logs.
Steps to Reproduce
- Installing Flare-VM as instructed in the repo.
Environment
- VBox 7.1.6
- Windows 10 and 11 Pro
Additional Information
[1a1c:001b][2025-04-19T10:00:40] Download requested: https://aka.ms/vs/15/release/channel [1a1c:001b][2025-04-19T10:00:40] Error 0x8013153b: [1a1c:001b][2025-04-19T10:00:40] Could not update channel "https://aka.ms/vs/15/release/channel" at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Setup.Download.DownloadManagerAuthenticationProxy.<Download>d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Setup.ChannelDownloader.<GetLatestChannelManifestAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Setup.ChannelManager.<UpdateChannelManifestAsync>d__71.MoveNext() [1a1c:001c][2025-04-19T10:00:40] Error 0x8013153b: [1a1c:001c][2025-04-19T10:00:40] Could not update channel "https://aka.ms/vs/17/release/channel" at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Setup.Download.DownloadManagerAuthenticationProxy.<Download>d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Setup.ChannelDownloader.<GetLatestChannelManifestAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Setup.ChannelManager.<UpdateChannelManifestAsync>d__71.MoveNext() Warning: [1a1c:001b][2025-04-19T10:00:40] A task was canceled. Warning: [1a1c:001c][2025-04-19T10:00:40] A task was canceled. [1a1c:001c][2025-04-19T10:00:41] ManifestVerifier Result: Success [1a1c:001f][2025-04-19T10:00:41] WebClient error 'RequestCanceled' with 'https://aka.ms/vs/channels' - ExecuteWithRetryAsync failed along with a cancellation request Warning: [1a1c:001f][2025-04-19T10:00:41] Failed to get the HttpWebResponse while invoking a HEAD request against https://aka.ms/vs/channels:System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at System.Threading.CancellationToken.ThrowIfCancellationRequested() at Microsoft.VisualStudio.Setup.Download.WebRequestService.<>c__DisplayClass9_0.<ExecuteWithRetryAsync>b__0(Object _) at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Setup.Download.DownloadManagerAuthenticationProxy.<MungeUriAsync>d__28.MoveNext()
[1a1c:001f][2025-04-19T10:00:41] Download requested: https://aka.ms/vs/channels
Warning: [1a1c:001f][2025-04-19T10:00:41] Failed to download channels file from https://aka.ms/vs/channels: A task was canceled.
[1a1c:0021][2025-04-19T10:00:41] WebClient error 'RequestCanceled' with 'https://aka.ms/vs/installer/latest/feed' - ExecuteWithRetryAsync failed along with a cancellation request
Warning: [1a1c:0021][2025-04-19T10:00:41] Failed to get the HttpWebResponse while invoking a HEAD request against https://aka.ms/vs/installer/latest/feed:System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Threading.CancellationToken.ThrowIfCancellationRequested()
at Microsoft.VisualStudio.Setup.Download.WebRequestService.<>c__DisplayClass9_0.<ExecuteWithRetryAsync>b__0(Object _) at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Setup.Download.DownloadManagerAuthenticationProxy.<MungeUriAsync>d__28.MoveNext() [1a1c:0021][2025-04-19T10:00:41] Download requested: https://aka.ms/vs/installer/latest/feed Warning: [1a1c:0022][2025-04-19T10:00:41] Failed to update the latest installer feed A task was canceled. [1a1c:0022][2025-04-19T10:00:41] ManifestVerifier Result: Success [1a1c:001a][2025-04-19T10:00:41] Status changed to NoUpdate [1a1c:0011][2025-04-19T10:00:41] ManifestVerifier Result: Success [1a1c:0018][2025-04-19T10:00:41] ManifestVerifier Result: Success [1a1c:0003][2025-04-19T10:00:43] Authenticode verification returned 0x00000000 for path: C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe.
Another issue. It seems that I have to press Enter every time it stops to continue.
hey quixottte, I'm aware of your issue, and try again installing it from scratch. If you again encounter it, Authenticode verification returned 0x00000000 for path: C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe. just wait for 20-30 min., then it gets normal, and continue with the rest of the installation.
@quixottte what do you mean with visualstudio2017? Do you mean the visualstudio.vm package or is it something else? I have installed the visualstudio.vm package locally several times in the last week and it was successfully installed it. Our CI has also been able to install it without issues recently: https://github.com/mandiant/VM-Packages/wiki/Daily-Failures. Note the package takes long to install and this is expected (we are planing to improve the documentation on this: https://github.com/mandiant/VM-Packages/issues/1391). This is also the reason why we don't have it in the default configuration by default.
Please provide all the information requested in the bug issue template to ensure I am able to help as I don't understand the issue with the information provided. Concretely, provide:
- The output of
VM-Get-Host-Infocommand - The log files C:\ProgramData_VM\log.txt and C:\ProgramData\chocolatey\logs\chocolatey.log
In addition, please provide the list of installed packages, as visualstudio is not part of the default configuration.
@pranaykumar2 I am also not sure I understand what you mean. Can you please elaborate?
I meant that the error @quixottte encountered will last for 20–30 minutes. All he needs to do is wait for a few minutes without interrupting the process.
Thanks for the explanation @pranaykumar2. I am missing information to be sure I understand the issue as I said in my previous comment, but it seems from your response that there is not really a bug. Can we close the issue?
Yes, You can close the issue
Hey, I am also facing the same issue. As per your solution, we have to wait for 20-30 min, but my VM crashes with this error: "kernel data inpage error". Please help me out. I tried installing it separately using this "choco install visualstudio2017-workload-vctools" but still got the same error "Authenticode verification returned 0x00000000 for path: C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe." and VM crashed.
@pandeytanuj01 do you get the kernel data inpage error when installing visualstudio.vm or vcbuildtools.vm? Please ensure you have enough memory (visualstudio requires substantial disk space) and try to install the package with choco install. If the error persists, please open a new issue in https://github.com/mandiant/VM-Packages as we only track issues with installer and not with concrete packages in this repository (this is documented in the CONTRIBUTING file, the README, and the issue templates). When opening the issue, ensure you select the bug template and provide all the information requested there (like a full log) as otherwise we are not able to help.