# Doubt regarding rasa deployment

**URL:** <https://forum.rasa.com/t/doubt-regarding-rasa-deployment/25809>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [March 9, 2020, 5:03am UTC](https://forum.rasa.com/t/doubt-regarding-rasa-deployment/25809 "2020-03-09T05:03:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@steve](https://forum.rasa.com/u/steve)\
**Post date:** [March 9, 2020, 5:03am UTC](https://forum.rasa.com/t/doubt-regarding-rasa-deployment/25809/1 "2020-03-09T05:03:45Z")

</div>

_Version: dev-CC_ I have deployed Rasa X on a gcloud server according to the docs. Has the Rasa X deployment already deployed Rasa opensource also or do i need to start up another instance for deploying rasa opensource?

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [March 9, 2020, 7:39am UTC](https://forum.rasa.com/t/doubt-regarding-rasa-deployment/25809/2 "2020-03-09T07:39:28Z")

</div>

Hi @steve! The Rasa X deployment also comes with Rasa Open Source. You can load your assistant into Rasa X using [Integrated Version Control](https://rasa.com/docs/rasa-x/installation-and-setup/integrated-version-control/#connect-a-git-repository) and start using it 🙂

---

<div class="post-metadata">

**Author:** ![steve](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@steve](https://forum.rasa.com/u/steve)\
**Post date:** [March 9, 2020, 7:55am UTC](https://forum.rasa.com/t/doubt-regarding-rasa-deployment/25809/3 "2020-03-09T07:55:52Z")

</div>

Thank you. I activated Integrated Version Control. Does that mean that if I update the credentials.yml in my git repository It will automatically sync or do I have to update it manually?

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [March 9, 2020, 11:23am UTC](https://forum.rasa.com/t/doubt-regarding-rasa-deployment/25809/4 "2020-03-09T11:23:27Z")

</div>

@steve Integrated Version Control is only for your training data. I recommend checking out [(Ep #11 - Rasa Masterclass) Connecting an assistant to external messaging channels](https://www.youtube.com/watch?v=uYUxJIiinJE&list=PL75e0qA87dlHQny7z43NduZHPo6qd-cRc&index=14&t=0s) to make your assistant accessible to real users via a channel other than [share your bot](https://rasa.com/docs/rasa-x/user-guide/enable-workflows/#conversations-with-test-users).

---

<div class="post-metadata">

**Author:** ![steve](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@steve](https://forum.rasa.com/u/steve)\
**Post date:** [March 11, 2020, 4:42am UTC](https://forum.rasa.com/t/doubt-regarding-rasa-deployment/25809/5 "2020-03-11T04:42:38Z")

</div>

I followed the tutorial and tried to connect to a telegram bot but was unsuccessful. After I added the credentials and restarted using `docker-compose restart` the models I trained disappeared from rasax. Also when I’m not able to train a new model. I have to remove the telegram credentials and restart again to be able to train a model again. I have to add that i did not link a domain name with the VM instance and also it is not using https for that reason.

---

<div class="post-metadata">

**Author:** ![steve](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@steve](https://forum.rasa.com/u/steve)\
**Post date:** [March 11, 2020, 7:16am UTC](https://forum.rasa.com/t/doubt-regarding-rasa-deployment/25809/6 "2020-03-11T07:16:59Z")

</div>

I got it working after I used an old domain I had and setup https certificates as shown in the tutorial. It would be useful to provide information about how only https works with a telegram bot.

---

<div class="post-metadata">

**Author:** ![robynbitner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/robynbitner/32/10988_2.png) [@robynbitner](https://forum.rasa.com/u/robynbitner)\
**Post date:** [November 11, 2020, 12:24pm UTC](https://forum.rasa.com/t/doubt-regarding-rasa-deployment/25809/7 "2020-11-11T12:24:29Z")

</div>

I’m having the same problem. I have already set up the certificates like in the Rasa Master Class video #11. I can access Rasa X using the https address, but I’m having the following error messages when telegram is included in the credentials. Also, my models disappear if telegram is in the credenials.

```
 Starting Rasa X in production mode... 🚀
Traceback (most recent call last):
  File "/opt/venv/bin/rasa", line 8, in <module>
    sys.exit(main())
  File "/opt/venv/lib/python3.7/site-packages/rasa/ __main__.py", line 115, in main
    cmdline_arguments.func(cmdline_arguments)
  File "/opt/venv/lib/python3.7/site-packages/rasa/cli/x.py", line 337, in rasa_x
    run_in_production(args)
  File "/opt/venv/lib/python3.7/site-packages/rasa/cli/x.py", line 396, in run_in_production
    _rasa_service(args, endpoints, None, credentials_path)
  File "/opt/venv/lib/python3.7/site-packages/rasa/cli/x.py", line 100, in _rasa_service
    ssl_password=args.ssl_password,
  File "/opt/venv/lib/python3.7/site-packages/rasa/core/run.py", line 189, in serve_application
    conversation_id=conversation_id,
  File "/opt/venv/lib/python3.7/site-packages/rasa/core/run.py", line 117, in configure_app
    channels.channel.register(input_channels, app, route=route)
  File "/opt/venv/lib/python3.7/site-packages/rasa/core/channels/channel.py", line 92, in register
    app.blueprint(channel.blueprint(handler), url_prefix=p)
  File "/opt/venv/lib/python3.7/site-packages/rasa/core/channels/telegram.py", line 187, in blueprint
    out_channel = self.get_output_channel()
  File "/opt/venv/lib/python3.7/site-packages/rasa/core/channels/telegram.py", line 270, in get_output_channel
    channel.setWebhook(self.webhook_url)
  File "<decorator-gen-32>", line 2, in set_webhook
  File "/opt/venv/lib/python3.7/site-packages/telegram/bot.py", line 67, in decorator
    result = func(*args, **kwargs)
  File "/opt/venv/lib/python3.7/site-packages/telegram/bot.py", line 2242, in set_webhook
    result = self._request.post(url_, data, timeout=timeout)
  File "/opt/venv/lib/python3.7/site-packages/telegram/utils/request.py", line 333, in post
    **urlopen_kwargs)
  File "/opt/venv/lib/python3.7/site-packages/telegram/utils/request.py", line 244, in request_wrapper
    raise BadRequest(message)
telegram.error.BadRequest: Bad webhook: failed to resolve host: name or service not known

```

My credentials.yml file looks like this (I replaced the real values of access\_token and webhook\_url):

```
rasa:
   url: ${RASA_X_HOST}/api

telegram:
  access_token: "my access token"
  verify: "robyn_test_bot"
  webhook_url: "https://my_domain.com/webhooks/telegram/webhook"

```

I have used this telegram bot before using Rasa Open Source and it worked fine using ngrok. Now I’m trying to deploy it and am coming across these issures. **Anyone have any ideas?**
