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

Error "Unknown error. Try logging in." doesn't provide enough information #47

Open
studgeek opened this issue May 16, 2023 · 1 comment

Comments

@studgeek
Copy link

I get the error "Error "Unknown error. Try logging in." even though see some CLs listed in GerritMonitor. If I click on "Try logging in" I am taken to a repo's gerrit page that seems to login in just fine.

@studgeek
Copy link
Author

I tracked down the cause of this by looking at the console logs. It seemed to be Gerrit Instance URL that had a CORS error. I switched to different variation of the URL and that fixed the issue.
Some thoughts on how this could perhaps be better handled:

In GerritMonitor options that Gerrit Instance was not enabled, not I still got the error. So it seems GerritMonitor was trying to connect to it even though it wasn't enabled.

It would be very helpful if in the error message or in options it would list Gerrit Instances it is getting an error for.

@studgeek studgeek changed the title Error "Unknown error. Try logging in." Error "Unknown error. Try logging in." doesn't provide enough information May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant