berkeley-dsep-infra / datahub

JupyterHubs for use by Berkeley enrolled students
https://docs.datahub.berkeley.edu
BSD 3-Clause "New" or "Revised" License
62 stars 37 forks source link

Public Health Repo throwing error #2586

Closed balajialg closed 3 years ago

balajialg commented 3 years ago

publichealth.datahub.berkeley.edu server with people trying to access a datahub link for the first time (see below). Restarting the individual servers seems to work, but we don't want to have 100 people emailing us with this question when the datahub link gets released next week. Any idea why this is happening/how to pre-empt it? It seems to be happening for some but not all testers.****

balajialg commented 3 years ago

@yuvipanda How to avoid this error going forward?

felder commented 3 years ago

image

yuvipanda commented 3 years ago

From looking at the screenshot, we notice the [...] characters in the git URL, suggesting that the URL was somehow 'corrupted' before being clicked. We see that if you paste the link on slack, it displays it with the [...] (something like https://publichealth.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithu[...]Intro-to-Epidemiology), and if you click that, you get the reported error.

So I think what happened is the URL got corrupted this way somewhere before the user clicked on it, leading to this error. I've asked the reporting user (on slack) to check that, and we can re-open this if that is the case.

However, we should open an issue in https://github.com/jupyterhub/nbgitpuller/ about better error messages! This is incomprehensible for most people.

felder commented 3 years ago

heh yeah I thought maybe the error message was truncating the URL :P

yuvipanda commented 3 years ago

I opened https://github.com/jupyterhub/nbgitpuller/issues/198 upstream

balajialg commented 3 years ago

that's awesome @yuvipanda ! Who maintains nbgitpuller repo actively?

yuvipanda commented 3 years ago

@balajialg https://github.com/jupyterhub/nbgitpuller/graphs/contributors has a list of contributors. Recently, @sean-morris has been working on it from Berkeley - although he hasn't been doing anything in the UI space yet.

balajialg commented 3 years ago

Thanks @yuvipanda