# Dash Deployment on heroku - runtime error

**URL:** <https://community.plotly.com/t/dash-deployment-on-heroku-runtime-error/35261>\
**Category:** Dash Python\
**Created:** [February 21, 2020, 1:26am UTC](https://community.plotly.com/t/dash-deployment-on-heroku-runtime-error/35261 "2020-02-21T01:26:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akulchhillar](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/akulchhillar/32/9519_2.png) [@akulchhillar](https://community.plotly.com/u/akulchhillar)\
**Post date:** [February 21, 2020, 1:26am UTC](https://community.plotly.com/t/dash-deployment-on-heroku-runtime-error/35261/1 "2020-02-21T01:26:42Z")

</div>

Hi everyone, I have deployed the dash app on Heroku. The deployment has been successful however when I run the app I get an Application error and Heroku asks me to look at the logs of the app. On looking at the logs I get WORKER TIMEOUT error.

Can someone help?

---

<div class="post-metadata">

**Author:** ![flyingcujo](https://avatars.discourse-cdn.com/v4/letter/f/e480ec/32.png) [@flyingcujo](https://community.plotly.com/u/flyingcujo)\
**Post date:** [February 21, 2020, 11:53am UTC](https://community.plotly.com/t/dash-deployment-on-heroku-runtime-error/35261/2 "2020-02-21T11:53:53Z")

</div>

I believe Heroko limits web processes to 30 seconds - how long are your callbacks taking?

---

<div class="post-metadata">

**Author:** ![vtwxyz](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@vtwxyz](https://community.plotly.com/u/vtwxyz)\
**Post date:** [April 12, 2020, 2:17am UTC](https://community.plotly.com/t/dash-deployment-on-heroku-runtime-error/35261/3 "2020-04-12T02:17:24Z")

</div>

How do you check how long the callbacks take?  
@flyingcujo

---

<div class="post-metadata">

**Author:** ![flyingcujo](https://avatars.discourse-cdn.com/v4/letter/f/e480ec/32.png) [@flyingcujo](https://community.plotly.com/u/flyingcujo)\
**Post date:** [April 18, 2020, 4:40pm UTC](https://community.plotly.com/t/dash-deployment-on-heroku-runtime-error/35261/4 "2020-04-18T16:40:31Z")

</div>

I just noted the time (via `datetime.datetime.now()`) at the start and end of the callback and did a diff
