Comments (9)
Hi @naramck
Please make sure of the access token used for the proxy can read those projects.
curl --request GET --header "PRIVATE-TOKEN: <TOKEN_USED_BY_BACKSTAGE_PROXY_FOR_GITLAB>" https://gitlabhost.com/api/v4/projects/<project_id>
from backstage-plugin-gitlab.
@naramck were you able to resolve the issue?.
from backstage-plugin-gitlab.
Hi @satrox28,
The issue still exists. I tested the curl command. The proxy token has access to the projects. Seems like the backend proxy api call returning 404, its not even reaching to the gitlab client that is running on backstage backend api.
from backstage-plugin-gitlab.
This seems to be an issue with proxy plugin. The url that is being sent to proxy from browser (GitlabCIClient) is shown as
backstage.domain/api/proxy/gitlabci/group%2Fprojectname. but the proxy converts %2F to a forward slash and tries to send that URL to gitlab rest api which returns 404.
from backstage-plugin-gitlab.
Hi @naramck
Can you change it to project id in annotation and try.
from backstage-plugin-gitlab.
Hi @naramck
Any update?
from backstage-plugin-gitlab.
HI @satrox28,
It is still an open issue. I spent bit of time, and based on what i observed, the issue seems to be in http-proxy-middleware.
from backstage-plugin-gitlab.
were you able to check if the below proxy config for gitlabci exist on app-config.yaml?.
'/gitlabci':
target: https://gitlab.com/api/v4 or change to your custom gitlab host
allowedMethods: ['GET']
headers:
PRIVATE-TOKEN: '<TOKEN>'
from backstage-plugin-gitlab.
@satrox28 yes, i have the correct config and token.
from backstage-plugin-gitlab.
Related Issues (20)
- Webhook support similar to GitHub?
- Adding Issue Table HOT 3
- DORA Metrics HOT 1
- To use self hosted Gitlab instance instead of gitlab.com HOT 6
- Entity discovery should automatically popualte project id in catalog-info.yaml/backstage.yaml
- Gitlab plugin returning 404 HOT 3
- Some errors with isGitlabAvailable HOT 3
- Feature Request: add support for multiple Gitlab instances HOT 1
- GitLab Pipeline is not visible in Catalog section of Backstage component HOT 3
- useLocation() may be used only in the context of a <Router> component. HOT 1
- Plugin broken with backstage version 1.6.0 HOT 1
- Bug in the IssuesTable component HOT 5
- React router migration HOT 5
- Feature request: Add log to debug interaction with GitLab HOT 1
- Feature Request: Show the vulnerability and Compliance Dashboard or the details from the page
- The future of plugin? HOT 10
- Plugin broken with latest backstage 1.8.3 HOT 3
- Not showing data for self hosted Gitlab HOT 2
- Authenticated requests HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backstage-plugin-gitlab.