Linux practice challenges cenntos8 app stream issue

I got below error in Linux practice challenge

[bob@centos-host ~]$ sudo dnf install nginx
CentOS Stream 8 - AppStream 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘appstream’:

What happens if you run sudo dnf update first?

it gives the same error

Do you have a link to the lab please?

below is a lab link

The first task is:

Troubleshoot the issues with “yum/dnf” and make sure you are able to install the packages on “centos-host”.

Think about what would cause the repository to be unreachable.

sure, I’ll try to resolve that issue. I think I missed to know that task properly