Skip to content

Two dependency libraries are deleted or setting as private #819

Description

@andyfu2024

What happened

I was using Goland to build arana project, then i stuck in go list phase.

image

The Error

GOROOT=/snap/go/10488 #gosetup
GOPATH=/home/fu/go #gosetup
/snap/go/10488/bin/go list -json -m -u -mod=readonly all #gosetup
go: loading module retractions for github.com/coreos/go-systemd@v0.0.0-20190321100706-95778dfbb74e: git ls-remote -q origin in /home/fu/go/pkg/mod/cache/vcs/1f60ff15ab3093bffd86f4a985673d120db13dabca39c597aaa5016031c601a6: exit status 128:
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

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

go: github.com/mitchellh/osext@v0.0.0-20151018003038-5e2d6d41470f: invalid version: git ls-remote -q origin in /home/fu/go/pkg/mod/cache/vcs/94ed57c5b21c953d93b47487113db43a5c9b69fd990329ec70dc77348c4dd443: exit status 128:
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

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

The error pointed out the second project couldn't be found, and i also couldn't access it via the specific url

image

What you expected to happen

Go list works well.

How to reproduce it (as minimally and precisely as possible)

Using goland to open arana project.

Anything else we need to know?

OS ubuntu 22.04
Go 1.20 stable
Goland 2023.3
GOPROXY=https://goproxy.io,direct

$ cat ~/.gitconfig 
[http]
	proxy = socks5://127.0.0.1:10809
[url "git@github.com:"]
	insteadOf = https://github.com/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions