mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
BridgeConnector not connected (spam console) #419
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nurbat on GitHub (Dec 6, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
last version
VS2019, netcore 3.1, nodejs last version
Steps to Reproduce:
Does not respond to Electron functions. {...} when a BridgeConnect appears, a link appears for 1-2 seconds, then signals through Electron. {...} do not arrive..
@nurbat commented on GitHub (Dec 6, 2019):
@GregorBiswanger commented on GitHub (Dec 6, 2019):
I tried it with .net core 3.1 and the Electron.NET 7.30.2. It worked wonderfully. Can you put an example application with the same misconduct on GitHub? So I can test it better.
@nurbat commented on GitHub (Dec 10, 2019):
Project 2GB, I 'd rather tell you how to imitate this mistake. I will try.
later, upload api-demos copy controllers and views to project. And as a result almost immediately after these actions the connect flies and stops working everything connected with C #
@giorgosavramopoulos commented on GitHub (Feb 4, 2020):
Hi guys.. @GregorBiswanger do you have any update on this issue? I have been also facing it for quite some time.
Only in my occasion it does not happen all the time. On my desktop pc that has high specs it happens rarely, but on my laptop it happens quite often.. I am in a dead end with this issue as it makes the application completeley unresponsive
@GregorBiswanger commented on GitHub (Apr 19, 2020):
@nurbat I tried your example and the connection remains with me without problems (10 minutes long). There is a bit of memory growing with your method in the long run. However, you should not send a message every 100ms by default. Otherwise you should use alternative communication. But I think you just wanted to demonstrate it as an example of how it should crash?!
I am currently also using the latest version of Electron (version 8) - this may solve the problem automatically. Electron 8 have changed something here at the IPC. I would say that the problem is solved with the latest Electron.NET version 8.31.1.
@thomvandevin commented on GitHub (May 4, 2020):
hey! @GregorBiswanger
I'm still encountering this bug with the result that my frontend doesnt react on events anymore after a reconnect.
My hypothesis is that this happens whenever there is a large cpu or ram load going on. Due to this the app-lifetime can vary from 1 minute to multiple days depending on what I'm doing with my pc.
The result however is that the user will have to manually end the app-task through the task manager since closing the app otherwise will leave the user with around 5 processes that dont close. (the app is unstartable due to that)
Like I said, it happens pretty randomly but my guess is resource loads due to other programs. There is one way to trigger this bug consistently though:
In this broken state I can still manually refresh the page to make the app show the latest data, however events through listeners dont work anymore.
For some extra context I attached an url to a youtube video replicating this, I can provide you with some extra details or logs if you want.
My current environment:
Let me know if you have any ideas/details,
Greeting,
Thom
@redplane commented on GitHub (Mar 25, 2021):
I have the same iisue while using ipc process to call a function on front end which is run per second. I deployed my application to raspberry pi and after 5 or 10 minutes, the issue occurs.