mozilla / openbadges-badgekit

No Longer Maintained
https://badgekit.org
Mozilla Public License 2.0
123 stars 84 forks source link

all paths with directory, applications or settings return 500 #475

Open John-B opened 9 years ago

John-B commented 9 years ago

My self-hosted instance of Badgekit is showing the error also found on the hosted version (according to https://bugzilla.mozilla.org/show_bug.cgi?id=1069723). That is, all paths with 'directory', 'applications' or 'settings' in them return 500.

node version: v0.10.35

I have a working badgekit-api service running. Attempting to manually insert an account and accountPermission for myself into the db has not fixed the problem. Persona authentication succeeds, but the paths /directory, /applications and /settings all return a 500.

I set DEBUG=true in my .env file but the output in the shell where I start the app has nothing more useful than "GET /directory HTTP/1.1" 500 -"

I can get into an account listed in the ACCESS_LIST (although the regexp terminations give a syntax error, so I just put the raw email address in quotation marks).

benwart commented 9 years ago

I'm having this same issue and am curious if there is anymore information that isn't public on how to resolve.

benwart commented 9 years ago

After further review of the documentation I have found that this is likely due to the default ACCESS_LIST that is set in the sample.env file. Update this to allow your persona email address to be allowed access.

See: https://github.com/mozilla/openbadges-badgekit/search?utf8=%E2%9C%93&q=ACCESS_LIST

jdotpz commented 9 years ago

It'd be great to update the docs about this.

patriclougheed commented 9 years ago

This is happening on badgkit.org so I am guessing this is not resolved.

2015-06-24 11_32_07-badgekit