# Ngrok doesn't show webchat

**URL:** <https://forum.rasa.com/t/ngrok-doesnt-show-webchat/52126>\
**Category:** Rasa Open Source\
**Created:** [March 22, 2022, 5:39pm UTC](https://forum.rasa.com/t/ngrok-doesnt-show-webchat/52126 "2022-03-22T17:39:50Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![vio\_lovis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/vio_lovis/32/17910_2.png) [@vio\_lovis](https://forum.rasa.com/u/vio_lovis)\
**Post date:** [March 31, 2022, 7:00am UTC](https://forum.rasa.com/t/ngrok-doesnt-show-webchat/52126/10 "2022-03-31T07:00:34Z")

</div>

Hi @webdev-rohit,   
when running rasa locally and forwarding with ngrok I had the same issue. By inspecting the page I found out, that it was an CORS error - did you check that?

```auto
Access to XMLHttpRequest at 'https://xxxx-xxx-xxx-xx.ngrok.io/socket.io/?EIO=4&transport=polling&t=N-85pBG' from origin 'https://xxx.de' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

```

and:

```auto
 GET https://xxxx-xxx-xxx-xx.ngrok.io/socket.io/?EIO=4&transport=polling&t=N-85pBG net::ERR_FAILED 404

```

I my case (hosting the website on Siteground) the solution was -as explained [here](https://www.siteground.com/kb/cross-origin-resource-sharing-cors/):

In cases where cross-domain scripting is needed, add the following rule in your website’s .htaccess file:

```auto
<ifModule mod_headers.c>
Header set Access-Control-Allow-Origin: *
</ifModule>

```

This header will instruct web browsers on how to use and manage the cross-domain content. The browser then allows access to the content based on its security configuration.

N.B. The above rules will only work if **NGINX Direct Delivery** is disabled. You can deactivate the service from Site Tools → Speed → Caching.

I also needed to clean the cache for the website and I need to redo it everytime I restart ngrok/rasa.

Maybe that helps you?

---

_[View the full topic](https://forum.rasa.com/t/ngrok-doesnt-show-webchat/52126)._
