Closed 2072 closed 3 years ago
Hi @2072! Sorry to hear about the issues you are experiencing... May I kindly ask you to do the following:
@2072 can you please also provide full Daedalus logs?
This is probably a duplicate of https://github.com/input-output-hk/daedalus/issues/2746
As a workaround, you can do the following (every time you start Daedalus):
Open the file %appdata%\Daedalus Mainnet\config.json
in an editor. (Maybe create a backup first.) Find the line that contains mainnet-PREVIOUS-CARDANO-PID
and delete it. If this was the last line in the file before the final }
, delete the comma at the end of the previous line as well. Then start Daedalus and it will work one time.
Yes this is the same as #2746, clearing the previous PID value in the config file prevents this loop and does allow Daedalus to start normally once. Thank you! Before creating this ticket I tried to put an existing PID there with a process also named cardano-node.exe so it has something to kill at startup but it did not work, removing it however prevents the problem). Was it because the extra time taken to find the previous PID caused a second node to be started?
In a way - it was because of a race condition in how it checked whether it was OK to start a new process, and if a previous PID existed, that would prolong the time it took to copmlete this check (because it'd also check if that process was still running) and make this race condition a lot more likely. See #2749 for a more detailed explanation.
Hi! This issue should be fixed in the latest release 4.5.1. Can you please see if it works? Thanks!
Hi, Yes 4.5.1 no longer launches several node processes!
version: 4.5.19689 OS: windows 10: 19042.1348
I have a problem when launching Daedalus: it starts several
cardano-node.exe
processes and complains that the node crashes because the second one cannot run while the first one is still running. It stays in this state where it loops trying to run a second cardano-node.exe. See the relevant logs below, the second process is launched 3 seconds after the 1st one...The 1st process is only shutdown when you quit deadalus. One needs to wait for that process to finish opening the blockchain (wait for cpu usage to drop to 0) or the next startup of the node will take up to 30 minutes....