# Client sent an HTTP request to an HTTPS server

**URL:** <https://forums.rocket.chat/t/client-sent-an-http-request-to-an-https-server/14366>\
**Category:** Community Support\
**Created:** [June 27, 2022, 9:54am UTC](https://forums.rocket.chat/t/client-sent-an-http-request-to-an-https-server/14366 "2022-06-27T09:54:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rizsaj](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/rizsaj/32/2263_2.png) [@rizsaj](https://forums.rocket.chat/u/rizsaj)\
**Post date:** [June 27, 2022, 9:54am UTC](https://forums.rocket.chat/t/client-sent-an-http-request-to-an-https-server/14366/1 "2022-06-27T09:54:44Z")

</div>

### Description

### Server Setup Information

- Version of Rocket.Chat Server:
- Operating System:
- Deployment Method: 
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
- Proxy: 
- Firewalls involved:

### Any additional Information

i have deployed new rocket chat server via Snap store while access it give the error 1st time (Client sent an HTTP request to an HTTPS server.) need help

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [June 27, 2022, 11:46am UTC](https://forums.rocket.chat/t/client-sent-an-http-request-to-an-https-server/14366/2 "2022-06-27T11:46:40Z")

</div>

Hi!

It’s probably set up to answer over https, so accessing [https://chat.domain.com](https://chat.domain.com) should not give this error.

Also, consider using docker instead of snap, as you can have more control over it, and checking our reverse proxy doc on how to properly expose your workspace to the interwebs:

> **[Configuring SSL Reverse Proxy](https://docs.rocket.chat/quick-start/environment-configuration/configuring-ssl-reverse-proxy)**

---

<div class="post-metadata">

**Author:** ![rizsaj](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/rizsaj/32/2263_2.png) [@rizsaj](https://forums.rocket.chat/u/rizsaj)\
**Post date:** [June 27, 2022, 12:40pm UTC](https://forums.rocket.chat/t/client-sent-an-http-request-to-an-https-server/14366/3 "2022-06-27T12:40:39Z")

</div>

thx for the reply.  
my issue resolved with the below command which i had not executed earlier.

sudo apt upgrade

---

<div class="post-metadata">

**Author:** ![sanjayas](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sanjayas](https://forums.rocket.chat/u/sanjayas)\
**Post date:** [August 24, 2022, 8:07am UTC](https://forums.rocket.chat/t/client-sent-an-http-request-to-an-https-server/14366/4 "2022-08-24T08:07:29Z")

</div>

Same issue happens to me…after upgrading into v4  
any directions ??

sudo apt upgrade wont help

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [August 24, 2022, 1:07pm UTC](https://forums.rocket.chat/t/client-sent-an-http-request-to-an-https-server/14366/5 "2022-08-24T13:07:26Z")

</div>

Hi, this is probably related to how you are serving HTTPS/SSL in your deployment.

---

<div class="post-metadata">

**Author:** ![msdd](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@msdd](https://forums.rocket.chat/u/msdd)\
**Post date:** [July 10, 2023, 9:18am UTC](https://forums.rocket.chat/t/client-sent-an-http-request-to-an-https-server/14366/6 "2023-07-10T09:18:48Z")

</div>

I have the same Problem!  
Where to go, what to do?
