-
The Gitlab Plugin is not able to run pipelines. I'm getting HTTP error 415 when I attempt run specific jobs or the complete pipeline.
The successfully pipeline run shown in the screenshot are from me running the pipeline directly from within Gitlab.Below is the proxy configAccording to the definition of the error from MDN Web Docs, the 415 would suggest an issue with the payload format.It looks the like the request is being sent in plain-text |
Beta Was this translation helpful? Give feedback.
Answered by
ESmithaaS
Dec 19, 2023
Replies: 2 comments
-
Update: I modified my proxy spec in the app-config to include
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ValberJunior
-
Hello friend 👋 We managed to work around the error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update: I modified my proxy spec in the app-config to include
Content-Type: application/json
in the allowedHeaders.I no longer get a HTTP 415 error. I now get a HTTP 403. It looks like the "api" scope is missing from the array of scopes.
plugins/gitlab-pipelines/src/api.ts Line 96