# Ssl\_error\_access\_denied\_alert

**URL:** <https://discourse.mozilla.org/t/ssl-error-access-denied-alert/55605>\
**Category:** WebThings\
**Created:** [March 10, 2020, 11:37am UTC](https://discourse.mozilla.org/t/ssl-error-access-denied-alert/55605 "2020-03-10T11:37:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![barat](https://avatars.discourse-cdn.com/v4/letter/b/e47c2d/32.png) [@barat](https://discourse.mozilla.org/u/barat)\
**Post date:** [March 10, 2020, 11:37am UTC](https://discourse.mozilla.org/t/ssl-error-access-denied-alert/55605/1 "2020-03-10T11:37:56Z")

</div>

Hi,  
I was installing webthings with 3 bulbs configuration for one of my customers.  
Everything went smooth until I was trying to conect external gateway address:  
[xxxxx.mozilla-iot.org](http://xxxxx.mozilla-iot.org).

I was getting the error like this SSL\_ERROR\_ACCESS\_DENIED\_ALERT

When I reconnect webthings gateway to my mobile network, everything works fine for this url: [xxxxx.mozilla-iot.org](http://xxxxx.mozilla-iot.org)  
When I reconnect to my customer network again. I’ve get this error again SSL\_ERROR\_ACCESS\_DENIED\_ALERT.

Do you have any idea what was wrong or how to debug this issue?

---

<div class="post-metadata">

**Author:** ![mstegeman](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mstegeman](https://discourse.mozilla.org/u/mstegeman)\
**Post date:** [March 10, 2020, 4:01pm UTC](https://discourse.mozilla.org/t/ssl-error-access-denied-alert/55605/2 "2020-03-10T16:01:00Z")

</div>

That error generally occurs when your gateway is unable to connect the tunnel to our cloud service. You need to make sure that your gateway can reach the internet (e.g. `ping google.com`), and that it can reach our server at [https://api.mozilla-iot.org:8443](https://api.mozilla-iot.org:8443), e.g. `curl -o /dev/null -s -w '%{http_code}' https://api.mozilla-iot.org:8443/` should yield a 404.

Also, one more question. When you first set up your gateway, did you let it finish completely, to that point that it automatically redirected you to your new domain?  
The next thing to check is for PageKite related lines in the log file, e.g. `grep -i pagekite ~/.mozilla-iot/log/run-app.log`.
