500 Internal Server Error

Installed all components for Dash
However the code works but
Neither on my chrome or explorer
Shows the rendering

I also tried it in jupyter lab, notebook, pycharm and python… but all got same error

It states
Internal Server Error
The server encountered an internal error and was unable to complete your request
Either the server is overloaded or there is an error in the Application.

Any solution to this issue?

1 Like

Hi @Eon, welcome to the forum! Can you tell us more about what you are doing? I believe you have written a Python file for a Dash application (like the examples of https://dash.plot.ly/getting-started), and now you would like to launch the app within your browser? The recommend way for this is to execute the command python app.py (from the directory where the app.py file is located, or you can also give a full path) in a terminal.

If you want to launch dash within jupyterlab you need to install the jupyterlab-dash extension and follow the instructions of https://github.com/plotly/jupyterlab-dash.

If you still cannot run the app can you share here the code of your app, or a minimum example reproducing the problem?

@Emmanuelle Thankyou for helping me out!
However it seems some kind of firewall problem with my MSI PC Windows 10 mode
When I changed to my Mac, it worked perfectly and I got a lot of wonderful things done with dash.
Hope I get a chance to help someone like you and all the good people here.

Hi @Emmanuelle, I am facing the same problem, Can you see my code and tell me what needs to be changed?

import dash
from dash import dcc, html
import dash_bootstrap_components as dbc

app = dash.Dash(external_stylesheets = [ dbc.themes.FLATLY],)

card_content = [
dbc.CardHeader(“Card Header”),

        html.H5("Card Title", className = "card-title"),
        html.P("This is some card content that we will reuse",
               className = "card-text")

app.layout = dbc.Container([
dbc.Col(dbc.Card(card_content, color = ‘primary’, inverse = True)),
dbc.Col(dbc.Card(card_content, color = ‘info’, inverse = True)),
dbc.Col(dbc.Card(card_content, color = ‘secondary’, outline = True))


],fluid = True)

if name == “main”: