-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receiving does not work on macOS with M1 #313
Comments
Can you run |
macOS 11.1, intel x86 here
Receiving seems to work fine. The sender side is using macOS and croc Update: tested again with both sides using
|
@michael-myers I guess that helps with narrowing down the issue ‒ it's likely indeed ARM-specific.
The first one (send side) just goes on like that with the |
it looks like you are initiating the sending after initiating the receiving? you should send first, and then receive. |
Well, I only entered the passphrase after initiating the sending, of course… I've tried before with the correct order, and it didn't change anything. Just tried again to verify this indeed is the case, and it was:
|
I was able to get it to work with these steps:
|
I have the same problem with an intel macbook pro running macOS 11. |
same problem here - sending works, receiving not (intel mac to m1 mac) |
@judober @Mischosch @FantasyCookie17 can you try building from source on Apple M1 to see if it works? |
I tried the build from source (using homebrew). However, it's still hanging with |
So, I just tried with a self-compiled binary. The behaviour didn't change in any way. |
Tested here on MacBook Pro 2019 with Intel and |
@schollz Why did you close this? The issue persists… What @martinscholz83 reported may apply to the 2019 MBP, however, M1 was introduced in 2020, so the 2019 version still uses Intel… |
@FantasyCookie17 Please try building the latest croc and latest version of Go and report back if the error persists. |
It does. I had tried the latest version from Homebrew before writing my comment, then built it myself manually, still without luck. |
Built with Go 1.16.4? |
1.16.3. 1.16.4 isn't available via Homebrew, it seems. |
@schollz I can reproduce this on my Intel-based Mac with macOS 11.3. The problem seems to be the This allows for a simple workaround:
@FantasyCookie17 can you confirm the workaround solves your problem as well? |
I could narrow it down even further: The blocking part is this line. |
@judober @FantasyCookie17 @Mischosch can you try with the latest version v9.1.3 to see if this still doesn't work? @thewilli found a possible root cause and fixed it. |
I will as soon as it's pushed to Homebrew. |
Works for me too. Thanks! |
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:
brew install croc
croc
to open ports in your firewall settings.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
The text was updated successfully, but these errors were encountered: