Context Deadline Exceeded

I am new to Prometheus and have just setup the server in a Windows 2019 server and attempting to monitor itself first before deploying to any other client servers. However, I receive a Context Deadline exceeded message when attempting to check the targets.

I am able to access the /metrics page using localhost:9090/metrics, but the target status page still shows context deadline exceeded. All local firewalls are off and scrape interval is set to 5m. However, if I set the default timeout parameter to scrape_timeout: 1m I then show no targets even though I have not changed any target settings.

Any help will be appreciated.

Thanks,

Rob

I actually resolved this issue, but just increasing the timeout.