Skip to content
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

"wrong project_slug or project_id" after 404 response from backstage backend #637

Open
JuliusMu opened this issue Nov 13, 2024 · 5 comments

Comments

@JuliusMu
Copy link

Hi,
I try to get this plugin up and running. Locally everything just works fine and I can access my own gitlab instance without any issues. But after deployment I get a 404 response from this url:
https://backstage.our.domain/api/gitlab/rest/gitlab.our.domain/projects/mygroup%2Fmyproject?
I already tried the authentication via the gitlab integration token and via oauth. Both have the same result.
The Backstage Gitlab Integration for importing the entities into the catalog works just fine.
Do you have any ideas what could be the issue?

@antoniomuso
Copy link
Contributor

Hi, sorry for the delay answer. Can you post some logs about the body of the 404 response?

@mannro
Copy link

mannro commented Nov 27, 2024

same issue here

@JuliusMu
Copy link
Author

This is the body of the 404 response:

{"error":"404 Not Found"}

@mannro
Copy link

mannro commented Nov 28, 2024

I had an error in the host parameter, http instead of https.
It's working now.

@JuliusMu
Copy link
Author

The host parameter is set to: gitlab.our.domain and the apiBaseUrl to https://gitlab.our.domain/api/v4
Did you use a complete Url for the host parameter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants