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 #4

Closed
Mikejmnez opened this issue Jul 11, 2024 · 1 comment
Closed

Comments

@Mikejmnez
Copy link

Mikejmnez commented Jul 11, 2024

I am very interested in running a Bokeh server app within Binder. It seems the bokeh App can run. 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 every 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...

@Mikejmnez
Copy link
Author

Oh, I think perhaps this is not the place for it. I apologize. I moved the issue to jupyterhub/mybinder.org-user-guide#291 and will close this for now.

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

No branches or pull requests

1 participant