Skip to content
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

Fix local collator node start error on Apple Silicon M1/M2 (arm64) #432

Closed
2 tasks
demisx opened this issue Sep 14, 2022 · 1 comment
Closed
2 tasks

Fix local collator node start error on Apple Silicon M1/M2 (arm64) #432

demisx opened this issue Sep 14, 2022 · 1 comment
Labels
bug Something isn't working tech debt

Comments

@demisx
Copy link
Collaborator

demisx commented Sep 14, 2022

To Do

  • Fix make commands that use docker that need --platform linux/amd64
  • Update docker file readmes and other docker documentation to mention ^ for easy reference

Original Issue

Starting local collator node via docker results in the following error on M1 (see below). Works on an Intel Mac.

$ make start-frequency-docker
---
Attaching to frequency
frequency  | curl: (7) Failed to connect to relay_alice port 9933: Connection refused
frequency  | failed to get id for relay_alice
frequency  | curl: (7) Failed to connect to relay_bob port 9933: Connection refused
frequency  | failed to get id for relay_bob
frequency exited with code 1

Solution Notes

The fix here is one of these:

  1. Set the platform in the docker command to force it to use --platform linux/amd64
  2. arm64 images Related: Build ARM binaries and containers for Linux and MacOS #779

Since it is not an issue to have --platform linux/amd64 even on linux amd64, it is a straightforward fix.

@demisx demisx added the bug Something isn't working label Sep 14, 2022
@demisx demisx moved this to 🧊 Icebox in DSNP and Frequency Project Sep 14, 2022
@demisx demisx mentioned this issue Sep 14, 2022
20 tasks
@demisx demisx changed the title Fix local collator node error on M1 Fix local collator node start error on M1 Sep 14, 2022
@wilwade wilwade added this to the Launch Tech Debt milestone Sep 19, 2022
@p5150j p5150j removed this from the Launch Tech Debt milestone Jan 4, 2023
@rlaferla rlaferla self-assigned this Apr 21, 2023
@rlaferla rlaferla changed the title Fix local collator node start error on M1 Fix local collator node start error on M1/M2 Apr 21, 2023
@rlaferla rlaferla changed the title Fix local collator node start error on M1/M2 Fix local collator node start error on Apple Silicon M1/M2 (arm64) Apr 21, 2023
@rlaferla rlaferla removed their assignment Apr 24, 2023
@p5150j
Copy link
Collaborator

p5150j commented Jan 24, 2024

closing duped

@p5150j p5150j closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tech debt
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants