# Deploying to Heroku problems

**URL:** <https://forum.rasa.com/t/deploying-to-heroku-problems/44027>\
**Category:** Rasa Open Source\
**Created:** [May 27, 2021, 12:38pm UTC](https://forum.rasa.com/t/deploying-to-heroku-problems/44027 "2021-05-27T12:38:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim.blackbird](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@tim.blackbird](https://forum.rasa.com/u/tim.blackbird)\
**Post date:** [May 27, 2021, 12:38pm UTC](https://forum.rasa.com/t/deploying-to-heroku-problems/44027/1 "2021-05-27T12:38:22Z")

</div>

I have followed all of the tutorials out there, on the forums and scouring the web, but each time I deploy to Heroku, I get back the same blank response

Running this test

```auto
import requests
# change rasablog with your app name
url = 'https://dford-rasa-titan-stg.herokuapp.com/webhooks/rest/webhook'
myobj = {
    "message": "hello",
    "sender": 'testing',
}
x = requests.post(url, json=myobj)
print(vars(x))

```

Gets me an empty response

```auto
{'_content': b'[]', '_content_consumed': True, '_next': None, 'status_code': 200, 'headers': {'Server': 'Cowboy', 'Date': 'Thu, 27 May 2021 12:36:11 GMT', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Expose-Headers': 'filename', 'Access-Control-Allow-Credentials': 'true', 'Content-Length': '2', 'Content-Type': 'application/json', 'Via': '1.1 vegur'}, 'raw': <urllib3.response.HTTPResponse object at 0x10e149f60>, 'url': 'https://dford-rasa-titan-stg.herokuapp.com/webhooks/rest/webhook', 'encoding': None, 'history': [], 'reason': 'OK', 'cookies': <RequestsCookieJar[]>, 'elapsed': datetime.timedelta(microseconds=142921), 'request': <PreparedRequest [POST]>, 'connection': <requests.adapters.HTTPAdapter object at 0x10e02f6a0>}

```

Here are the logs from Heroku

```auto
2021-05-27T12:36:11.506333+00:00 app[web.1]: 2021-05-27 12:36:11 DEBUG rasa.core.lock_store - Issuing ticket for conversation 'testing'.
2021-05-27T12:36:11.519581+00:00 app[web.1]: 2021-05-27 12:36:11 DEBUG rasa.core.lock_store - Acquiring lock for conversation 'testing'.
2021-05-27T12:36:11.519899+00:00 app[web.1]: 2021-05-27 12:36:11 DEBUG rasa.core.lock_store - Acquired lock for conversation 'testing'.
2021-05-27T12:36:11.520431+00:00 app[web.1]: 2021-05-27 12:36:11 DEBUG rasa.core.tracker_store - Recreating tracker for id 'testing'
2021-05-27T12:36:11.522491+00:00 app[web.1]: 2021-05-27 12:36:11 DEBUG rasa.core.processor - Received user message 'hello' with intent '{'name': 'hello', 'confidence': 1.0}' and entities '[]'
2021-05-27T12:36:11.525138+00:00 app[web.1]: 2021-05-27 12:36:11 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 6 events.
2021-05-27T12:36:11.525866+00:00 app[web.1]: 2021-05-27 12:36:11 DEBUG rasa.core.lock_store - Deleted lock for conversation 'testing'.
2021-05-27T12:36:11.532906+00:00 heroku[router]: at=info method=POST path="/webhooks/rest/webhook" host=dford-rasa-titan-stg.herokuapp.com request_id=9b117a80-e19c-47e7-be64-0eca4bca6e30 fwd="71.206.187.250" dyno=web.1 connect=1ms service=35ms status=200 bytes=224 protocol=https

```

Does anyone have an idea? If I shell into the Heroku app and run `rasa shell` then the interactive CLI chatbot works fine.

This is with a fresh `rasa init` so there is not any extra custom code in here yet. I had numerous issues with my own trained bot, so I tried starting from scratch and still am not getting it to work correctly.

---

<div class="post-metadata">

**Author:** ![egichuki](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@egichuki](https://forum.rasa.com/u/egichuki)\
**Post date:** [January 31, 2022, 2:46pm UTC](https://forum.rasa.com/t/deploying-to-heroku-problems/44027/3 "2022-01-31T14:46:36Z")

</div>

I’m having the same error, did you manage to fix it?
