Skip to main content
edited title
Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117

Sitecore CLI - openid-configuration: DNS Fail

highlighted the description
Source Link
Sumit Bhatia
  • 5.9k
  • 2
  • 9
  • 25

We are using Sitecore 10.3. For the local setup we are using docker. The local setup works fine(cm,id id and frontend site) except logging in to sitecoreSitecore using sitecoreSitecore CLI. It is failing with below error.

Error connecting to https://id.abc.localhost/.well-known/openid-configuration: DNS Fail

Error connecting to https://id.abc.localhost/.well-known/openid-configuration: DNS Fail

I am using the below command to login into sitecoreSitecore via sitecoreSitecore cli.

dotnet sitecore login --authority https://id.abc.localhost
--cm https://cm.abc.localhost --allow-write true

It was working fine before, suddenly it stopped working without making any changes. I have checked the host file and iI can see an entry for id.abc.localhostid.abc.localhost and cm.abc.localhost cm.abc.localhost. When I browse the "https://id.abc.localhost/.well-known/openid-configuration"https://id.abc.localhost/.well-known/openid-configuration, iI see a JsonJSON result. Also successfully flushed the DNS Resolver Cache using ipconfig /flushdnsipconfig/flushdns.

Still the issue is not resolved.

We are using Sitecore 10.3. For the local setup we are using docker. The local setup works fine(cm,id and frontend site) except logging in to sitecore using sitecore CLI. It is failing with below error.

Error connecting to https://id.abc.localhost/.well-known/openid-configuration: DNS Fail

I am using the below command to login into sitecore via sitecore cli.

dotnet sitecore login --authority https://id.abc.localhost
--cm https://cm.abc.localhost --allow-write true

It was working fine before, suddenly it stopped working without making any changes. I have checked the host file and i can see an entry for id.abc.localhost and cm.abc.localhost . When I browse the "https://id.abc.localhost/.well-known/openid-configuration", i see a Json result. Also successfully flushed the DNS Resolver Cache using ipconfig /flushdns.

Still the issue is not resolved.

We are using Sitecore 10.3. For the local setup we are using docker. The local setup works fine(cm, id and frontend site) except logging in to Sitecore using Sitecore CLI. It is failing with below error.

Error connecting to https://id.abc.localhost/.well-known/openid-configuration: DNS Fail

I am using the below command to login into Sitecore via Sitecore cli.

dotnet sitecore login --authority https://id.abc.localhost
--cm https://cm.abc.localhost --allow-write true

It was working fine before, suddenly it stopped working without making any changes. I have checked the host file and I can see an entry for id.abc.localhost and cm.abc.localhost. When I browse the https://id.abc.localhost/.well-known/openid-configuration, I see a JSON result. Also successfully flushed the DNS Resolver Cache using ipconfig/flushdns.

Still the issue is not resolved.

Source Link
Dheeraj p
  • 764
  • 5
  • 21

Sitecore CLI - openid-configuration: DNS Fail

We are using Sitecore 10.3. For the local setup we are using docker. The local setup works fine(cm,id and frontend site) except logging in to sitecore using sitecore CLI. It is failing with below error.

Error connecting to https://id.abc.localhost/.well-known/openid-configuration: DNS Fail

I am using the below command to login into sitecore via sitecore cli.

dotnet sitecore login --authority https://id.abc.localhost
--cm https://cm.abc.localhost --allow-write true

It was working fine before, suddenly it stopped working without making any changes. I have checked the host file and i can see an entry for id.abc.localhost and cm.abc.localhost . When I browse the "https://id.abc.localhost/.well-known/openid-configuration", i see a Json result. Also successfully flushed the DNS Resolver Cache using ipconfig /flushdns.

Still the issue is not resolved.