# MQTT failure - Meshed Australia

**URL:** <https://www.thethingsnetwork.org/forum/t/mqtt-failure-meshed-australia/15918>\
**Category:** Uncategorized\
**Created:** [July 15, 2018, 11:35am UTC](https://www.thethingsnetwork.org/forum/t/mqtt-failure-meshed-australia/15918 "2018-07-15T11:35:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phil\_Wilko](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/phil_wilko/32/37980_2.png) [@Phil\_Wilko](https://www.thethingsnetwork.org/forum/u/Phil_Wilko)\
**Post date:** [July 15, 2018, 11:35am UTC](https://www.thethingsnetwork.org/forum/t/mqtt-failure-meshed-australia/15918/1 "2018-07-15T11:35:35Z")

</div>

I am trying to connect to my application’s activations and messages on TTN via MQTT using a mosquitto subscribing client following the (what look out of date) [instructions](https://www.thethingsnetwork.org/docs/applications/mqtt/quick-start.html#receive-activations).  
Is the Australia MQTT host

- au.thethings.network or

- au.meshed.handler or

- something else?

I am just getting this error with both the above

```auto
Unable to connect (look up error.)

```

I have used the mosquitto client subscribing to various other clients before, without error.

---

<div class="post-metadata">

**Author:** ![Maj](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/maj/32/47732_2.png) [@Maj](https://www.thethingsnetwork.org/forum/u/Maj)\
**Post date:** [July 15, 2018, 12:54pm UTC](https://www.thethingsnetwork.org/forum/t/mqtt-failure-meshed-australia/15918/2 "2018-07-15T12:54:02Z")

</div>

thethings.meshed.com.au 🙂

---

<div class="post-metadata">

**Author:** ![Phil\_Wilko](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/phil_wilko/32/37980_2.png) [@Phil\_Wilko](https://www.thethingsnetwork.org/forum/u/Phil_Wilko)\
**Post date:** [July 15, 2018, 1:24pm UTC](https://www.thethingsnetwork.org/forum/t/mqtt-failure-meshed-australia/15918/3 "2018-07-15T13:24:17Z")

</div>

Thanks @Maj. Unfortunately that now returns:

```
Connection Refused: not authorised

```

are there further parameters needed beyond the APP ID and APP KEY?

---

<div class="post-metadata">

**Author:** ![Maj](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/maj/32/47732_2.png) [@Maj](https://www.thethingsnetwork.org/forum/u/Maj)\
**Post date:** [July 15, 2018, 2:14pm UTC](https://www.thethingsnetwork.org/forum/t/mqtt-failure-meshed-australia/15918/4 "2018-07-15T14:14:29Z")

</div>

You need to use the Access Key rather than the AppKey.  
This will work:  
`mosquitto_sub -h thethings.meshed.com.au -u myApp -P 'myAccessKey' -t '#'`

---

<div class="post-metadata">

**Author:** ![Phil\_Wilko](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/phil_wilko/32/37980_2.png) [@Phil\_Wilko](https://www.thethingsnetwork.org/forum/u/Phil_Wilko)\
**Post date:** [July 15, 2018, 3:05pm UTC](https://www.thethingsnetwork.org/forum/t/mqtt-failure-meshed-australia/15918/5 "2018-07-15T15:05:14Z")

</div>

Woo Hoo! I have got the data coming through. Thanks a lot @Maj  
I think I had better request some changes to TTN Documentation pages!

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [July 15, 2018, 3:29pm UTC](https://www.thethingsnetwork.org/forum/t/mqtt-failure-meshed-australia/15918/6 "2018-07-15T15:29:49Z")

</div>

> [@Phil\_Wilko](#):
>
> request some changes to TTN Documentation pages!

Clone the documentation GitHub repo, make the changes yourself and create a pull request…

---

<div class="post-metadata">

**Author:** ![Phil\_Wilko](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/phil_wilko/32/37980_2.png) [@Phil\_Wilko](https://www.thethingsnetwork.org/forum/u/Phil_Wilko)\
**Post date:** [July 15, 2018, 3:31pm UTC](https://www.thethingsnetwork.org/forum/t/mqtt-failure-meshed-australia/15918/7 "2018-07-15T15:31:59Z")

</div>

will do. First ever pull request so I will ask the guys at TTN to be gentle.
