Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

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

Open
John-B opened this issue Jan 4, 2015 · 4 comments
Open

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

John-B opened this issue Jan 4, 2015 · 4 comments

Comments

@John-B
Copy link

John-B commented Jan 4, 2015

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).

@John-B John-B changed the title all paths with directory return 500 all paths with directory, applications or settings return 500 Jan 4, 2015
@benwart
Copy link

benwart commented Jan 21, 2015

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

@benwart
Copy link

benwart commented Jan 21, 2015

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
Copy link

jdotpz commented Jan 21, 2015

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

@patriclougheed
Copy link

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

2015-06-24 11_32_07-badgekit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants