# Unable to launch Jupyter on Binder

**URL:** <https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102>\
**Category:** Binder\
**Created:** [April 25, 2023, 2:57pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102 "2023-04-25T14:57:17Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidtauriello](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/davidtauriello/32/9728_2.png) [@davidtauriello](https://discourse.jupyter.org/u/davidtauriello)\
**Post date:** [April 25, 2023, 2:57pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/1 "2023-04-25T14:57:17Z")

</div>

Hi - I’m not sure if this is the right place to raise this issue but I have a Jupyter notebook that has faithfully (as of early March) opened.

With no changes to the .ipynb or environment.yml I am now seeing only ‘Invalid build token’ errors when I try to open it:

> **[GitHub: xbrlus/xule/jupyter](https://mybinder.org/v2/gh/xbrlus/xule/jupyter?filepath=sample.ipynb)**
>
> Click to run this interactive environment. From the Binder Project: Reproducible, sharable, interactive computing environments.

Any suggestions for code or environment updates are welcome.

Thanks,  
David

---

<div class="post-metadata">

**Author:** ![Junior19](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/junior19/32/9531_2.png) [@Junior19](https://discourse.jupyter.org/u/Junior19)\
**Post date:** [April 25, 2023, 3:14pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/2 "2023-04-25T15:14:58Z")

</div>

Hi, I am in the same situation =(, please help !!!

---

<div class="post-metadata">

**Author:** ![manics](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/manics/32/85_2.png) [@manics](https://discourse.jupyter.org/u/manics)\
**Post date:** [April 25, 2023, 3:19pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/3 "2023-04-25T15:19:25Z")

</div>

We’ve just added a new backend to [mybinder.org](http://mybinder.org) to increase the capacity, something may have gone wrong…

Could you share your repo that causing problems?

---

<div class="post-metadata">

**Author:** ![davidtauriello](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/davidtauriello/32/9728_2.png) [@davidtauriello](https://discourse.jupyter.org/u/davidtauriello)\
**Post date:** [April 25, 2023, 3:27pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/4 "2023-04-25T15:27:50Z")

</div>

thanks, manics - [GitHub - xbrlus/xule at jupyter](https://github.com/xbrlus/xule/tree/jupyter)

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [April 25, 2023, 3:28pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/5 "2023-04-25T15:28:52Z")

</div>

The repo of the first one is at [https://github.com/xbrlus/xule/](https://github.com/xbrlus/xule/) .  
It seems to be the main [mybinder.org](http://mybinder.org) resolver page.  
It launches fine using Google or OVH directly.

---

<div class="post-metadata">

**Author:** ![Junior19](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/junior19/32/9531_2.png) [@Junior19](https://discourse.jupyter.org/u/Junior19)\
**Post date:** [April 25, 2023, 3:33pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/6 "2023-04-25T15:33:03Z")

</div>

> **[GitHub - junior19a2000/AppSearchIT: Mi primera app oficial](https://github.com/junior19a2000/AppSearchIT)**
>
> Mi primera app oficial. Contribute to junior19a2000/AppSearchIT development by creating an account on GitHub.

SearchIT.ipynb (the .ipynb file)

[Binder](https://mybinder.org/v2/gh/junior19a2000/AppSearchIT.git/HEAD?urlpath=%2Fvoila%2Frender%2FSearchIT.ipynb) (this is the link, but now not works. When open it with [mybinder.org](http://mybinder.org), it works)

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [April 25, 2023, 3:37pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/7 "2023-04-25T15:37:02Z")

</div>

> [@Junior19](#):
>
> [Binder](https://mybinder.org/v2/gh/junior19a2000/AppSearchIT.git/HEAD?urlpath=%2Fvoila%2Frender%2FSearchIT.ipynb) (this is the link, but now not works. When open it with [mybinder.org](http://mybinder.org), it works)

Thanks, that’s a convenient work around that you point out for while the issue is worked on.

## Work Around for now

For those with this issue now, if you go to [mybinder.org](http://mybinder.org) and enter your repo in the form and then press the ‘`launch`’ button, it will launch a session.

---

<div class="post-metadata">

**Author:** ![davidtauriello](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/davidtauriello/32/9728_2.png) [@davidtauriello](https://discourse.jupyter.org/u/davidtauriello)\
**Post date:** [April 25, 2023, 3:38pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/8 "2023-04-25T15:38:59Z")

</div>

Thanks, @Junior19 and @fomightez

---

<div class="post-metadata">

**Author:** ![kolibril13](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/kolibril13/32/8343_2.png) [@kolibril13](https://discourse.jupyter.org/u/kolibril13)\
**Post date:** [April 25, 2023, 3:41pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/9 "2023-04-25T15:41:37Z")

</div>

I experienced the same “Invalid build token” issue when opening binder in the ipywidgets and ipyleaflet repo, and created these two issues

1. [Binder link is broken · Issue #3765 · jupyter-widgets/ipywidgets · GitHub](https://github.com/jupyter-widgets/ipywidgets/issues/3765)
2. [Binder link broken · Issue #1111 · jupyter-widgets/ipyleaflet · GitHub](https://github.com/jupyter-widgets/ipyleaflet/issues/1111)

---

<div class="post-metadata">

**Author:** ![minrk](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/minrk/32/13_2.png) [@minrk](https://discourse.jupyter.org/u/minrk)\
**Post date:** [April 25, 2023, 6:07pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/10 "2023-04-25T18:07:21Z")

</div>

We’re pausing gesis in the federation for now while we figure it out. Thanks for reporting!

---

<div class="post-metadata">

**Author:** ![minrk](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/minrk/32/13_2.png) [@minrk](https://discourse.jupyter.org/u/minrk)\
**Post date:** [April 26, 2023, 10:28am UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/11 "2023-04-26T10:28:05Z")

</div>

I believe we’ve resolved the issue, and are readmitting GESIS to the federation. Please let us know if you encounter any further issues!

---

<div class="post-metadata">

**Author:** ![davidtauriello](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/davidtauriello/32/9728_2.png) [@davidtauriello](https://discourse.jupyter.org/u/davidtauriello)\
**Post date:** [April 26, 2023, 12:33pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/12 "2023-04-26T12:33:07Z")

</div>

@minrk - I’m grateful for the attention this issue received and appreciate the prompt fix

---

<div class="post-metadata">

**Author:** ![mettalrose](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/mettalrose/32/9780_2.png) [@mettalrose](https://discourse.jupyter.org/u/mettalrose)\
**Post date:** [April 30, 2023, 11:39pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/13 "2023-04-30T23:39:23Z")

</div>

Hello,

I am having an issue with launching a Jupyter notebook from my GitHub repository ([GitHub - mettalrose/DS2F\_Workshop\_Text\_Mining: These are materials for a workshop that I am conducting on text mining as part of the University of Arizona Libraries DS2F program.](https://github.com/mettalrose/DS2F_Workshop_Text_Mining)) on [mybinder.org](http://mybinder.org). The server is taking a long time to build and the notebook is not launching.

The size of the repository is 1.4 MB and the dependencies listed in the requirements.txt file are nltk, numpy, and matplotlib. I have tried launching the notebook multiple times but the issue persists.

Can someone please help me understand what might be causing this issue and how I can resolve it?

Thank you!

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [May 1, 2023, 3:19am UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/14 "2023-05-01T03:19:52Z")

</div>

> [@mettalrose](#):
>
> The server is taking a long time to build and the notebook is not launching.

It built in a very reasonable time and launched by going [here](https://notebooks.gesis.org/binder/) and entering your repo `https://github.com/mettalrose/DS2F_Workshop_Text_Mining` in the top line of the form and clicking on the `launch` button.

I’m guessing that [this post about Google no longer being in the federation](https://discourse.jupyter.org/t/mybinder-org-reducing-capacity-unstable/19163) might have something to do with why it was rocky for you.

---

<div class="post-metadata">

**Author:** ![mettalrose](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/mettalrose/32/9780_2.png) [@mettalrose](https://discourse.jupyter.org/u/mettalrose)\
**Post date:** [May 1, 2023, 6:07pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/15 "2023-05-01T18:07:26Z")

</div>

@fomightez thanks so much! Building it on GESIS notebooks is working great. However, while building it from scratch is working fine, when I try to use the shareable link to the build with other people, it does not built and leads to infinite delay. Any thoughts on how to share the GESIS build with others? Thank you in advance for your time!

---

<div class="post-metadata">

**Author:** ![rgaiacs](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/rgaiacs/32/20200_2.png) [@rgaiacs](https://discourse.jupyter.org/u/rgaiacs)\
**Post date:** [May 2, 2023, 7:34am UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/16 "2023-05-02T07:34:58Z")

</div>

Hi @mettalrose,

I tested the shared link ([Binder](https://mybinder.org/v2/gh/mettalrose/DS2F_Workshop_Text_Mining/HEAD)) and the log shows

```auto
Found built image, launching...
Launching server...
Server requested
2023-05-02T07:29:46.963110Z [Normal] Successfully assigned ovh2/jupyter-mettalrose-2dds2f-2dhop-5ftext-5fmining-2drws3277z to user-202211a-node-3126ee
2023-05-02T07:29:47Z [Normal] Container image "jupyterhub/mybinder.org-tc-init:2020.12.4-0.dev.git.4289.h140cef52" already present on machine
2023-05-02T07:29:47Z [Normal] Created container tc-init
2023-05-02T07:29:47Z [Normal] Started container tc-init
2023-05-02T07:29:49Z [Normal] Pulling image "2lmrrh8f.gra7.container-registry.ovh.net/mybinder-builds/r2d-g5b5b759mettalrose-2dds2f-5fworkshop-5ftext-5fmining-7e21d3:08c9b03e0c6c3fdc65c611af590c446390196357"
Spawn failed: pod ovh2/jupyter-mettalrose-2dds2f-2dhop-5ftext-5fmining-2drws3277z did not start in 300 seconds!
Launch attempt 1 failed, retrying...

```

It’s not building the container. Only pulling from the registery.

**Do you know how big is this image?** Is it possible to reduce the size of the image based on [How to reduce mybinder.org repository startup time](https://discourse.jupyter.org/t/how-to-reduce-mybinder-org-repository-startup-time/4956) ?

UPTATED: The spawn is failing.

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [May 2, 2023, 12:27pm UTC](https://discourse.jupyter.org/t/unable-to-launch-jupyter-on-binder/19102/17 "2023-05-02T12:27:54Z")

</div>

@rgaiacs It’s not necessarily the size. In the United States OVH fails to work well quite often. See an example of a super small one [in a post here](https://discourse.jupyter.org/t/first-time-user-unable-to-launch-jupyter4kids-binder/19213). A user in Arizona sees the same thing I see in the Northeast trying to launch sessions using that repo. I don’t know what the issue is. I don’t know if it is something in the browser or what. I use Chrome and sometimes launches from OVH are almost instantaneous. **More often though** starting sessions via OVH do what is reported above or [here](https://discourse.jupyter.org/t/first-time-user-unable-to-launch-jupyter4kids-binder/19213) or in several other places on this forum.
