registration problem
Galaxy-Dev, I have a new galaxy installation under Linux. It's running as an Apache proxy (subdirectory) with authentication through galaxy (not apache). When trying to register a new user (which will be the administrator), the registration page declare success ("Now logged in as foo") but I am still just an anonymous user. If I try to login, it appears to succeed but I'm still anonymous. If I purposely enter the wrong password, the system complains as it should but I never get proper credentials. If I take away the Apache proxy configuration and run on the internal server, the problem goes away: I can login as expected and get the correct environment. The error is clearly here but I feel like I've followed the procedure written on the wiki. Specifically, Apache ----------- RewriteEngine on RewriteRule ^/galaxy$ /galaxy/ [R] RewriteRule ^/galaxy(.*) http://localhost:8082$1 [P] # 8080 and 8081 are busy Galaxy --------- [filter:proxy-prefix] use = egg:PasteDeploy#prefix prefix = /galaxy [app:main] filter-with = proxy-prefix cookie_path = /galaxy Any idea of what might be wrong? Don't know if it matters but I'm using a MySQL database. I can see new users and it seems to work well enough to complain when bad passwords are entered. -- Wes
On Mon, Mar 11, 2013 at 9:04 AM, Wesley Schaal <wesley.schaal@orgfarm.uu.se> wrote:
When trying to register a new user (which will be the administrator), the registration page declare success ("Now logged in as foo") but I am still just an anonymous user. If I try to login, it appears to succeed but I'm still anonymous. If I purposely enter the wrong password, the system complains as it should but I never get proper credentials.
I have seen this several time in my local install and is always a cookie's problem. Please delete all cookies for you galaxy hostname and try again. I wonder if the wiki should have a FAQ section and this cookie's issue should be at the top. Hope it helps, Carlos
Hi Wesley, Carlos, We'd very much appreciate that you both took the time to report details about this issue. We captured this in the Trello ticket: https://trello.com/c/FLlynVZm This issue was closed in another thread on 2/4/2014, please see ticket for details. May a known already, but just in case Wesley, or others finding this thread through a search, didn't see that one, we wanted to post follow-up here, too, and a "Big thanks!". As for documentation, we decided to add this to our wiki for now (cookies were unique to this issue). More concerning trouble-shooting in the wiki is gaining traction (new page/s) .. community contributions welcomed! https://wiki.galaxyproject.org/Admin/GetGalaxy#Troubleshooting Best, Jen On 3/11/13 6:34 AM, Carlos Borroto wrote:
On Mon, Mar 11, 2013 at 9:04 AM, Wesley Schaal <wesley.schaal@orgfarm.uu.se> wrote:
When trying to register a new user (which will be the administrator), the registration page declare success ("Now logged in as foo") but I am still just an anonymous user. If I try to login, it appears to succeed but I'm still anonymous. If I purposely enter the wrong password, the system complains as it should but I never get proper credentials. I have seen this several time in my local install and is always a cookie's problem. Please delete all cookies for you galaxy hostname and try again.
I wonder if the wiki should have a FAQ section and this cookie's issue should be at the top.
Hope it helps, Carlos
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
-- Jennifer Hillman-Jackson http://galaxyproject.org
participants (3)
-
Carlos Borroto
-
Jennifer Jackson
-
Wesley Schaal