Kibana cannot connect to the Elastic Package Registry, which provides Elastic Agent integrations

hello
I am receiving this message when I try to install a fleet server 'Kibana cannot connect to the Elastic Package Registry, which provides Elastic Agent integrations' due this reason Kibana is not showing the fleet server integration. I checked the connectivity, and everything seems fine. Moreover, both Elasticsearch and Kibana are configured using the default configurations.

Hi @sara.0x,

Welcome! Which version of Elasticsearch are you using?

One of our community members recently posted this thread to diagnose a configuration issue associated with the same error message. Can you follow the steps and confirm if the fix resolves your issue?

Hope that helps!