"Loading..." when opening localhost

@ollerend I am having the same problem. Have you solved this issue?

I have put it on a server and it is stuck at “Loading …”. The link is http://nebraska-water.xyz/swatviewer

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_renderer/react@16.v1_8_0m1600071691.13.0.min.js

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_renderer/polyfill@7.v1_8_0m1600071691.8.7.min.js

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_renderer/react-dom@16.v1_8_0m1600071691.13.0.min.js

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_html_components/dash_html_components.v1_1_1m1600071694.min.js

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_uploader/_build/dash_uploader.v0_3_1m1600071696.min.js

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_core_components/dash_core_components.v1_12_0m1600071693.min.js

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_renderer/prop-types@15.v1_8_0m1600071691.7.2.min.js

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_core_components/dash_core_components-shared.v1_12_0m1600071693.js

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_renderer/dash_renderer.v1_8_0m1600071691.min.js

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://nebraska-water.xyz/_dash-component-suites/dash_bootstrap_components/_components/dash_bootstrap_components.v0_10_6m1600071717.min.js

SCRIPT5009: SCRIPT5009: 'DashRenderer' is not defined

Solve the problem by Deploy Dash on apache server [solved!]

I just add these lines after app construction:

    app = dash.Dash(
        __name__,
        server=server,
        external_stylesheets=[dbc.themes.BOOTSTRAP],
        # requests_pathname_prefix='/swatviewer/' # defining here will not work
    )
    
    app.config.update({'requests_pathname_prefix': '/<appname>/'})
1 Like