# Rocketchat to mongo connection issue with upgrade to 3.8.1

**URL:** <https://forums.rocket.chat/t/rocketchat-to-mongo-connection-issue-with-upgrade-to-3-8-1/9937>\
**Category:** Community Support\
**Created:** [January 7, 2021, 2:01pm UTC](https://forums.rocket.chat/t/rocketchat-to-mongo-connection-issue-with-upgrade-to-3-8-1/9937 "2021-01-07T14:01:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.kloc](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@david.kloc](https://forums.rocket.chat/u/david.kloc)\
**Post date:** [January 7, 2021, 2:01pm UTC](https://forums.rocket.chat/t/rocketchat-to-mongo-connection-issue-with-upgrade-to-3-8-1/9937/1 "2021-01-07T14:01:56Z")

</div>

### Description

We are using rocketchat docker with a mongo backend with a self signed cert. We set NODE\_TLS\_REJECT\_UNAUTHORIZED to 0 in the docker compose and were able to connect up to version 3.1 with no issue. when i attempt to roll to version 3.8.1 I get the following errors when rocketcaht attempts to start.

`Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification`  
`MongoNetworkError: failed to connect to server [servername] on first connect [Error: self signed certificate in certificate chain`

### Server Setup Information

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

### Any additional Information
