Skip to main content



      Home
Home » Eclipse Projects » Mylyn » Jenkins build server - Server validation failed: Unexpected error: Forbidden
icon5.gif  Jenkins build server - Server validation failed: Unexpected error: Forbidden [message #1044471] Thu, 18 April 2013 20:31 Go to next message
Eclipse UserFriend
I've added my Jenkins (1.511) URL to the build list, but when trying the 'Refresh' the Build Plans
I get ' Server validation failed: Unexpected error: Forbidden' in the Eclipse log.

If I press 'Open with Browser' in the build list, I can log in no problem.
Is there anything I need to check?



UPDATE: this seems to be related to 'Matrix based security' (even with all tick boxes checked for the user)
If I change to:
'Logged-in users can do anything'

I get instead:
' Server validation failed: Unexpected error: Unexpected response from server while logging in: Not Found'

[Updated on: Thu, 18 April 2013 20:43] by Moderator

Re: Jenkins build server - Server validation failed: Unexpected error: Forbidden [message #1047979 is a reply to message #1044471] Tue, 23 April 2013 19:00 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

that sounds similar to this bug but that should have been addressed in Mylyn
Builds 0.9:

355927: running of build fails with Unexpected error: Forbidden when Cross
Site Request Forgery prevention is enabled
https://bugs.eclipse.org/bugs/show_bug.cgi?id=355927

Can you check if that setting is enabled on your server? If the connection
still fails for you please file a new bug and we can investigate if Mylyn
needs to be updated for changes in Jenkins.

Thanks,

Steffen



George Francis wrote:

> I've added my Jenkins (1.511) URL to the build list, but when trying the
> 'Refresh' the Build Plans I get ' Server validation failed: Unexpected
> error: Forbidden' in the Eclipse log.
>
> Is there anything I need to check
> Is there something else I can try?
--
Steffen Pingel
Principal Software Engineer, Eclipse Mylyn Tasks Lead
http://tasktop.com
Re: Jenkins build server - Server validation failed: Unexpected error: Forbidden [message #1059807 is a reply to message #1044471] Tue, 21 May 2013 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Was a bug ever filed for this? I can confirm the "Prevent Cross Site Request Forgery exploits" checkbox isn't checked on our instance here and we have matrix based security enabled. We're currently at Jenkins version 1.429. If not, I'll file a bug.
Re: Jenkins build server - Server validation failed: Unexpected error: Forbidden [message #1059852 is a reply to message #1059807] Tue, 21 May 2013 18:57 Go to previous message
Eclipse UserFriend
I have not filed a bug.
Cheers,
Previous Topic:Review for Eclipse (R4E) 0.13.0 is now available
Next Topic:Mylyn connector (Web generic repository) with Redmine
Goto Forum:
  


Current Time: Thu May 22 00:37:33 EDT 2025

Powered by FUDForum. Page generated in 0.06738 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top