Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

OSError: Address 'http://127.0.0.1:8050' already in use #3900

Copy link
Copy link
Open
@schwabts

Description

@schwabts
Issue body actions

I confirmed in my setup that the work around for
How to shutdown a JupyterDash app in external mode?
does not
work anymore… 😦

  • Is it too much to ask for a documented way to tell Dash apps to shutdown using a public method?
    Trying the proposed work around a proper way to do it results in the error
    • AttributeError: 'JupyterDash' object has no attribute '_terminate_server_for_port'
  • My specific use case is the example Dash Python > Dash Core Components > Upload > Displaying Uploaded Spreadsheet Contents with
    • the additional import statement from jupyter_dash import JupyterDash and
    • dash.Dash replaced by jupyter_dash.JupyterDash in the second line after the import statements to let it run in a Jupyter Notebook.
  1. Displaying Uploaded Spreadsheet Contents is one of several such examples I collected in a Jupyter Notebook for exploring Dash.
  2. When I run different cells with different examples one after another there the localhost address gets replaced everytime a new cell is executed.
  3. In order to explore the specific use case further I copied it into another notebook. Trying to run the example from the other notebook afterwards the OSError: Address already in use occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbacklogbugsomething brokensomething brokenregressionthis used to workthis used to work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.