Page forever loading

I am trying to integrate a dash inside existing Flask server on ShinyProxy.I am able to initialized the dash but when I opened the url e.g /dashboard/ it is forever loading …
When I do inspect I get this error :

As the error message in your inspect suggests, the resource dash_renderer.[some numbers].js was not loaded.

I can only guess without seeing your code, but it’s probably trying to load that resource from the “root”, i.e. the part of the url that you blacked out + the name of the .js file, but missing the “/dashapp/” part.

If that is the case, you might be able to fix it by adding the requests_pathname_prefix to the dash.Dash() call, e.g.:
app = dash.Dash(your_current_argumentes, requests_pathname_prefix='/dashapp/')
See also the replies from nedned in this thread.

Thanks @MichelH for your response.

I am using this simple code as below :

This seems to be wotking on local server but when I deploy it in ShinyProxy it’s not working .Its initiates the dash (as shown in the screen I sent earlier) but just showing Loading…

def init_dashcomponent(server):
app = dash.Dash(name,server = server,routes_pathname_prefix=’/dashapp/’,suppress_callback_exceptions=True,

app.layout = html.Div("Hello World !!")
logger.debug(" exiting from dash app" )
return app.server

and this is source code :

Mhm, I don’t know much about deployment issues or ShinyProxy. You could try to determine what changes you need to make to the links given in the <script> src in your last image, but other than that, I can’t think of anything.