deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

[Bug]: new project page shows "API Error An internal server error occurred."

Open gaoxiaoliangz opened this issue 1 year ago • 5 comments

Problem description

Logged in using personal github account(just this one). Shows an error alert. And the ui is always loading. Screenshot 2025-01-05 at 17 33 19

Steps to reproduce

open https://dash.deno.com/new_project

Expected behavior

not showing errors, user repos selectable

Environment

No response

Possible solution

No response

Additional context

No response

gaoxiaoliangz avatar Jan 05 '25 09:01 gaoxiaoliangz

I am not seeing this error for my personal account. It seems specific to your account, or just a transient error. Do you happen to have any idea on whether this issue has been there for a while? We will check our internal logs to see what was exactly going on.

magurotuna avatar Jan 05 '25 09:01 magurotuna

@magurotuna it works yesterday, and I created several tesing projects already. And currently it never works.

gaoxiaoliangz avatar Jan 05 '25 09:01 gaoxiaoliangz

And this soft of error is not specific to new project page. I see this error on urls like https://dash.deno.com/projects/{projectId}/settings as well, but not on https://dash.deno.com/projects/{projectId}.

gaoxiaoliangz avatar Jan 05 '25 10:01 gaoxiaoliangz

Currently I'm not seeing this error. This situation lasted for several hours. Everything seems to work now.

gaoxiaoliangz avatar Jan 06 '25 02:01 gaoxiaoliangz

Glad to hear that this issue is gone. But nevertheless, we should identify what caused it - I checked the log and found that GitHub API rejected with Bad Credential when we tried to fetch the list of your GitHub repositories. So I guess this error is gone after some time because you signed in with GitHub again, which refreshes the API token. If this is the case, what our system needs to do in this kind of situation is to try to refresh API tokens before returning errors to end users. I will add this improvement to our issue tracker so we can address it soon.

magurotuna avatar Jan 07 '25 10:01 magurotuna