Setting up a private server

Hello,

I followed the guide on how we can setup a private server locally and everything went while configuring the file.

However, when I reached the Step - Starting everything together, I get some failure warnings when i execute the handler. Here’s what I see in cmd window:

:~/ttn$ ./ttn-linux-amd64 handler --config handler/ttn.yml
Using config file: handler/ttn.yml
  INFO Initializing The Things Network          Auth Servers=map[ttn-account-v2:https://account.thethingsnetwork.org] ComponentID=mynetwork-handler Description= Discovery Server Address=localhost:1900 Monitors=map[]
  INFO Initializing Handler                     AMQP= Announce=localhost:1904 Database=localhost:6379/0 HTTP Proxy=0.0.0.0:8084 MQTT=localhost:1883 Server=0.0.0.0:1904 TTN Broker ID=mynetwork-broker
  INFO Starting                                
  WARN AMQP is not enabled in your configuration
  INFO ttn: Got public keys for token validation
  INFO ttn: Announced to TTN discovery         
  INFO mqtt: connected                         
 FATAL Could not initialize handler             error=Failed to discover broker/mynetwork-broker: announcement not found source=Wrapf: /builds/thethingsnetwork/ttn/utils/errors/errors.go:243

And on the discovery tab:

~/ttn$ ./ttn-linux-amd64 discovery --config discovery/ttn.yml
Using config file: discovery/ttn.yml
  INFO Initializing The Things Network          Auth Servers=map[local:file://discovery/server.pub ttn-account-v2:https://account.thethingsnetwork.org] ComponentID=mynetwork-discovery Description= Discovery Server Address=discover.thethingsnetwork.org:1900 Monitors=map[]
  INFO Initializing Discovery                   Database=localhost:6379/0 HTTP Proxy=0.0.0.0:8080 Server=0.0.0.0:1900
  INFO Starting                                
  INFO Connection to router mynetwork-router went from IDLE to CONNECTING
  WARN Connection to router mynetwork-router went from CONNECTING to TRANSIENT_FAILURE
  INFO ttn: Got public keys for token validation
  INFO Connection to router mynetwork-router went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to router mynetwork-router went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to router mynetwork-router went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to router mynetwork-router went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to router mynetwork-router went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to router mynetwork-router went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to router mynetwork-router went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to router mynetwork-router went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to router mynetwork-router went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to router mynetwork-router went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to router mynetwork-router went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to router mynetwork-router went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to router mynetwork-router went from TRANSIENT_FAILURE to CONNECTING
  INFO Connection to router mynetwork-router went from CONNECTING to READY
  INFO Connection to handler mynetwork-handler went from IDLE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to broker mynetwork-broker went from CONNECTING to READY
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to router mynetwork-router went from READY to CONNECTING
  INFO Connection to router mynetwork-router went from CONNECTING to READY
  INFO Connection to handler mynetwork-handler went from TRANSIENT_FAILURE to CONNECTING
  WARN Connection to handler mynetwork-handler went from CONNECTING to TRANSIENT_FAILURE
  INFO Connection to broker mynetwork-broker went from READY to CONNECTING
  INFO Connection to broker mynetwork-broker went from CONNECTING to READY

Not really sure what went wrong. I’d really appreciate it if someone can help me fix this. I’m totally lost.