#2380 pagure_ci is unable to communicate with Jenkins at least on ver. 2.66
Closed: Fixed 6 years ago Opened 6 years ago by kordex.

Jenkins has changed CSRF token from .crumb to Jenkins-Crumb https://wiki.jenkins.io/display/JENKINS/CSRF+Protection

This causes pagure_ci to print out following lines:
pagure_ci_server.py[28546]: DEBUG:requests.packages.urllib3.connectionpool:"POST /jenkins/job/job_name/buildWithParameters HTTP/1.1" 403 1088

On Jenkins logs:
WARNING [Handling POST /jenkins/job/job_name/buildWithParameters from 10.0.0.1 : ajp-apr-8009-exec-16] hudson.security.csrf.CrumbFilter.doFilter No valid crumb was included in request for /jenkins/job/bacula_dir/buildWithParameters. Returning 403.


can you give the steps to reproduce this ? Including the version of Jenkins you are using :smile:

@farhaan version is in the title ver. 2.66 ???

@cverna thanks didn't notice it I guess

Got the fix for this :)

Metadata Update from @pingou:
- Issue assigned to pingou

6 years ago

Login to comment on this ticket.

Metadata