Skip to content

[Bug]: Reopen from issue #40328. Multiple Electron Apps are affected, #43400

Closed

Description

@ElCoyote27

Preflight Checklist

Electron Version

32.0.0

What operating system(s) are you using?

Other Linux

Operating System Version

RHEL8 and Fedora

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

In the recent months, several Electron Apps that I am using on Linux have started to report this error message on Linux (RHEL8):

Teams for Linux, reported here: IsmaelMartinez/teams-for-linux#998
or
5898:ERROR:network_service_instance_impl.cc(663)] Network service crashed, restarting service.
Standard Notes, reported here: standardnotes/forum#3312

This causes a delay of several seconds on startup. For teams on Linux, the App does not even work anymore.

Actual Behavior

No error should be seen and the apps should work/start fine.

Testcase Gist URL

No response

Additional Information

RHEL8 and Fedora 37+ x86_64

Activity

  1. moved this to 👀 Unsorted Items in 32-x-yon Aug 21, 2024
  2. added
    blocked/need-repro
    on Aug 21, 2024
  3. electron-issue-triage commented on Aug 21, 2024

    @electron-issue-triage

    Hello @ElCoyote27. Thanks for reporting this and helping to make Electron better!

    Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

    Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

    Now adding the blocked/need-repro Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

  4. ElCoyote27 commented on Aug 21, 2024

    @ElCoyote27
    Author

    Hi,
    if there are ready-made Electron apps that can do that, yes, I will gladly help. I do not know Electron but if there's a ready-made app I could try, I will gladly do so.
    Regards,
    Vincent

  5. removed
    blocked/need-repro
    on Aug 21, 2024
  6. ElCoyote27 commented on Aug 21, 2024

    @ElCoyote27
    Author

    I downloaded electron-fiddle-0.36.4-1.x86_64.rpm from https://electronjs.org/fiddle.
    When I attempt to start the app on RHEL8.10, there is a pause of several seconds and then I see this:

    Creating main window
    Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices
    [2210137:0821/212159.618165:ERROR:network_service_instance_impl.cc(600)] Network service crashed, restarting service.
    🏁 downloading 31.2.1 - 100%
    Content: 31-x-y template loading
    Content: 31-x-y downloading template
    Content: 31-x-y saving template to "/tmp/electron-fiddle-7JY8Fb.zip"
    Content: 31-x-y unzipping template
    (node:2210137) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    (Use `electron-fiddle --trace-deprecation ...` to show where the warning was created)
    Content: 31-x-y unzipped; removing "/tmp/electron-fiddle-7JY8Fb.zip"
    Got Fiddle from "/export/home/raistlin/.config/Electron Fiddle/Templates/electron-quick-start-31-x-y". Found: [ 'index.html', 'main.js', 'preload.js', 'renderer.js', 'styles.css' ]
    

    The main window eventually comes up after 18-20seconds and can be interacted with.

    RHEL8 is enterprise Linux and is supported by Red Hat until 2029.

  7. ElCoyote27 commented on Aug 21, 2024

    @ElCoyote27
    Author

    Attempting to run 'Hello World' works but it takes 2-3seconds for the window to come up.
    It generates this output:

    (node:2225040) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    (Use `electron-fiddle --trace-deprecation ...` to show where the warning was created)
    
    🧪 Testing
    
      - date: 2024-08-21T19:26:38.875Z
    
      - fiddle:
          - source: /tmp/electron-fiddle-2225040-3Q2Jw5G3oEJX
          - local copy: /export/home/raistlin/.cache/fiddle-core/fiddles/c7ac9fd65e80943a1b84b737bdce689e
    
      - electron_version: 31.2.1
          - source: https://github.com/electron/electron/releases/tag/v31.2.1
          - local copy: /export/home/raistlin/.config/Electron Fiddle/electron-bin/current
    
      - test platform:
          - os_arch: x64
          - os_platform: linux
          - os_release: 4.18.0-553.16.1.el8_10.x86_64
          - os_version: #1 SMP Thu Aug 1 04:16:12 EDT 2024
          - getos: {
      os: 'linux',
      dist: 'Red Hat Linux',
      release: '8.10',
      codename: 'ootpa'
    }
    
    Debugger listening on ws://127.0.0.1:9229/34f15f83-1298-4928-8f74-105e097c935a
    For help, see: https://nodejs.org/en/docs/inspector
    
  8. ElCoyote27 commented on Aug 21, 2024

    @ElCoyote27
    Author

    Other versions yield similar results, e.g here 3.0.0-alpha1:

    🏁 downloading 33.0.0-alpha.1 - 100%
    Content: 33-x-y template loading
    Content: 33-x-y downloading template
    Content: 33-x-y failed; using /usr/lib/electron-fiddle/resources/app.asar/.webpack/static/electron-quick-start Error: https://github.com/electron/electron-quick-start/archive/33-x-y.zip 404 Not Found
        at /usr/lib/electron-fiddle/resources/app.asar/.webpack/main/index.js:2:1052976
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:82855)
    Got Fiddle from "/usr/lib/electron-fiddle/resources/app.asar/.webpack/static/electron-quick-start". Found: [ 'index.html', 'main.js', 'preload.js', 'renderer.js' ]
    
    🧪 Testing
    
      - date: 2024-08-21T19:28:39.838Z
    
      - fiddle:
          - source: /tmp/electron-fiddle-2225040-l4b40fhlPveT
          - local copy: /export/home/raistlin/.cache/fiddle-core/fiddles/4f76a5ec991efe21656f1edcb5ba2691
    
      - electron_version: 33.0.0-alpha.1
          - source: https://github.com/electron/electron/releases/tag/v33.0.0-alpha.1
          - local copy: /export/home/raistlin/.config/Electron Fiddle/electron-bin/current
    
      - test platform:
          - os_arch: x64
          - os_platform: linux
          - os_release: 4.18.0-553.16.1.el8_10.x86_64
          - os_version: #1 SMP Thu Aug 1 04:16:12 EDT 2024
          - getos: {
      os: 'linux',
      dist: 'Red Hat Linux',
      release: '8.10',
      codename: 'ootpa'
    }
    
    Debugger listening on ws://127.0.0.1:9229/90342caa-ef4f-40d3-9b93-56d1ebf9417a
    For help, see: https://nodejs.org/en/docs/inspector
    
    
  9. ElCoyote27 commented on Aug 21, 2024

    @ElCoyote27
    Author

    Please note that -only- the startup of the main 'electron-fiddle' window reproduced the ERROR seen before:

    [raistlin@daltigoth ~]$ electron-fiddle 
    Creating main window
    Electron's autoUpdater does not support the 'linux' platform. Ref: https://www.electronjs.org/docs/latest/api/auto-updater#platform-notices
    [2210137:0821/212159.618165:ERROR:network_service_instance_impl.cc(600)] Network service crashed, restarting service.
    
  10. ElCoyote27 commented on Aug 21, 2024

    @ElCoyote27
    Author

    Ah, no, some electron versions reproduce it too, here 30.4.0:

    Electron v30.4.0 started.
    [2245524:0821/213110.428915:ERROR:network_service_instance_impl.cc(599)] Network service crashed, restarting service.
    
    Electron exited with code 0.
    Saving files to temp directory...
    Saved files to /tmp/electron-fiddle-2225040-I77gZp4oCvVo
    Electron v32.0.1 started.
    
    Electron exited with code 0.
    
  11. georgexu99 commented on Aug 21, 2024

    @georgexu99
    Contributor

    Hey @ElCoyote27 , If I'm understanding correctly, the startup template fiddle code will produce this error?

  12. 26 remaining items

  13. electron-issue-triage commented on Dec 9, 2025

    @electron-issue-triage

    This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

  14. jabdinghoff commented on Dec 9, 2025

    @jabdinghoff

    Someone suggested that issue could be related to React/caching, pretty crazy eh

    fwiw this happened to me working on an exclusively vue app

  15. Kilian commented on Jan 12, 2026

    @Kilian
    Member

    Running into this error with Electron 40 on Ubuntu 23.10 (I will try upgrading to a more recent version)

    Running a development app works fine, but a built version has an unending stream of ERROR:content/browser/network_service_instance_impl.cc:613] Network service crashed or was terminated, restarting service. errors when starting the executable, and the main window never shows.

    Deleting cache and config folders has no effect, reverting to 39.x makes the built run fine.

    Edit: 40.0.0-beta.7 is giving a different error unrelated to this bug, so looking into that now:

    [202373:0112/173832.693397:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.systemd1.Manager.StartTransientUnit: object_path= /org/freedesktop/systemd1: org.freedesktop.systemd1.UnitExists: Unit app-org.chromium.Chromium-202373.scope was already loaded or has a fragment file.
    [1]    202373 segmentation fault (core dumped)  ./polypane
    
  16. moved this to 👀 Unsorted Items in 40-x-yon Jan 12, 2026
  17. nikwen commented on Jan 12, 2026

    @nikwen
    Member

    Ubuntu 23.10 (I will try upgrading to a more recent version)

    Yes, please. Ubuntu 23.10 is EOL. :)

  18. Kilian commented on Jan 12, 2026

    @Kilian
    Member

    Just tried to build on macOS Sequoia with 40.0.0.beta-6 and i get the same error, along with process_memory_mac.cc:94] mach_vm_read(0x16fdc8000, 0x8000): (os/kern) invalid address (1).

  19. moved this from 👀 Unsorted Items to 🛑 Blocks Stable in 40-x-yon Jan 14, 2026
  20. georgexu99 commented on Jan 14, 2026

    @georgexu99
    Contributor

    fixed in #49383, closing issue 🙇

  21. moved this from 🛑 Blocks Stable to 🛠️ Fixed for Next Release in 40-x-yon Jan 14, 2026
  22. prusswan commented on Jan 15, 2026

    @prusswan

    @georgexu99 is this really the same issue? In #49383 it is stated that the last known working version was 39.2.7.

    For #43400 it goes as far back as 26.0.0 when the symptom was first reported in #40328

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions