# Failed to upgrade websocket connection

**URL:** <https://forum.mattermost.com/t/failed-to-upgrade-websocket-connection/8963>\
**Category:** Troubleshooting\
**Created:** [February 11, 2020, 10:16am UTC](https://forum.mattermost.com/t/failed-to-upgrade-websocket-connection/8963 "2020-02-11T10:16:07Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![robert9780](https://avatars.discourse-cdn.com/v4/letter/r/9dc877/32.png) [@robert9780](https://forum.mattermost.com/u/robert9780)\
**Post date:** [February 14, 2020, 8:48am UTC](https://forum.mattermost.com/t/failed-to-upgrade-websocket-connection/8963/8 "2020-02-14T08:48:45Z")

</div>

@ahmaddanial  
I add the origin to ‘AllowCorsFrom’ parameter in `config.json` and it works!  
Thanks for your help!

---

_[View the full topic](https://forum.mattermost.com/t/failed-to-upgrade-websocket-connection/8963)._
