简体   繁体   中英

Internal 500 error on Elastic Beanstalk with plotly dash app

I have created a visualization dashboard on dash by plotly . It is running perfectly on local server.

But when I am uploading it on elastic beanstalk, it is showing an internal 500 error, see below

这是显示的错误。

logs

For anyone who is still looking for solutions, here is how your application.py should be setup

import dash

app = dash.Dash(__name__)
application = app.server
.
. # your stuff ... 
.
if __name__ == '__main__':
    application.run(debug=True)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM