Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin does not sign in again after the web session timed out #178

Closed
cg-d opened this issue Jul 16, 2015 · 10 comments
Closed

Plugin does not sign in again after the web session timed out #178

cg-d opened this issue Jul 16, 2015 · 10 comments
Labels

Comments

@cg-d
Copy link

cg-d commented Jul 16, 2015

I started using the plugin and it worked quite nicely (after my workaround in #12 was in place). I sent my laptop to sleep and now the plugin does not work anymore because it will not try again to login to gerrit. It just shows me the 400 and basically forces me to restart IDEA :-/

@uwolfer
Copy link
Owner

uwolfer commented Jul 16, 2015

@cg-d: What's the version of your Gerrit instance?

@cg-d
Copy link
Author

cg-d commented Jul 17, 2015

2.11

@uwolfer
Copy link
Owner

uwolfer commented Jul 20, 2015

This is a bug when using the plugin against a Gerrit 2.11 server. I have fixed this issue - but the fix will only be available in Gerrit 2.12: https://gerrit-review.googlesource.com/#/c/67464/

If you have access to Gerrit server configuration, you can extend web session timeout:
https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#cache ("web_sessions").

@AlexJF
Copy link

AlexJF commented Nov 29, 2016

This seems to have resurged?

Gerrit URL: https://review.gerrithub.io (version at the time of writing: 2.13.3-1753-g8e7a8e4)

Gerrit toolbox in IntelliJ shows no changes. Selecting 'Me' in Owner filter results in:

18:07	Failed to get Gerrit changes.: Request not successful. Message: Bad Request. Status-Code: 400. Content: Not Signed In.

@uwolfer
Copy link
Owner

uwolfer commented Nov 29, 2016

@AlexJF: What version of IntelliJ are you using?

@AlexJF
Copy link

AlexJF commented Nov 29, 2016

2016.3. In fact, I think the issue came up right after the upgrade although I can't be certain.

@uwolfer
Copy link
Owner

uwolfer commented Nov 29, 2016

@AlexJF: IntelliJ 2016.3 changed a lot in password safe handling. Can you please try to re-enter the password in settings? And probably check if the workarounds in issue #248 help in your case?

@AlexJF
Copy link

AlexJF commented Nov 30, 2016

Just reentering the password didn't work. What did appear to work (at least until now) was:

  1. Settings->Appearance & Behaviour->System Settings->Passwords, chossing "Do not save".
  2. Restart IntelliJ
  3. Settings->Appearance & Behaviour->System Settings->Passwords, reselect "In Native Keychain"

@uwolfer
Copy link
Owner

uwolfer commented Aug 13, 2017

Can you still reproduce this issue?

@uwolfer
Copy link
Owner

uwolfer commented Sep 10, 2017

Please add a comment if you still can reproduce this issue.

@uwolfer uwolfer closed this as completed Sep 10, 2017
stafichuk pushed a commit to stafichuk/gerrit-intellij-plugin that referenced this issue Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants