Skip to content

Cannot integrate with self-hosted GitLab installed at relative URL (domain/path) #5403

@yusufali94

Description

@yusufali94

Bug description

Environment: gitpod.io and my self hosted gitpod instance
Gitlab Instance: http://<domain>/gitlab
(See https://docs.gitlab.com/ee/install/relative_url.html)

Note:
Able to successfully authorize gitlab as an integration. On my self hosted, was able to authorize as a oauth provider and login using the self hosted gitlab. Enabled GitPod at user level and at the gitlab instance level.

Steps to reproduce

  1. Go to repository. Url of repo is: https:///gitlab/drgroot/gitpod
    image

  2. Use bookmark to attach to gitpod.io
    https://gitpod.io/#https://<domain>/gitlab/drgroot/gitpod
    image

  3. Try using gitpod button
    https://gitpod.io/#https://<domain>/gitlab/drgroot/-/tree/master
    Asks for permissions:
    image

Click request, and it takes be back to https://gitpod.io/#https://<domain>/gitlab/drgroot/-/tree/master
Now I get
image

  1. Try using this url
    https://gitpod.io/#https://<domain>/gitlab/drgroot/tree/master
    Same as 3, except final error is:
    image

Anything else?

tried the same steps on my selfhosted gitpod, updating the gitpod url on my gitlab instance to my selfhosted URL, noticed this in the logs:

Selfhosted version: 0.10.0
Kuberntes Type: k3s
image

Note: all github repos public and private work perfectly....

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions