Opened 8 years ago
#16516 new defect
HTTPS request before LaunchVMProcess let sound crash in guest
Reported by: | Benne | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 5.1.14 |
Keywords: | HTTPS, no sound | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
On a Win7 Guest, Host doesn't mind (tested Win 7 and 10), doing
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("https://www.google.de"); HttpWebResponse res = (HttpWebResponse)req.GetResponse();
before
VirtualBox.VirtualBox vBox = new VirtualBox.VirtualBox(); IMachine m = vBox.FindMachine("VM"); m.LaunchVMProcess(new Session(), "gui", "");
the sound in the guest system stops working with
DSound: Starting playback failed with E_ACCESSDENIED
Switching the https to http in above code, everything will work as expected.
Additionally, starting the VM without a webrequest (from API or VBoxManage), stopping it and letting VBoxSVC not terminate, means starting the guest by above code immediately, then the https request will not interfere with the guest sound.
Thanks in advance.
Kind regard
Ben
VBox.log