[Issue 4748] New - 404 Error thrown when using automatic builds

4 messages Options
Embed this post
Permalink
scott07-2

[Issue 4748] New - 404 Error thrown when using automatic builds

Reply Threaded More More options
Print post
Permalink
https://hudson.dev.java.net/issues/show_bug.cgi?id=4748
                 Issue #|4748
                 Summary|404 Error thrown when using automatic builds
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|Linux
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|www
             Assigned to|issues@hudson
             Reported by|scott07






------- Additional comments from [hidden email] Sat Oct 31 12:18:03 +0000 2009 -------
When trying to setup automatic builds based on commits in CVS using the
automatic build URL of
http://YOURHOST/hudson/job/PROJECTNAME/build?token=YOUR_TOKEN_HERE

This returns a 404 error unless you use it in the browser that your already
logged into hudson (presumably your Session overrides the need for the token).

The security model I am using is the matrix based system with the users and
passwords living in LDAP (openLDAP in this case).

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Kohsuke Kawaguchi

[Issue 4748] 404 Error thrown when using automatic builds

Reply Threaded More More options
Print post
Permalink
https://hudson.dev.java.net/issues/show_bug.cgi?id=4748



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Nov  3 01:21:06 +0000 2009 -------
Do you mean 401 unauthorized? 404 is not found.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

scott07-2

[Issue 4748] 404 Error thrown when using automatic builds

Reply Threaded More More options
Print post
Permalink
In reply to this post by scott07-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=4748






------- Additional comments from [hidden email] Tue Nov  3 08:17:45 +0000 2009 -------
Interestingly no, its actually a 404 error.

Output of wget:

scott@sconew:~> wget
http://hudson.worldsofwar.net:8282/job/WoWIIIAPI/build?token=123
--2009-11-03 08:15:21--
http://hudson.worldsofwar.net:8282/job/WoWIIIAPI/build?token=123
Resolving hudson.worldsofwar.net... 172.16.1.11
Connecting to hudson.worldsofwar.net|172.16.1.11|:8282... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-11-03 08:15:21 ERROR 404: Not Found.

As I say if i copy the URL exactly in when using firefox (and being logged in
with firefox too) it starts a build.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

mindless

[Issue 4748] 404 Error thrown when using automatic builds

Reply Threaded More More options
Print post
Permalink
In reply to this post by scott07-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=4748



User mindless changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|STARTED                   |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |DUPLICATE
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Sun Nov  8 05:56:33 +0000 2009 -------
401 vs 404 may be something to do with tomcat.
Use a user/password with wget to rather than build token to trigger a build if
you Hudson doesn't have anonymous read access.

*** This issue has been marked as a duplicate of 1555 ***

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]