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

Oops, an error occured #32

Open
vorburger opened this issue Aug 28, 2014 · 5 comments
Open

Oops, an error occured #32

vorburger opened this issue Aug 28, 2014 · 5 comments

Comments

@vorburger
Copy link

Hello - I've hit a red "Oops, an error occured" with This exception has been logged with id 6jbmp8eo0 & 6jbmpa5ai (tried) twice, if you can fix this it would be great to use this tool.. here's exact steps of what I was doing:

  1. went to https://gu-who.herokuapp.com/
  2. clicked on "Log In via GitHub!"
  3. using myself (vorburger)
  4. choose the TemenosDS org. (which was just set-up -- there isn't some cacheing issue or something?)
  5. it went to https://gu-who.herokuapp.com/audit/TemenosDS
  6. the red "Oops, an error occured" page appeared
@rtyley
Copy link
Member

rtyley commented Aug 28, 2014

Hi @vorburger, thanks for reporting your issue! So, you've fallen foul of a rule I implemented on gu:who to prevent casual denial-of-service attacks. gu:who requires that your organisation has at least one public member whose account is over 3 months old. At the moment your organisation has zero public members:

https://github.com/orgs/TemenosDS/people

If you can make even one of your members public, so long as their account is over 3 months old, then gu:who will not blow up.

Apologies for the poor way this issue is reported to you, the user. The error message in the logs (updated with #26) is actually quite clear:

2014-08-28T14:56:59.699945+00:00 app[web.1]: [ESC[31merrorESC[0m] play - Cannot invoke the action, eventually got an error: java.lang.IllegalArgumentException: requirement failed: Organisation @TemenosDS has no *public* members.
2014-08-28T14:56:59.710113+00:00 app[web.1]: 
2014-08-28T14:56:59.710117+00:00 app[web.1]: The organisation must have at least one public member whose GitHub account is over 3 months old.
2014-08-28T14:56:59.710126+00:00 app[web.1]:    at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.11-2.3.2.jar:2.3.2]
2014-08-28T14:56:59.699952+00:00 app[web.1]: If your account is over 3 months old, please go to https://github.com/orgs/TemenosDS/members

I need to fix the user-experience here (gotta pick a scala validation framework!), so will leave this bug open to remind myself.

@vorburger
Copy link
Author

Thanks for your prompt response! Sorry to be a pain, but.. are you sure? Because now I'm public on https://github.com/TemenosDS, and retried it, but hit the same red error, logged with IDs 6jbod91gl & 6jbodccak (one Token and one via GitHub).

@rtyley
Copy link
Member

rtyley commented Aug 28, 2014

I can see you've resolved the public-member problem! Have you setup your 'people' repo?

https://github.com/guardian/gu-who/blob/master/people-repo.md

@vorburger
Copy link
Author

Oh OK, now it all works... indeed it's a little difficult to guess this from "6jbod91gl" ! ;-)

@rtyley
Copy link
Member

rtyley commented Aug 29, 2014

Yeah, the feedback to users through the web interface needs to be improved!

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

2 participants