croc: Receiving does not work on macOS with M1

On my MacBook Air with M1 CPU, croc (which I installed via Brew) just hangs at connecting... when I try receiving a file.

To Reproduce Steps to reproduce the behavior:

  1. Get some macOS Big Sur device, or install macOS as a Hackintosh using something like OpenCore. I only tried on one with an M1 SoC, but the issue might also exist on any macOS system. Perhaps it’s not even macOS-specific, but rather ARM-specific.
  2. brew install croc
  3. Allow croc to open ports in your firewall settings.
  4. Send a file to yourself, or ask someone to send it to you from any machine.

Expected behavior The program should stop connecting... after a few seconds or so and start receiving the file.

Version croc version v8.6.7-05640cd

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 23 (6 by maintainers)

Most upvoted comments

macOS 11.1, intel x86 here

% croc postage-visitor-fuji
Accept 'signal-2020-12-24-155015.jpeg' (387.6 kB)? (y/n) y

Receiving (<-68.8.93.78:54662)
signal-2020-12-24-155015.jpeg 100% |████████████████████| (378/378 kB, 402.916 kB/s)%                                      tanuki@Tanukis-MacBook-Air Desktop % croc --version           
croc version v8.6.6-e7ed4fc

Receiving seems to work fine. The sender side is using macOS and croc VERSION: v8.6.7-05640cd

Update: tested again with both sides using version v8.6.7-05640cd:

croc axis-matrix-bruce
Accept 'Eq7btzSVkAAzx7L.jpeg' (936.3 kB)? (y/n) y

Receiving (<-68.8.93.78:54921)
Eq7btzSVkAAzx7L.jpeg 100% |████████████████████| (936/936 kB, 684.440 kB/s)%