Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a bokeh server with Binder from documentation does not work #291

Open
Mikejmnez opened this issue Jul 11, 2024 · 1 comment
Open
Labels

Comments

@Mikejmnez
Copy link

don't know if this is the appropriate place for it. But here it goes:

I am very interested in running a Bokeh server app within Binder. It seems the bokeh App can run it. For example, with Bokeh 3.5.0 I do the following in the Binder terminal

bokeh serve --port=5006 App.py

and the app runs with output:

2024-07-11 06:53:16,223 Bokeh app running at: http://localhost:5006/App
2024-07-11 06:53:16,224 Starting Bokeh server with process id: 191
2024-07-11 06:53:31,239 [pid 191] 0 clients connected
2024-07-11 06:53:31,239 [pid 191]   /App has 0 sessions with 0 unused

I then go to the proxy URL : <binder_url>/proxy/5006/App

And the browser seems load the header since on the tab favicon appears the name of the App. However the page remains white and nothing ever displays. For the record, with the same (mamba) environment I can run the app just fine in my personal laptop.

I thought I was doing some wrong. But then I went to the documentation which has this example for exactly doing what I want to do. This example is also part of BInder's official documentation running-a-bokeh-server-with-binder
Running the Binder in the example just mentioned leads to the same problem I am having: - white page and never actually displays the app. Note that in the example in the documentation, there is configuration so that upon building the Binder simply runs the App.

I have tried different browsers but I always get the same result.

From the Discourse topic Creating a shareable Bokeh dashboard with Binder, it seems this example was first written/approached back in 2019 so it is likely outdated. But I don't discard the fact that I am prob doing something wrong...

@manics
Copy link
Member

manics commented Jul 11, 2024

This repo is mostly used by mybinder operators. We usually rely on the community's help with these sorts of questions- there's so many ways to run things on mybinder there's no way a small team can keep up with everything 😄

Try posting on https://discourse.jupyter.org/ with a link to your current attempt, and hopefully someone will be able to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants