# Error: Your public IP doesn't match the one resolved for caddy-url, disabling https

**URL:** <https://forums.rocket.chat/t/error-your-public-ip-doesnt-match-the-one-resolved-for-caddy-url-disabling-https/7570>\
**Category:** Community Support\
**Created:** [July 16, 2020, 2:59am UTC](https://forums.rocket.chat/t/error-your-public-ip-doesnt-match-the-one-resolved-for-caddy-url-disabling-https/7570 "2020-07-16T02:59:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![koalabooze](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@koalabooze](https://forums.rocket.chat/u/koalabooze)\
**Post date:** [July 16, 2020, 2:59am UTC](https://forums.rocket.chat/t/error-your-public-ip-doesnt-match-the-one-resolved-for-caddy-url-disabling-https/7570/1 "2020-07-16T02:59:56Z")

</div>

### Description

In using Auto SSL through Caddy, I get this error… “Error: Your public IP doesn’t match the one resolved for caddy-url, disabling https”

I have ifconfig’d my server, checked the ip resolution from external servers… My public IP DOES match the url I fed to the command… Is there something I’m missing?

(I concealed my domain in the command, replaced it with [https://my.domain.com](https://my.domain.com))  
root@enter:~# sudo snap set rocketchat-server caddy-url=https://my.domain.com  
root@enter:~# sudo snap set rocketchat-server caddy-enable  
error: invalid configuration: “caddy-enable” (want key=value)  
root@enter:~# sudo snap set rocketchat-server caddy=enable  
root@enter:~# sudo snap set rocketchat-server https=enable  
error: cannot perform the following tasks:

- Run configure hook of “rocketchat-server” snap (run hook “configure”: Error: Your public IP doesn’t match the one resolved for caddy-url, disabling https …)

### Server Setup Information

- Version of Rocket.Chat Server: latest snap version (not sure, cannot find info on version)
- Operating System: Ubuntu 20.10
- Deployment Method: Snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: (whatever snap is using)
- MongoDB Version: (snap)
- Proxy: none
- Firewalls involved: none

---

<div class="post-metadata">

**Author:** ![yarrman](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@yarrman](https://forums.rocket.chat/u/yarrman)\
**Post date:** [August 4, 2020, 4:56pm UTC](https://forums.rocket.chat/t/error-your-public-ip-doesnt-match-the-one-resolved-for-caddy-url-disabling-https/7570/2 "2020-08-04T16:56:22Z")

</div>

My friend and I have had the same issue. Makes me wonder if something in the snap is broken. Did you find a solution?

---

<div class="post-metadata">

**Author:** ![chaosclarity](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chaosclarity](https://forums.rocket.chat/u/chaosclarity)\
**Post date:** [August 4, 2020, 9:46pm UTC](https://forums.rocket.chat/t/error-your-public-ip-doesnt-match-the-one-resolved-for-caddy-url-disabling-https/7570/3 "2020-08-04T21:46:10Z")

</div>

I ran in to this same thing.  
I used NGINX proxy and installed certbot manually.

> **[How To Setup Rocket Chat SSL Configuration Using Letsencrypt For Nginx -...](https://technologyrss.com/how-to-setup-rocket-chat-ssl-configuration-using-letsencrypt-for-nginx/)**
>
> When install Rocket chat so must be install ssl using free or purchase. Now I have to show you can using Let'Encrypt fully free ssl service. This ....
