Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50991

Forbidden hudson.plugins.git.UserRemoteConfig/checkUrl on this server

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: git-plugin
    • Labels:
    • Environment:
      CentOS 7
      Jenkins ver. 2.107.2
    • Similar Issues:

      Description

      I'm running a fresh installation of Jenkins on CentOS 7 behind Apache 2.4.6.

      I modified my service /etc/sysconfig/jenkins to run over port 9090

      Configuration of my apache to access jenkins on https: 

      <VirtualHost *:80>
      ServerName jenkins.domain.nl
      
      RewriteEngine on
      ReWriteCond %{SERVER_PORT} !^443$
      RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
      </VirtualHost>
      
      <VirtualHost *:443>
      ServerName jenkins.domain.nl
      
      SSLEngine On
      SSLProxyEngine on
      SSLCertificateFile /etc/pki/tls/certs/domain_nl.crt
      SSLCertificateChainFile /etc/pki/tls/certs/domain_nl.ca-bundle.crt
      SSLCertificateKeyFile /etc/pki/tls/private/domain_nl.key
      
      ProxyRequests Off
      ProxyPreserveHost On
      RewriteEngine On
      RequestHeader set X-Forwarded-Proto "https"
      RequestHeader set X-Forwarded-Port "443"
      AllowEncodedSlashes NoDecode
      
      ProxyPass / http://localhost:9090/ nocanon
      ProxyPassReverse / http://localhost:9090/
      
      <Proxy http://localhost:9090/*>
      Order allow,deny
      Allow from all
      </Proxy>
      </VirtualHost>
      

       I've installed the following plugins: 

      apache-httpcomponents-client-4-api	4.5.3-2.1
      bouncycastle-api	2.16.2
      command-launcher	1.2
      credentials	2.1.16
      display-url-api	2.2.0
      git	3.8.0
      git-client	2.7.1
      jackson2-api	2.8.11.1
      jsch	0.1.54.2
      junit	1.24
      mailer	1.21
      matrix-project	1.13
      mercurial	2.3
      scm-api	2.2.7
      script-security	1.44
      ssh-credentials	1.13
      structs	1.14
      workflow-api	2.27
      workflow-scm-step	2.6
      workflow-step-api	2.14
      

      Creating a new project

      Item name: Project

      Type: Freestyle project

      When selection the Source Code Management to Git.

      The following error is occured (See Screen Shot): 

      Forbidden
      You don't have permission to access /job/Project/descriptorByName/hudson.plugins.git.UserRemoteConfig/checkUrl on this server.
      

       and 

      Forbidden
      You don't have permission to access /job/Project/descriptorByName/hudson.plugins.git.UserRemoteConfig/checkCredentialsId on this server.
      

      Can someone help me solving this issue?

       

       

        Attachments

          Activity

          Hide
          markewaite Mark Waite added a comment -

          This looks like a file system permissions issue or a configuration issue, rather than a bug. We prefer to have configuration and permissions issues discussed in other channels so that more people can assist with the diagnosis and ideas.

          The Jenkins users mailing lists are a good place to ask questions.
          The Internet Relay Chat (IRC) system also provides help from a larger community.

          Show
          markewaite Mark Waite added a comment - This looks like a file system permissions issue or a configuration issue, rather than a bug. We prefer to have configuration and permissions issues discussed in other channels so that more people can assist with the diagnosis and ideas. The Jenkins users mailing lists are a good place to ask questions. The Internet Relay Chat (IRC) system also provides help from a larger community.

            People

            • Assignee:
              markewaite Mark Waite
              Reporter:
              sstraakenbroek Stefan Straakenbroek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: