Questions tagged [rendering-host]

Any question related to Sitecore rendering host while working with Sitecore Headless Services can make use of this tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
65 views

Sitecore Next.js - Connection to your rendering host failed

I'm trying to connect Sitecore CM (XM, local VM) with Next.js app (on Azure static web app). On sitecore side, i'm using SXA with this setting configuration: Browsing my web app static with simple ...
0 votes
1 answer
196 views

Allow CORS request from CM to Rendering host

Related to Missing fonts when previewing Next.js app in Experience Editor. I've got the Rendering container with SITECORE_API_HOST set to CD. In CM Experience Editor I see some CORS errors caused by ...
1 vote
2 answers
182 views

How do you render Headless ASP.NET to present a Sitecore page as 404?

As per Sitecore's example code for ASP.NET Headless you can have your default controller method look like this: [UseSitecoreRendering] public IActionResult Index(Route route) { var request = ...
0 votes
2 answers
175 views

Is Sitecore CD role needed in headless setup with Rendering Host?

Looking on the Sitecore Headless Development conceptual overview, it does not really clear if Rendering Host is supposed to replace CD or both roles are still needed. Sitecore NextJS Getting Started ...
0 votes
1 answer
853 views

How do you fix an access denied error debugging a dotnet app in a container?

While debugging in Visual Studio I receive the following error: This previously worked but something recently changed to break this. Perhaps related to a change made in Docker Desktop for Windows 4.7....
  • 17.3k
0 votes
1 answer
1k views

Sitecore JSS rendering host failed

I am getting below error after creating the JSS App in connected mode. Connection to your rendering host failed with a Not Found error. Ensure the POST endpoint at URL http://localhost:3000/api/...
  • 1
1 vote
2 answers
751 views

Sitecore CM returning 404 when running in docker container

I am running Sitecore XP1 topology in docker containers. I am facing following issues : 1)I am getting SSL warning even after running init.ps1 script & generating certificates : Sitecore default ...
  • 83
3 votes
1 answer
335 views

ASP.NET Core Rendering SDK , Every time i have to run docker-compose restart rendering cm to reflect the changes

I am doing some R&D in ASP.NET Core Rendering SDK, Whenever I make the changes in .cshtml file, I need to run this command docker-compose restart rendering cm to reflect the changes. Is this the ...
1 vote
1 answer
282 views

Experience Editor issue in JSS + SXA + .NET Core Rendering Host solution

I am running Sitecore Helix.Example for Sitecore.JSS + .Net Core Rendering Host. In addition it is wrapped with SXA to be able to use all SXA advantages like multisite management and so on. In normal ...
3 votes
2 answers
204 views

What is equivalent to IsExperienceEditor in the ASP.NET Core SDK?

In ASP.NET Core Rendering Host, I would like to hide something if the page is not in Experience Editor mode, with something like Sitecore.Context.PageMode.IsExperienceEditor in ASP.NET. Is it possible?...