Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

CI failure at "Checkout code" step - fatal: Could not read from remote repository.

Đang mở
#1,012 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
git, github
Lĩnh vực
ci-cd

Hướng nghiên cứu

Bắt đầu với pipeline CircleCI được liên kết và logic shell checkout có trong issue. So sánh CIRCLE_REPOSITORY_URL đã cấu hình và các thiết lập SSH với lỗi khóa công khai được ghi lại, sau đó xác minh hành vi checkout của repository. Hoàn thành có nghĩa là bước mã Checkout hoàn tất thành công cho repository FirefoxColor.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

https://app.circleci.com/pipelines/github/mozilla/FirefoxColor/1087/workflows/8f5362d6-3b2b-498f-8fab-e4ba07ea3820/jobs/2787

Here is the end of the log:

Using SSH Config Dir '/home/circleci/.ssh'
git version 2.34.1
Cloning git repository
Cloning into '.'...
Warning: Permanently added the ECDSA host key for IP address '140.82.113.4' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

exit status 128

CircleCI received exit code 128

For the record, CIRCLE_REPOSITORY_URL=git@github.com:mozilla/FirefoxColor.git and as part of the checkout the following logic is run:

export GIT_SSH_COMMAND='ssh -i "$SSH_CONFIG_DIR/id_rsa" -o UserKnownHostsFile="$SSH_CONFIG_DIR/known_hosts"'

# use git+ssh instead of https
git config --global url."ssh://git@github.com".insteadOf "https://github.com" || true
git config --global gc.auto 0 || true

if [ -e '/home/circleci/FirefoxColor/.git' ] ; then
  echo 'Fetching into existing repository'
  existing_repo='true'
  cd '/home/circleci/FirefoxColor'
  git remote set-url origin "$CIRCLE_REPOSITORY_URL" || true
else
  echo 'Cloning git repository'
  existing_repo='false'
  mkdir -p '/home/circleci/FirefoxColor'
  cd '/home/circleci/FirefoxColor'
  git clone --no-checkout "$CIRCLE_REPOSITORY_URL" .
fi
Ngôn ngữ chính
JavaScript
Star
506
Fork
100
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mozilla/FirefoxColor

Tất cả issue của mozilla/FirefoxColor

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.