Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Fri, 19 April 2013 00:31 Go to next message
George Francis is currently offline George FrancisFriend
Messages: 4
Registered: July 2009
Junior Member
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: Fri, 19 April 2013 00:43]

Report message to a moderator

Re: Jenkins build server - Server validation failed: Unexpected error: Forbidden [message #1047979 is a reply to message #1044471] Tue, 23 April 2013 23:00 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
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 17:09 Go to previous messageGo to next message
Tom McLaughlin is currently offline Tom McLaughlinFriend
Messages: 1
Registered: May 2013
Junior Member
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 22:57 Go to previous message
George Francis is currently offline George FrancisFriend
Messages: 4
Registered: July 2009
Junior Member
I have not filed a bug.
Cheers,
Previous Topic:Subtasks ghosted (grayed out)
Next Topic:No Active Task timing.
Goto Forum:
  


Current Time: Sat Dec 20 20:53:40 GMT 2014

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

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