jupyterhub / nbgitpuller

Jupyter server extension to sync a git repository one-way to a local path
https://nbgitpuller.readthedocs.io
BSD 3-Clause "New" or "Revised" License
205 stars 84 forks source link

Parts of Repo are forbidden #290

Open sam1mitchell1-hub opened 1 year ago

sam1mitchell1-hub commented 1 year ago

I am struggling to get access to the notebooks in a repository.

I have cloning the repository by hand using the terminal in TLJH and also using the link created by nbgitpuller (but thats not the issue) and the repo shows up in the JupyterHub server however the contents don’t seem to be accessible. I have tried to navigate to certain directories and the directory just says:

Server error: Forbidden

This happens when trying to pull the repo in both ways. I have also tried it with a much smaller repo that only contains one notebook and I get the same error.

However, when trying to open a requirements file that is in the base directory (i.e. not a notebook and does actually show up), a new window opens and the file shows as:

Error! Forbidden Saving disabled See console for more details

Any help would be greatly appreciated.

welcome[bot] commented 1 year ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

frankier commented 1 year ago

What type of error are you getting? I get the pulling screen, but after redirect I get this. Is this perhaps a problem with 3rd party cookies?

tokenauth

Edited to add: This is with mybinder.org by the way.

frankier commented 1 year ago

@sam1mitchell1-hub Is this the same error as you got or should I open a new issue?

frankier commented 1 year ago

In Chrome/Chromium you should encounter this on BinderHub, when you disable 3rd party cookies.

2023-04-12T12-33-04