Skip to content

Requests continue to fail after Network Service restarts #49572

Closed

Description

@ImVeryLost

Preflight Checklist

Electron Version

40.1.0

What operating system(s) are you using?

Windows

Operating System Version

Windows 11 Enterprise 25H2

What arch are you using?

x64

Last Known Working Electron version

not sure, but it didnt work on 36.x or 39.x either

Does the issue also appear in Chromium / Google Chrome?

I don't know how to test

Expected Behavior

If Network Service process restarts after a crash, fetch requests made in main/utility process should recover

Actual Behavior

After Network Service crashes and restarts, fetch requests made in main/utility processes continue to fail with net:ERR_FAILED

Testcase Gist URL

https://gist.github.com/ImVeryLost/2d0817dc31ffaa1d89e0c0ccd97b5fe2

Additional Information

Some of our electron app users report seeing unexplained network service crashes, which log [60300:0129/140619.088:ERROR:content\browser\network_service_instance_impl.cc:610] Network service crashed or was terminated, restarting service. (I see there are a few other similar "network service crashed" errors, but this one is on windows. Let me know if i should file a separate one)

Service process does restart, but various http requests keep failing.

To reproduce, i did the following:

  1. Run the Electron fiddle in the attached gist
  2. Use Microsoft's Process Explorer to find the electron.exe process, and its subprocess with the utility-sub-type NetworkService
Image
  1. Kill this process to simulate a crash
  2. Continue watching the Process Explorer - you will see that a new NetworkService sub process appears after a second or two
  3. Check the fiddle logs - fetch requests continue to fail long after the service process comes back to life

Activity

  1. added theissue type on Jan 29, 2026
  2. added
    has-repro-gist
    on Jan 29, 2026
  3. moved this to 👀 Unsorted Items in 40-x-yon Jan 29, 2026
  4. nikwen commented on Jan 29, 2026

    @nikwen
    Member

    Thanks for the detailed description and the Fiddle gist!

  5. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 40-x-yon Feb 4, 2026
  6. ImVeryLost commented on Mar 3, 2026

    @ImVeryLost
    Author

    @jkleinsc any chance we could get a backport to v40 and/or v41, so we don't have to wait till May (planned release date for v42) to consume the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    40-x-ybug 🪲has-repro-gistplatform/windows

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions