I would expect it's because your device cannot resolve DNS - so no mapping from cdn.juniper.net to an IP address.
Can you do a ping google.com and get it to resolve? If not, you need to add name-servers to your configuration or load the new software via a intermediate host which can resolve the DNS entry.