Skip to content

Stop relying on girder.hub.yt for Binder #10360

@pdurbin

Description

@pdurbin

Currently, when you click the Binder button on a dataset with that external tool installed (e.g. my dataset on Harvard Dataverse)...

Screenshot 2024-03-08 at 11 11 45 AM

... you get an error:

{
    "message": "An unexpected error occurred on the server.",
    "type": "internal"
}

I reached out the to person who runs this service at girder.hub.yt and they said we should deploy our own equivalent solution that transforms https://girder.hub.yt/api/v1/ythub/dataverse?datasetPid=doi:10.7910/DVN/TJCLKP&siteUrl=https://dataverse.harvard.edu to https://mybinder.org/v2/dataverse/10.7910/DVN/TJCLKP/ for example. It makes sense. We never intended for it to be a long term solution.

Short term, perhaps we could create and deploy and equivalent rewrite service and adjust our guides...

Screenshot 2024-03-08 at 11 10 38 AM

... to point at docs we write for the new service. Currently, our docs point here:

Longer term (or as an alternative), we could work on this issue:

That way, we wouldn't need to rely on any rewrite service at all. Our external tool framework would be able to construct the URLs that mybinder requires with the DOI in the path instead of in a query parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions