Problem description
The Network page of DevTools does not show network requests when running from within a Windows 11 VM Hyper-V virtual machine. Other hypervisors and operating systems have not been tested.
Steps to reproduce
- Run the example code on a bare-metal Windows 11 machine to verify the network request appears.
- Run the same code on a Windows 11 Hyper-V virtual machine and observe no network request appears.
Example code
import 'dart:io';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
Future<HttpClientRequest> load() async {
HttpClient client = HttpClient();
final HttpClientRequest response =
await client.get('tempapi.proj.me', 443, '/api/GB3XretjA');
return response;
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
const MyHomePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: FutureBuilder(
future: load(),
builder:
(BuildContext context, AsyncSnapshot<HttpClientRequest> snapshot) {
if (snapshot.connectionState == ConnectionState.done) {
return Text('${snapshot.data}');
}
return const Text("Fetching...");
},
),
);
}
}
Problem description
The Network page of DevTools does not show network requests when running from within a Windows 11 VM Hyper-V virtual machine. Other hypervisors and operating systems have not been tested.
Steps to reproduce
Example code