# How to run rasa on HTTPS

**URL:** <https://forum.rasa.com/t/how-to-run-rasa-on-https/14980>\
**Category:** Rasa Open Source\
**Created:** [August 29, 2019, 10:43am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980 "2019-08-29T10:43:31Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 29, 2019, 10:43am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/1 "2019-08-29T10:43:31Z")

</div>

Hi @erohmensing

I have running a chatboat widget on HTTPS but when it requests rasa for conversation it gives this error:

```
    Mixed Content: The page at 'https://mychatbot.net/' was loaded over HTTPS, but requested an insecure resource 'http://0.0.0.0:5003/webhooks/rest/webhook'. This request has been blocked; the content must be served over HTTPS.

```

**Note:** 0.0.0.0 is my server ip

How i can i run rasa over https? please help

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [August 29, 2019, 11:14am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/2 "2019-08-29T11:14:07Z")

</div>

Hi @PureLogics, we actually just added support for this 3 days ago in rasa 1.2.5, you’re in luck! Instructions can be found here: [Running the Server](https://rasa.com/docs/rasa/user-guide/running-the-server/#configuring-ssl-https)

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 29, 2019, 11:22am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/3 "2019-08-29T11:22:20Z")

</div>

It showing this error:

```
OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 5005): address already in use
```

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 29, 2019, 12:52pm UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/4 "2019-08-29T12:52:32Z")

</div>

hi @erohmensing, the command is running fine but it just showing "Staring Rasa server on [https://localhost:5005](https://localhost:5005) " and not moving on. As you can see in screenshot:

 ![Capture](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/0/073af6fea5d9e6ebeda0df24854a81eace0cdba8.png)

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [August 29, 2019, 3:01pm UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/5 "2019-08-29T15:01:06Z")

</div>

What do you mean it is not moving on? That message means the server is started and you can send messages.

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 29, 2019, 4:45pm UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/6 "2019-08-29T16:45:04Z")

</div>

That’s working fine. Thanks

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 29, 2019, 4:53pm UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/7 "2019-08-29T16:53:57Z")

</div>

@erohmensing i follow all the steps to integrate rasa with facebook messenger but when i try to create a web-hook on facebook by providing callback url and verify token and hit the **verify and save** button it shows me this error:

```
The URL couldn't be validated. Callback verification failed with the following errors: curl_errno = 60; curl_error = SSL certificate problem: unable to get local issuer certificate; HTTP Status Code = 200; HTTP Message = Connection established

```

How can i connect rasa with FB messenger?

Please help and thanks for your all good responses

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [August 30, 2019, 7:49am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/8 "2019-08-30T07:49:32Z")

</div>

Hm, can you run the rasa server on debug mode and see if there is anything in there? If you are doing it with ngrok, any relevant http requests in there would be helpful too. What’s the callback url you’re providing?

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 30, 2019, 9:30am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/9 "2019-08-30T09:30:12Z")

</div>

I run rasa server on debug mode but there is nothing. and i’m not using ngrok. simply i run rasa on live server i trying to connect it to facebook messenger but getting the error above

And you can see the callback url in screenshot:

 ![Capture](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/d/d55e7155f2dc79aae197a144e8dfabf02c5ef680.png)

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [August 30, 2019, 9:46am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/10 "2019-08-30T09:46:11Z")

</div>

Well this won’t be working because you aren’t running the server on `example.com` 😃you have to deploy it to a server either using ngrok or some other manner

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 30, 2019, 9:50am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/11 "2019-08-30T09:50:36Z")

</div>

[Example.com](http://Example.com) is just an example… there is hostname of my running server like: [https://hostname/webhooks/facebook/webhook](https://hostname/webhooks/facebook/webhook)

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 30, 2019, 10:40am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/12 "2019-08-30T10:40:14Z")

</div>

Is there any need to add something in endpoints?

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [August 30, 2019, 11:16am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/13 "2019-08-30T11:16:49Z")

</div>

No, endpoints shouldn’t be required, just credentials.yml. It might have something to do with how your server handles https traffic

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 30, 2019, 11:18am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/14 "2019-08-30T11:18:22Z")

</div>

how can i do it. Please help

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [August 30, 2019, 11:19am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/15 "2019-08-30T11:19:33Z")

</div>

How is your server deployed? I don’t have any information about what type of server you’re using. If there is nothing in the Rasa logs, that means that the information is not reaching Rasa, so it’s not anything I would be able to debug from our side.

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [August 30, 2019, 11:20am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/16 "2019-08-30T11:20:13Z")

</div>

Can you hit the server not from facebook? E.g. with a rest channel?

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 30, 2019, 11:28am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/17 "2019-08-30T11:28:50Z")

</div>

when facebbok send request to my server and if my server is running then it shows this error with connection established.

```
The URL couldn't be validated. Callback verification failed with the following errors: curl_errno = 60; curl_error = SSL certificate problem: unable to get local issuer certificate; HTTP Status Code = 200; HTTP Message = Connection established

```

and if my server is not running then it shows this error with connection failed:

```
The URL couldn't be validated. Callback verification failed with the following errors: curl_errno = 56; curl_error = Received HTTP code 503 from proxy after CONNECT; HTTP Status Code = 503; HTTP Message = Failed to connect to server
```

---

<div class="post-metadata">

**Author:** ![PureLogics](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PureLogics](https://forum.rasa.com/u/PureLogics)\
**Post date:** [August 30, 2019, 11:34am UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/18 "2019-08-30T11:34:50Z")

</div>

Yes it hit with rest channel

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [August 30, 2019, 2:48pm UTC](https://forum.rasa.com/t/how-to-run-rasa-on-https/14980/19 "2019-08-30T14:48:23Z")

</div>

And rest works fine? Then it’s probably something on facebook’s side
