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

Internal Server error #366

Closed
ghost opened this issue Mar 1, 2017 · 33 comments · Fixed by #380
Closed

Internal Server error #366

ghost opened this issue Mar 1, 2017 · 33 comments · Fixed by #380
Labels

Comments

@ghost
Copy link

ghost commented Mar 1, 2017

After signing in & accepting OAuth for GitHub when I browse to my repo on: https://david-dm.org I'm getting a 500 Internal server error

I've tried removing the OAuth from Github, clearing everything from david-dm.org (Cookies, caches, histories, storage, browsing data) & then re-connecting my github account.

Same issue persists.

@aeimer
Copy link

aeimer commented May 9, 2017

Same Here. Connected with github, added badge to readme => 'pending'.
https://david-dm.org/h-da/geli Throws a 500...

@OmgImAlexis
Copy link

Same here, can't login at all.

@dashersw
Copy link

dashersw commented Jun 4, 2017

Same here. Can't login.

@OmgImAlexis
Copy link

@alanshaw is this being looked at?

@n1ru4l
Copy link

n1ru4l commented Jun 5, 2017

Same for me

@gabrielcsapo
Copy link
Collaborator

Started it up and configured the github options to point at public github with a new clientId and secret, works fine locally. Might just need to check the configuration on production.

@OmgImAlexis
Copy link

@gabrielcsapo I replaced the url secrets. This is all I'm getting.

screen shot 2017-06-02 at 2 21 17 pm

@gabrielcsapo
Copy link
Collaborator

Is that running locally @OmgImAlexis? I am running it locally

@OmgImAlexis
Copy link

Nope that's the actual site.

@alanshaw
Copy link
Owner

alanshaw commented Jun 7, 2017

If anyone has time to submit a pull request that would be great!

@aeimer
Copy link

aeimer commented Jun 7, 2017

@alanshaw What should the PR contain? I don't see a solution for this problem in this thread?
Or should someone debug through this and fix the problem?!

@alanshaw
Copy link
Owner

alanshaw commented Jun 7, 2017

Error in the server logs:

Error: Failed to request access token: Unable to find user from token
    at gh.users.get (/home/david-www/david-www/dist/lib/auth.js:50:23)
    at /home/david-www/david-www/node_modules/github/lib/index.js:894:17
    at callCallback (/home/david-www/david-www/node_modules/github/lib/index.js:728:17)
    at IncomingMessage.<anonymous> (/home/david-www/david-www/node_modules/github/lib/index.js:792:25)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

@OmgImAlexis
Copy link

I've even tried deactivating david-dm in Github's OAuth apps section and logging in again but it still gives me that error. I've used david-dm before so I don't know why this is only happening now.

@gabrielcsapo
Copy link
Collaborator

Yeah I tried to reproduce the issue locally, I am not seeing it. @alanshaw maybe it is a deploy issue?

@kamronbatman
Copy link

I am getting the same issue on the actual david-dm.org site.

@m67hoff
Copy link

m67hoff commented Jun 8, 2017

I would like to try this but I am getting the same issue on the actual david-dm.org site

@jeantimex
Copy link

Same here, cannot sign in to https://david-dm.org, receive "Internal Server Error".

@broccolini
Copy link

I'm also getting this error 😞

@andrevenancio
Copy link

still not working

@raulfdm
Copy link

raulfdm commented Jun 21, 2017

Browser Log:

callback:1 Site cannot be installed: the page has no manifest <link> URL
callback:1 Refused to load the stylesheet 'data:text/css;base64,LyogCiAqIHNodXR1cC5jc3MKICogd2ViIC0gcGVhbnV0IGdhbGxlcn…RhYmxlLmRpZmYgLmNvbW1lbnQKCnsKCWRpc3BsYXk6IGluaXRpYWwgIWltcG9ydGFudDsKfQo=' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.

callback Failed to load resource: the server responded with a status of 500 (Internal Server Error)

@OmgImAlexis
Copy link

@raulfdm that's not the issue, it's a server side error.

@raulfdm
Copy link

raulfdm commented Jun 21, 2017

@OmgImAlexis I know it's, but is the same situation: I try to use OAuth to login and I receive an message internal server error and I can't login. I just paste here console log

@andrevenancio
Copy link

still no progress? :( its just OAuth!!!

@gabrielcsapo
Copy link
Collaborator

Has anyone been able to reproduce locally? It doesn't look like there is a clear cause

@OmgImAlexis
Copy link

@gabrielcsapo as per #366 (comment) it looks like it's a Oauth issue. Maybe more logging needs to be added where the stack trace is from.

@gabrielcsapo
Copy link
Collaborator

will see if I can add PR with that logging, give me 15 minutes 😄

@gabrielcsapo
Copy link
Collaborator

I think I found the problem

@gabrielcsapo
Copy link
Collaborator

upon second glance and complete rebase, the issue was the value being received from the get call, #380 should fix the issue 😄

@alanshaw
Copy link
Owner

Thanks @gabrielcsapo 😄

@aeimer
Copy link

aeimer commented Jun 28, 2017

Yep, signing in works again :) Perfect👌

@gabrielcsapo
Copy link
Collaborator

Yay! 😄

@OmgImAlexis
Copy link

That's fixed it. 👍

@aeimer
Copy link

aeimer commented Jun 28, 2017

Same Here. Connected with github, added badge to readme => 'pending'.
https://david-dm.org/h-da/geli Throws a 500...

How long do you think David-dm needs to check for new repos? I still get the 500 and the badge is still pending. I have signed in with github. Is it necessary to be a admin of the organisation to add a repo to David dm?

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

Successfully merging a pull request may close this issue.