Hello there!
This is Alberto, from The Construct.
I’ve been working during the last few days preparing a demo that involves connecting from a rosject (computer in the cloud) to a Raspberry using Husarnet. I’ve had no problem so far until today. Today, I tried to reproduce the demo again and Husarnet is not working anymore in the Raspberry. When I try to run a husarnet status
command, the console just hangs here forever:
theconstruct@rpi4-11:~$ Raspberry Pi 4 Robot>> husarnet status
INFO: Daemon does not seem to be running
Do you want to restart Husarnet Daemon now? [y/N]: Yes
WARNING: Wasn't able to restart Husarnet Daemon. Try restarting the service manually.
Waiting until we can communicate with husarnet daemon… (7.833s)
Waiting until we can communicate with husarnet daemon… (8.034s)
Waiting until we can communicate with husarnet daemon… (8.235s)
Waiting until we can communicate with husarnet daemon… (8.636s)
I’ve tried reinstalling Husarnet among other things, but nothing is working. I noticed that when reinstalling Husarnet, I got an exit code of 1:
The following NEW packages will be installed:
husarnet
0 upgraded, 1 newly installed, 0 to remove and 130 not upgraded.
Need to get 0 B/6721 kB of archives.
After this operation, 13.1 MB of additional disk space will be used.
Selecting previously unselected package husarnet.
(Reading database ... 167448 files and directories currently installed.)
Preparing to unpack .../husarnet_1%3a2.0.180_arm64.deb ...
Unpacking husarnet (1:2.0.180) ...
Setting up husarnet (1:2.0.180) ...
exit status 1
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
Failed to check for processor microcode upgrades.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Job for husarnet.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status husarnet.service" and "journalctl -xeu husarnet.service" for details.
I’ve also tried running the suggested commands in the last line, and this is the output obtained:
theconstruct@rpi4-11:~$ Raspberry Pi 4 Robot>> systemctl status husarnet.service
● husarnet.service - Husarnet
Loaded: loaded (/etc/systemd/system/husarnet.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: core-dump) since Tue 2024-07-02 18:29:02 CEST; 2s ago
Process: 5707 ExecStart=/usr/bin/husarnet-daemon (code=dumped, signal=ABRT)
Main PID: 5707 (code=dumped, signal=ABRT)
CPU: 7ms
For the journalctl
command:
02 18:29:19 rpi4-11 systemd[1]: Starting Husarnet...
░░ Subject: A start job for unit husarnet.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit husarnet.service has begun execution.
░░
░░ The job identifier is 34420.
Jul 02 18:29:19 rpi4-11 husarnet-daemon[5725]: libc++abi: terminating with uncaught exception of type nlohmann::detail::parse_error: [json.exception.par>
Jul 02 18:29:19 rpi4-11 systemd[1]: husarnet.service: Main process exited, code=dumped, status=6/ABRT
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit husarnet.service has exited.
░░
░░ The process' exit code is 'dumped' and its exit status is 6.
Jul 02 18:29:19 rpi4-11 systemd[1]: husarnet.service: Failed with result 'core-dump'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit husarnet.service has entered the 'failed' state with result 'core-dump'.
Jul 02 18:29:19 rpi4-11 systemd[1]: Failed to start Husarnet.
░░ Subject: A start job for unit husarnet.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit husarnet.service has finished with a failure.
░░
░░ The job identifier is 34420 and the job result is failed.
Any ideas of what could be wrong? Thanks in advance for the help.
Best,