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

HTTP ERROR 404 Problem accessing /jenkins/job/myproject/configure. Reason: Not Found

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Jenkins ver. 2.48
      ubuntu 16

    • 1.0

      in blue ocean when i click configure project i get this url

      http://ci.mydomain.com/jenkins/job/myproject/configure
      

      but this error comes up. nothing in the jenkins log file

      HTTP ERROR 404
      
      Problem accessing /jenkins/job/myproject/configure. Reason:
      
          Not Found
      Powered by Jetty://
      

      my jenkins is on nginx with this config

      server {
        listen          80;       # Listen on port 80 for IPv4 requests
      
        server_name     ci.mydomain.com;
      
        #this is the jenkins web root directory (mentioned in the /etc/default/jenkins file)
        root            /var/run/jenkins/war/;
      
        access_log      /var/log/nginx/jenkins/access.log;
        error_log       /var/log/nginx/jenkins/error.log;
        ignore_invalid_headers off; #pass through headers from Jenkins which are considered invalid by Nginx server.
        location ~ "^/static/[0-9a-fA-F]{8}\/(.*)$" {
      
          #rewrite all static files into requests to the root
          #E.g /static/12345678/css/something.css will become /css/something.css
          rewrite "^/static/[0-9a-fA-F]{8}\/(.*)" /$1 last;
        }
      
        location /userContent {
              #have nginx handle all the static requests to the userContent folder files
              #note : This is the $JENKINS_HOME dir
      	root /var/lib/jenkins/;
              if (!-f $request_filename){
                 #this file does not exist, might be a directory or a /**view** url
                 rewrite (.*) /$1 last;
      	   break;
              }
      	sendfile on;
        }
      
        location @jenkins {
            sendfile off;
            proxy_pass         http://127.0.0.1:8080;
            proxy_redirect     default;
      
            proxy_set_header   Host             $host;
            proxy_set_header   X-Real-IP        $remote_addr;
            proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
            proxy_max_temp_file_size 0;
      
            #this is the maximum upload size
            client_max_body_size       10m;
            client_body_buffer_size    128k;
      
            proxy_connect_timeout      90;
            proxy_send_timeout         90;
            proxy_read_timeout         90;
      
            proxy_buffer_size          4k;
            proxy_buffers              4 32k;
            proxy_busy_buffers_size    64k;
            proxy_temp_file_write_size 64k;
      }
      
        location / {
      
           # Optional configuration to detect and redirect iPhones
            if ($http_user_agent ~* '(iPhone|iPod)') {
                rewrite ^/$ /view/iphone/ redirect;
            }
      
            try_files $uri @jenkins;
         }
      }
      

          [JENKINS-42408] HTTP ERROR 404 Problem accessing /jenkins/job/myproject/configure. Reason: Not Found

          Michael Neale added a comment -

          Is the problem due to it adding /jenkins in? If so - this is a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-42291 which has been fixed in master but not released yet.

          Michael Neale added a comment - Is the problem due to it adding /jenkins in? If so - this is a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-42291 which has been fixed in master but not released yet.

          Michael Neale added a comment -

          yes this is the same problem. The reason was a rather embarrassing javascript error that happened in most recent beta. Will be fixed in next release shipped.

          Michael Neale added a comment - yes this is the same problem. The reason was a rather embarrassing javascript error that happened in most recent beta. Will be fixed in next release shipped.

          tawanda minya added a comment -

          Awesome thanks guys

          I had furiously tried googling for solutions to this but was stuck

          I can still access the config from the administration side so will do that for now

          tawanda minya added a comment - Awesome thanks guys I had furiously tried googling for solutions to this but was stuck I can still access the config from the administration side so will do that for now

          tawanda minya added a comment -

          Thank You Ivan

          tawanda minya added a comment - Thank You Ivan

          Michael Neale added a comment -

          tawanda yes sorry about this - snuck into the last beta. I'll see if we can cut one tomorrow as a few people have been bitten by this.

          Michael Neale added a comment - tawanda yes sorry about this - snuck into the last beta. I'll see if we can cut one tomorrow as a few people have been bitten by this.

          tawanda minya added a comment -

          sweet, thanks for the heads up

          tawanda minya added a comment - sweet, thanks for the heads up

            imeredith Ivan Meredith
            tawanda tawanda minya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: