Are you sure you can reach the Internet?
I just tried the same from behind a proxy without providing my credentials, and I get exactly the same message.
Did you already try with the FilePath parameter and a file that you downloaded from http://partnerweb.vmware.com/service/vsan/all.json
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
So from the file it works?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
No, the date of the file does not change (06/20/2018)
That is the date in the current file!
The time difference is due to the TZ.
It's not the timestamp of the file on your PC that you should be looking at.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
With the date you are right. I found the old all.json file, copied it to the default folder, and updated it with the Update-VsanHclDatabase -FilePath all.json command. The date has changed (21.03). Then I tried to update via the Internet. Failure. Replaced the old file with a new one - and again ran Update-VsanHclDatabase -FilePath. Happened. Updating from the file works. But when the file has already been downloaded, you can also update manually, without PowerCLI. I would like to update the Update-VsanHclDatabase command without manually creating the file all.json.
I would try to find out if the download from the Internet encounters an issue.
Perhaps a network trace?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
That doesn't exclude that there might be an issue with the download of the VSANHCL file.
On your side, or on the side of the server.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference