Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Login Issues with hudson(unpredictable logins)
Login Issues with hudson [message #1092422] Thu, 22 August 2013 15:40 Go to next message
Anil Kumar is currently offline Anil Kumar
Messages: 2
Registered: August 2013
Junior Member
Hi - We deployed hudson-3.0.1 on apache-tomcat-7.0.39. We are hitting lot of login issues. The logins are unpredictable

Access Control
1. Security Realm : Hudson's own user database
Allow users to signup and Notify user of hudson account creation option enabled.

2. Project-based MATRIX Authorization Strategy

We created a user called deploy. I am able to login as deploy user, But another user who want to login and run his jobs is not able to login consistently.

a. Yesterday he was able to login through Firefox and IE but not chrome. Today only Firefox login is working.

I see 403 when user is not able to login

Unsuccessful Login
10.4.40.22 - - [22/Aug/2013:15:04:15 -0400] "POST /hudson-3.0.1/j_spring_security_check HTTP/1.1" 302 -
10.4.40.22 - - [22/Aug/2013:15:04:15 -0400] "GET /hudson-3.0.1 HTTP/1.1" 403 589
10.4.40.22 - - [22/Aug/2013:15:04:15 -0400] "GET /hudson-3.0.1/login?from=%2Fhudson-3.0.1 HTTP/1.1" 200 11954
10.4.40.22 - - [22/Aug/2013:15:04:15 -0400] "GET /hudson-3.0.1/static/f580e051/plugin/translation/flags.png HTTP/1.1" 403 699

Successful Login

10.5.33.38 - - [22/Aug/2013:15:07:23 -0400] "POST /hudson-3.0.1/j_spring_security_check HTTP/1.1" 302 -
10.5.33.38 - - [22/Aug/2013:15:07:23 -0400] "GET /hudson-3.0.1/ HTTP/1.1" 200 36155
10.5.33.38 - - [22/Aug/2013:15:07:23 -0400] "GET /hudson-3.0.1/plugin/disk-usage/icons/diskusage48.png HTTP/1.1" 304 -
10.5.33.38 - - [22/Aug/2013:15:07:23 -0400] "GET /hudson-3.0.1/static/f580e051/images/32x32/red.png HTTP/1.1" 200 4202
10.5.33.38 - - [22/Aug/2013:15:07:23 -0400] "GET /hudson-3.0.1/static/f580e051/plugin/translation/flags.png HTTP/1.1"

I don't see any errors in catalina.out

Any idea as to why the login are not working properly ?


Thanks,
Kumar





Re: Login Issues with hudson [message #1092555 is a reply to message #1092422] Thu, 22 August 2013 20:10 Go to previous messageGo to next message
Winston Prakash is currently offline Winston Prakash
Messages: 406
Registered: August 2011
Location: Fremont, CA USA
Senior Member
One thing I noticed, the dialog could say bogus "Could not login" while the user is able to login, but not authorized (403 forbidden) to go to a location. In that case it could help to always go to the main Dashboard and then login.



Winston Prakash
Eclipse Hudson team
Re: Login Issues with hudson [message #1095212 is a reply to message #1092555] Mon, 26 August 2013 15:51 Go to previous messageGo to next message
Anil Kumar is currently offline Anil Kumar
Messages: 2
Registered: August 2013
Junior Member
Thanks Prakash. I don't think it is related to going into unauthorized location. The issue is still there even if you go to main dashboard. Only a restart on tomcat is fixing the issue. I have this issue in all dev, QA and prod instnaces Sad .

[Updated on: Mon, 26 August 2013 15:55]

Report message to a moderator

Re: Login Issues with hudson [message #1114918 is a reply to message #1095212] Mon, 23 September 2013 08:11 Go to previous messageGo to next message
Jorge Campos is currently offline Jorge Campos
Messages: 2
Registered: September 2013
Junior Member
Hi Guys,

I have here the very same issue. Just the user that I create for me is unable to login. I have always to restart the tomcat to fix the problem. Aldo I noticed that this happens just when I log in with my user and let the browser session expire.

I'm using chrome. Even trying with another browsers the issue persists, after a session expire, My user cannot login anymore.
Re: Login Issues with hudson [message #1130840 is a reply to message #1114918] Wed, 09 October 2013 20:51 Go to previous message
Winston Prakash is currently offline Winston Prakash
Messages: 406
Registered: August 2011
Location: Fremont, CA USA
Senior Member
I'm guessing you are not able to login using the dialog. Can you try using the form http://hudson-server/login. I guess the dialog is swallowing some information. The form login may be able to display more info.

Also I fixed the dialog in Hudson 3.1.0 to show more details


Winston Prakash
Eclipse Hudson team
Previous Topic:Promoted Builds Plugin on 3.1.0
Next Topic:Hudson 3.1.0 requirements?
Goto Forum:
  


Current Time: Wed Aug 27 15:11:00 EDT 2014

Powered by FUDForum. Page generated in 0.09353 seconds