You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
keep getting "the daemon is not active" even after running hyp daemon start #52
Encountering the same issue on two machines. Debian Buster and Windows 10 both running Node.js 16.9.1. I am not encountering this on a third Debian Buster instance running Node 16.9.1, where the daemon starts and is seeding.
PS C:\Users\metanomial> hyp daemon start
Hyperspace daemon started
Mirroring daemon started
Daemon is running.
PS C:\Users\metanomial> hyp daemon status
Daemon not active
I'm seeing this as well on macOS 11.5.2, node 16.9.1. A workaround for me was to install hyperspace directly npm i hyperspace -g and run the daemon directly in the foreground using $ hyperspace
Actually, that fixed hyp daemon status but other commands, hyp info, hyp create drive, still report The daemon is not active.
Reacted by Timothy Farrell, jaoiaisoh, Ildar Sagdejev and nandi
I guess this has something to do with the address not being hole-punchable?
First terminal:
Second one:
When I tried to hyp create drive, hyp daemon start or hyp daemon status first terminal would log: Remote client opened Remote client closed
I also had this problem, but downgraded node to v14 and then it worked. Unsure if that was related, but that was something that changed that made it work. Could be worth trying out at least.
Downgraded to Nodejs v14 after all these comments. Still getting the same response.
$ hyp daemon start
Hyperspace daemon started
Mirroring daemon started
Daemon is running.
$ hyp info --live
The daemon is not active. Please run:
hyp daemon start
Activity
metanomial commentedon Sep 19, 2021
Encountering the same issue on two machines. Debian Buster and Windows 10 both running Node.js 16.9.1. I am not encountering this on a third Debian Buster instance running Node 16.9.1, where the daemon starts and is seeding.
cablehead commentedon Sep 30, 2021
I'm seeing this as well on macOS 11.5.2, node 16.9.1. A workaround for me was to install hyperspace directly
npm i hyperspace -gand run the daemon directly in the foreground using$ hyperspaceActually, that fixed
hyp daemon statusbut other commands,hyp info,hyp create drive, still reportThe daemon is not active.jaoiaisoh commentedon Dec 1, 2021
I am having this same issue. I can't create hyperdrives.
jaoiaisoh commentedon Dec 1, 2021
I guess this has something to do with the address not being hole-punchable?


First terminal:
Second one:
When I tried to
hyp create drive,hyp daemon startorhyp daemon statusfirst terminal would log:Remote client openedRemote client closedralphtheninja commentedon Dec 9, 2021
I also had this problem, but downgraded node to v14 and then it worked. Unsure if that was related, but that was something that changed that made it work. Could be worth trying out at least.
felixdrp commentedon Dec 13, 2021
I am having this same issue. I can't create hyperdrives.
ralphtheninja commentedon Dec 13, 2021
It would be nice if some of you could try downgrading node to version 14 and see if that helps you.
specious commentedon Jan 1, 2022
I cloned the git repo to troubleshoot this issue.
It prints
The daemon is not activewhen running anything other thanhyp daemonorhyp beambecausehyper.setup()fails:cli/bin/hyp.js
Lines 104 to 114 in cd56bb6
Which fails because it fails to connect to either hyperspace or the mirroring service:
cli/lib/hyper/index.js
Lines 15 to 18 in cd56bb6
So far, I got it working by simply:
Now it works:
Spawn daemon process without setting up an stdio pipe to the parent p…
alexindigo commentedon Jan 9, 2022
Same here, node v16.13.1, macos 12.1.
It should be "auto-connecting", right?
Also BeakerBrowser couldn't connect to hyper:// addresses either, not sure if it's related or not.
specious commentedon Jan 9, 2022
Check out PR #57 and see if it works.
robindiddams commentedon Jan 11, 2022
was on node 17, downgraded to 14 and it worked
dwehrmann commentedon Feb 22, 2022
Linux with node v16.13.2 does not work, either. Same behaviour.
marvinpoo commentedon Mar 4, 2022
Downgraded to Nodejs v14 after all these comments. Still getting the same response.
specious commentedon Mar 4, 2022
If someone could look at PR #57 that would be very helpful.
@pfrazee, could you take a moment?
pfrazee commentedon Mar 4, 2022
@specious I'm sorry, I really can't -- I'm engaged with a new job rn, I have to punt this to the hypercore team
marvinpoo commentedon Mar 7, 2022
This hotfix seems to solve the problem.
Thank you!
luandro commentedon Mar 10, 2022
Solves it 🎉