Login Loopback

I wanted to go ahead and post this here to see if anyone had any bright ideas on how to fix this issue. It is not a show stopper but is very annoying.

Here is the problem:
When at the login page for ProjectPier if you just enter your username and password and hit enter or the "login" button it just redirects you back to the login page. No error, no bad password or username warning, just back to a blank login page. However if you check the "Remember Me for 14 days" check box....viola! you are in.

I think this is very similiar to the problem I was having at the end of the "Want to enable HTTPS on projectpier" thread. Basically I wanted to force the use of https on the site so I was informed on how to set this up. To do this I had to create a redirect so that if someone entered in http://MYURL it would redirect to https://MYURL. However there was a problem...in another config file there was a variable I set to point to http://MYURL prior to deciding to use https. This variable kept inserting http://MYURL into all the links on the page so that when I hit the login button it would get redirected back to https://MYURL without processing my login.

Basically I think the same thing is happening when you don't check the "Remember Me" box. Some variable is causing the site to redirect back to the login page without processing the login. I don't know where to look or how to track that variable down. So I will leave that to the experts. Especially since I could be totally wrong about what is going on.

Thanks

Lucas

login loopback

Just an FYI the changes did not make any difference. I am at a loss as to what to do next. I will keep kicking the tires to try and figure it out but if you do get a chance to look into it any help would be appreciated. If I do find a fix I will definitely post it here as this is the most frustrating problem I have yet had with a system.

Thanks

Lucas

Login Loopback

Well, unfortunately, I would have to spend some time to really solve this and since its not really intended as a feature we are providing on this release of the JumpBox it is going to be low priority.

Your assessment of the issue seems correct. Lets review your situation so I can look back at this when I get time.

1.) You have set a static IP.
2.) Your JumpBox is behind a NAT and has a public IP address that we needed to set in the ProjectPier config file
3.) You have modified the Apache default site to make the app accessible over HTTPS and redirect HTTP to HTTPS
4.) #3 above required you to go back and modify what we did to the config file in #2.
5.) At this point, logins only work if you "save" the login.

Correct anything above that is incorrect.

One thing I don't recall or you haven't said is, is the JumpBox Navigation Bar disabled?

Austin

Login Loopback

Everthing you have detailed is correct. Yes the Jumpbox Navigation Bar is disabled.

One last thing. This appears to be in the ProjectPier Application itself. The workaround by checking the "Remember Me" box is documented in their Forum. However I didn't see where there is an actual fix for this. Just FYI

Thanks

Lucas

Login Loopback

I have done some more digging as this has become an issue that is no longer resolved by the work around of checking the "Remember Me" box. According to the Project Pier website this is a cookie issue and they do have a fix. However I am unsure of how to apply this fix. Could you take a look at ProjectPier forum topic

http://projectpier.org/node/843

I just need to know what I need to do to apply this fix in general and without screwing anything up on the JumpBox.

Thanks

Lucas

Login Loopback

Well, I can't make any guarantees that the changes you refer to are going to solve your problem or not break the application, but since they accepted the change I would say it looks pretty good. As far as interoperability with the JumpBox is concerned a small application level change along those lines should be fine. We only integrate at a few points and this shouldn't disrupt that.

If you want to try it, just save backups of the two files and then make the changes and see if it solves your problem.

One thing that does seem strange is, the post refers to project pier 0.8.2. The latest I am aware of it 0.8.0.2, which is what is in the latest JumpBox. Presumably this is just a typo, or possibly referring to a non-released branch.

Oh, one last thing to make note of. Changes made to existing application files do not get backed up. So if you backup, then restore to a newer version of the JumpBox, you will have to make these changes again.

Austin

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.