You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/08/04 14:27:56 UTC

[GitHub] [cloudstack] Spaceman1984 opened a new issue #4242: Unable to login with latest master 2020/08/04

Spaceman1984 opened a new issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   UI/API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.15
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   Unable to log in
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   Start up management server
   Go to login page
   Try to log in using credentials:
   admin
   password
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Redirect to dashboard
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   No redirect
   
   Json response from API call:
   listcapabilitiesresponse: {uuidList: [], errorcode: 401, errortext: "unable to verify user credentials"}
   errorcode: 401
   errortext: "unable to verify user credentials"
   uuidList: []
   ~~~
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669015225


   Hi @Pearl1594 , seems like this is an issue that occurs when running an older version before going to latest master, I was able to log in using a guest session on chrome. Where do I find the sessionkey and path?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669026146


   ![Cookies](https://user-images.githubusercontent.com/49917670/89383278-82a25200-d6fc-11ea-9e1d-c263c0ce36d8.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669026431


   @Pearl1594 seems like these cookies will expire tomorrow


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669026146


   ![Cookies](https://user-images.githubusercontent.com/49917670/89383278-82a25200-d6fc-11ea-9e1d-c263c0ce36d8.png)
   This is from the browser session where I could log in before switching to master


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669064459


   @Spaceman1984 on latest branch/master what you're working on if you clear application cache (see clear storage on the Application tab) - are you able to log in? Are you using old UI or Primate for testing UI?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669086815


   @rhtyd  I'm using the old UI. If I clear the cache, the immediate problem is gone. but that is a workaround that doesn't address the issue. 
   
   Just by looking at the pictures I uploaded, I can see an extra sessionkey with a different path. Possibly the problem here is that a new session key is added but the old incorrect sessionkey is being checked for authentication?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669018568


   @Spaceman1984 In your browser's dev tools, goto storage -> cookies. There you'd see the sessionkey; clicking on it, will fetch you details of the respective cookie.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-668976542


   @Spaceman1984 I am unable to reproduce the issue. This issue may however crop up if you have cookies of another session. There was a PR merged into master that handles purging of (multiple session key) cookies (https://github.com/apache/cloudstack/pull/4176). In case there exists session Key cookies of another session - try clearing out your cache once, and then test if this issue crops up again.
   Also, could you  please share the sessionkey and path details. Thanks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Pearl1594 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669142123


   @Spaceman1984  If we are moving from an old to the newer code base with the fix in place, there would be a need to clear any session keys left behind that was not cleaned earlier during the logout process. Further on, you will not see the issue as the PR mentioned earlier will handle purging them.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669204667


   Ok @Pearl1594,  sounds like this is a duplicate issue then, closing.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669087721


   @rhtyd This is an edge case with a workaround, maybe we can close this one?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 closed issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Spaceman1984 closed issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-668630903


   cc @Pearl1594 @davidjumani 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4242: Unable to login with latest master 2020/08/04

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4242:
URL: https://github.com/apache/cloudstack/issues/4242#issuecomment-669029960


   
   ![Cookies-Guest](https://user-images.githubusercontent.com/49917670/89383838-7e2a6900-d6fd-11ea-8f88-67c32902990e.png)
    
   The cookies from the guest session doesn't include a sessionkey for /client, maybe the different path on the new version is causing the issue.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org