MQTT failure - Meshed Australia

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.
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

Unable to connect (look up error.)

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

thethings.meshed.com.au :slight_smile:

Thanks @Maj. Unfortunately that now returns:

Connection Refused: not authorised

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

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 '#'

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!

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

1 Like

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

1 Like