-
Notifications
You must be signed in to change notification settings - Fork 21
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
what am i missing. getting no valid crumb included #1
Comments
Hi Jason, did you configure the following configuration settings?
The extension uses the credentials for a basic authentication (https://de.wikipedia.org/wiki/HTTP-Authentifizierung) with the jenkins server. I am no expert on jenkins security, but if i were to guess, i could think that maybe your server may not allow basic auth and thererfore reject the request. |
Yes, I have all 3 of those set. However, my server has CSRF Protection enabled. I think your plugin may not function correctly with it. |
I´ve released a new version (1.1.0) with support for Jenkins Server with CRSF protection. To use it you have to specify the crumb issuing url of Jenkins: "jenkins.pipeline.linter.connector.crumbUrl": "http://<your_jenkins_server:port>/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,%22:%22,//crumb))" My jenkins installation with activated CRSF did not reject me before, so i am not 100% sure that this will work on first try. We´ll have to see. |
That Worked Great for me! |
From the Menu: File --> Preferences --> Settings
And then: Extensions --> Jenkins Pipeline Linter Connector
Adjust the example parameter in the comment to match your system.
Am Mi., 10. Okt. 2018 um 12:25 Uhr schrieb syntax-ops <
notifications@github.com>:
… Hi Jason,
did you configure the following configuration settings?
- jenkins.pipeline.linter.connector.url
- jenkins.pipeline.linter.connector.user (only, if your jenkins server
requires authentication)
- jenkins.pipeline.linter.connector.pass (only, if your jenkins server
requires authentication)
The extension uses the credentials for a basic authentication (
https://de.wikipedia.org/wiki/HTTP-Authentifizierung) with the jenkins
server. I am no expert on jenkins security, but if i were to guess, i could
think that maybe your server may not allow basic auth and thererfore reject
the request.
Hello , please i have some problems to setup the linter url , how do i set
all the three major paramters in my visual code as you mentioned ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATlSJ06MRfRhcM-mB1C1hG7XzbIgllXNks5ujcsSgaJpZM4WUA3->
.
|
Corrected the descriptions of the settings.
I am using localhost:8080 and Crumb always return 403. |
HTTP ERROR 403
Problem accessing /. Reason:
Powered by Jetty:// 9.4.z-SNAPSHOT
The text was updated successfully, but these errors were encountered: