I’m still new to Dash, and your help would be greatly appreciated! The server automatically crashes, and I can’t figure out why.
There were no other errors output from my app and my callbacks work fine.
The only error message is the following:
Callback failed: the server did not respond.
(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser’s console.)
Error: Callback failed: the server did not respond.
at http://127.0.0.1/_dash-component-suites/dash_renderer/dash_renderer.v1_9_1m1617985068.dev.js:93428:11
Sometimes the app crashes as soon as I open the app and nothing is viewable apart from empty components, sometimes the app crashes after the default page is rendered, sometimes the app crashes after I select another item in the dropdown.
Has anyone encountered the same problem and know how to fix this?
I wasn’t sure how to get the server log since I’m still new. I was hosting the app on local host and this is the command prompt output after I set dev_tools_silence_routes_logging = False. Let me know if this is what you’re referring to!
Great, the previous message I posted was already with debug=True set.
But the following Error: No active result set appears occasionally as well, though not always.
There’s also these two errors sometimes, ERROR: Error! Unsupported type identifier for column @ UNKNOWN TYPE (precision 0, scale 0))
ERROR: ‘NoneType’ object has no attribute ‘get_row_count’
I’m only confused because the app works fine sometimes but the entire app crashes the other times when I didn’t change any of my code.
Hello, I have been facing the same issue. However my app doesnt crash and all the components work as intended. But the message:
Callback failed: the server did not respond.
keeps popping up on starting app.
I even set prevent_initial_callbacks = True and debug= True. To avoid repeated reloading, i have set use_reloader=False