-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go get fails with go modules and with private repositories without a go.mod in Gitea #34075
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
Comments
This repository appears to require authentication. Did you place appropriate credentials in your
|
We run Gitea on a dedicated machine. |
There isn't much we can do without steps to reproduce the problem. I suggest using the The commands will probably be something like:
Please try that and report what you find. |
I see that go get attempts to run In the error
an attempt is done to clone into this directory, but the actual remote would be
|
There are other packages which we import from our private server which are resolved and retrieved correctly. |
If (In module mode in Go 1.13, the |
I indeed see this happening with
So I suppose it is time to open an issue in Gitea. |
Change https://golang.org/cl/193262 mentions this issue: |
Incoming URLs may omit the scheme to indicate “either HTTP or HTTPS”. For such URLs, log the scheme actually used instead of leaving it out. (This issue was noticed while triaging #34075.) Updates #34075 Change-Id: I39e5ca83543dd780258d41d5c2c4ba907cd20e5c Reviewed-on: https://go-review.googlesource.com/c/go/+/193262 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go get
What did you expect to see?
A successful retrieval of a dependency.
What did you see instead?
The text was updated successfully, but these errors were encountered: