devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Not showing http requests in network inspector

Open itsJoKr opened this issue 7 months ago • 3 comments

Hard to reproduce, but this happens ever so often.

The inspector doesn't show API calls. It does show socket calls which I have no use for. Image

Android emulator. Only fix is restarting the device.


DevTools version: 2.40.2 IDE: VSCode / Cursor Connected Device: CPU / OS: arm64 (64 bit) android Connected app type: Flutter native (debug build) Dart Version: 3.6.0 Flutter Version: 3.27.0 / stable Framework / Engine: 8495dee1fd / 83bacfc525

itsJoKr avatar May 17 '25 08:05 itsJoKr

Actually I have faced the Same issue and tried to upgrade the flutter to latest version

Flutter 3.32.0 • channel stable • https://github.com/flutter/flutter Framework • revision be698c48a6 (7 days ago) • 2025-05-19 12:59:14 -0700 Engine • revision 1881800949 (7 days ago) • 2025-05-19 10:54:07 -0700 Tools • Dart 3.8.0 • DevTools 2.45.1

and also most importantly upgrade the project's environment to

environment:
  sdk: ^3.8.0

jinosh05 avatar May 26 '25 18:05 jinosh05

I have the same issue happening still on VSCode (Cursor)

davor-layer-four avatar Jul 15 '25 07:07 davor-layer-four

Only fix is restarting the device.

I fixed an issue with missing network requests after Hot Restart with https://github.com/flutter/devtools/pull/9271. This should be fixed with the DevTools in Flutter 3.35.0.

Other than Hot Restart issues, we'll need more details on not showing HTTP requests. We fixed a few issues in Flutter 3.35.0. If these problems are still occurring in 3.35.0 or later, please try to provide more details. It might be important to know what type of HTTP requests are being made, and how (e.g. directly via dart:io's HttpClient, or via package:http, or package:cronet_http). Also please note whether the missing request data seems to be sporadic or consistently reproducible.

srawlins avatar Nov 03 '25 02:11 srawlins