Skip to content

Not able to go get a repository with non-80 port #6985

@laszbalo

Description

@laszbalo
  • Gitea version (or commit ref): 1.8.1
  • Git version: 2.17.1
  • Operating system: Xubuntu 19.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

According to the gogs issue tracker this issue has been fixed there, but apparently it is still present in gitea.

In my case gitea is running on port 13000 and trying to go get my golang package:

go get -v 192.168.1.66:13000/my_user_name/my_golang_repo

but got the following error:

unrecognized import path "192.168.1.66:13000/my_user_name/my_golang_repo" (parse https://192.168.1.66:13000/my_user_name/my_golang_repo?go-get=1: no go-import meta tags (meta tag 192.168.1.66/my_user_name/my_golang_repo did not match import path 192.168.1.66:13000/my_user_name/my_golang_repo))

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions