Freezing on splash screen and transport close #871

Closed
opened 2026-01-29 16:50:50 +00:00 by claunia · 6 comments
Owner

Originally created by @Islam-alshiki on GitHub (Apr 6, 2023).

Which version of Electron.NET CLI and API are you using?

  • [23.6.1]
  • [13.5.1]

Please always try to use latest version before report.

  • Version: [23.6.1]

Which version of .NET Core and Node.js are you using (if applicable)?
Net : net6.0
node : v19.3.0

What target are you building for?
I'm still in debugging.

Enter your issue details below this comment:
When I electronize start my app it stops on the splash screen that AlwaysOnTop
with last version [23.6.1]

ASP.NET Core Application connected... global.electronsocket iun7Rb9ogq_V97uPAAAA 2023-04-06T01:01:17.850Z
ASP.NET Core Application connected... global.electronsocket iun7Rb9ogq_V97uPAAAA 2023-04-06T01:01:19.902Z
ASP.NET Core Application connected... global.electronsocket iun7Rb9ogq_V97uPAAAA 2023-04-06T01:01:19.915Z
Got disconnect! Reason: transport close
Got disconnect! Reason: forced close

When I tried [13.5.1], the window appears.

Originally created by @Islam-alshiki on GitHub (Apr 6, 2023). <!-- Please search existing issues to avoid creating duplicates. --> Which version of Electron.NET CLI and API are you using? - [23.6.1] - [13.5.1] Please always try to use latest version before report. * **Version**: [23.6.1] Which version of .NET Core and Node.js are you using (if applicable)? Net : net6.0 node : v19.3.0 What target are you building for? I'm still in debugging. Enter your issue details below this comment: When I `electronize start` my app it stops on the splash screen that `AlwaysOnTop` with last version `[23.6.1]` ```bat ASP.NET Core Application connected... global.electronsocket iun7Rb9ogq_V97uPAAAA 2023-04-06T01:01:17.850Z ASP.NET Core Application connected... global.electronsocket iun7Rb9ogq_V97uPAAAA 2023-04-06T01:01:19.902Z ASP.NET Core Application connected... global.electronsocket iun7Rb9ogq_V97uPAAAA 2023-04-06T01:01:19.915Z Got disconnect! Reason: transport close Got disconnect! Reason: forced close ``` When I tried [13.5.1], the window appears. <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) -->
claunia added the bug label 2026-01-29 16:50:50 +00:00
Author
Owner

@IgorVolod commented on GitHub (Apr 6, 2023):

In version 23: clear the BIN and OBJ folders. Run - "Clear Solution" and "Build Solution". Only after that Build the desktop application.

@IgorVolod commented on GitHub (Apr 6, 2023): In version 23: clear the BIN and OBJ folders. Run - "Clear Solution" and "Build Solution". Only after that Build the desktop application.
Author
Owner

@GregorBiswanger commented on GitHub (Apr 6, 2023):

You also need the latest Electron.NET CLI.

Please update these as well.
dotnet tool update ElectronNET.CLI -g

@GregorBiswanger commented on GitHub (Apr 6, 2023): You also need the latest Electron.NET CLI. Please update these as well. `dotnet tool update ElectronNET.CLI -g`
Author
Owner

@thirking commented on GitHub (Dec 12, 2023):

You also need the latest Electron.NET CLI.

Please update these as well. dotnet tool update ElectronNET.CLI -g

It worked very well

@thirking commented on GitHub (Dec 12, 2023): > You also need the latest Electron.NET CLI. > > Please update these as well. `dotnet tool update ElectronNET.CLI -g` It worked very well
Author
Owner

@bella1890alt commented on GitHub (Jan 29, 2024):

Hi,
Electron.NET API-23.6.1
Electron.NET CLI -23.6.1
Framework - net6.0
node :16.15.0

code:

public async void ElectronBootstrap()
{
//AddDevelopmentTests();

var browserWindow = await Electron.WindowManager.CreateWindowAsync(new BrowserWindowOptions
{
    Width = 1152,
    Height = 940,
    Show = false
});

await browserWindow.WebContents.Session.ClearCacheAsync();

browserWindow.OnReadyToShow += () => browserWindow.Show();
browserWindow.SetTitle(Configuration["DemoTitleInSettings"]);

}
When I try to debug, i get the below error:

error

in the older electron.net api v13.5.1 -> it made use of dependency -> SocketIODotNet

in latest electron.net api v23.6.1 -> it uses SocketIOClient. and i start getting the above error.

please help am i missing something

@bella1890alt commented on GitHub (Jan 29, 2024): Hi, Electron.NET API-23.6.1 Electron.NET CLI -23.6.1 Framework - net6.0 node :16.15.0 code: public async void ElectronBootstrap() { //AddDevelopmentTests(); var browserWindow = await Electron.WindowManager.CreateWindowAsync(new BrowserWindowOptions { Width = 1152, Height = 940, Show = false }); await browserWindow.WebContents.Session.ClearCacheAsync(); browserWindow.OnReadyToShow += () => browserWindow.Show(); browserWindow.SetTitle(Configuration["DemoTitleInSettings"]); } When I try to debug, i get the below error: ![error](https://github.com/ElectronNET/Electron.NET/assets/157344727/a4906bbe-b7c6-4630-9fb6-aafd16b77104) in the older electron.net api v13.5.1 -> it made use of dependency -> SocketIODotNet in latest electron.net api v23.6.1 -> it uses SocketIOClient. and i start getting the above error. please help am i missing something
Author
Owner

@bella1890alt commented on GitHub (Jan 29, 2024):

Hi,
Electron.NET API-13.5.1
Electron.NET CLI -23.6.1
Framework - net6.0
node :16.15.0

Target ->i am still in debugging.

When I electronize start my app it stops on the splash screen that AlwaysOnTop.
Screenshot 2024-01-29 111520

@bella1890alt commented on GitHub (Jan 29, 2024): Hi, Electron.NET API-13.5.1 Electron.NET CLI -23.6.1 Framework - net6.0 node :16.15.0 Target ->i am still in debugging. When I electronize start my app it stops on the splash screen that AlwaysOnTop. ![Screenshot 2024-01-29 111520](https://github.com/ElectronNET/Electron.NET/assets/157344727/e2c425c5-2574-4d9f-b250-100a10d0e03d)
Author
Owner

@FlorianRappl commented on GitHub (Nov 1, 2025):

Outdated - use ElectronNET.Core and ElectronNET.Core.AspNet.

See Wiki / What's New.

@FlorianRappl commented on GitHub (Nov 1, 2025): Outdated - use `ElectronNET.Core` and `ElectronNET.Core.AspNet`. See [Wiki / What's New](https://github.com/ElectronNET/Electron.NET/wiki/What's-New).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#871