Chirpstack Gateway Bridge Installation

I am working on an implementation of LoRa architecture on RaspberryPi. So I am trying to install Chirpstack Gateway Bridge. But while installing Gateway Bridge as mentioned in the official website link I am getting this error:

root@raspberrypi:/home/pi/mqtt_demo_3# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1CE2AFD36DBCCA00
Executing: /tmp/apt-key-gpghome.HwLDfOHwHV/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 1CE2AFD36DBCCA00
gpg: keyserver receive failed: Connection timed out

On exploring on web I found that the setup key provided by them is not working. Can we eliminate this error and how?

check your internet connection, dns, firewall

The internet connection is fine. I am able to ping websites.

anyway your PI can’t reach the keyserver.ubuntu.com
this is your network issue.

Yes as you said I am not able to ping “keyserver.ubuntu.com”. I don’t really understand why. How it is my network issue while I am able to ping other websites?

ping isn’t solution to check the services.

should be better if you ask your network administrator.

This is solved by keeping using command:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1CE2AFD36DBCCA00
instead of the command mentioned in the download page.