I'm facing issues with images on our Next.js
headless application.
My problem is that I always get an image error about a pipeline processor. But only when I go relative over the rendering instance URL. The error itself is obviously a .Net one. But when I call the relative URL directly on CM or CD it works fine!
So I guess the rewriting/forwarding is corrupted somehow?!
What misconfiguration could that be?
[ArgumentException: value]
System.UriBuilder.set_Scheme(String value) +206
System.UriBuilder..ctor(String schemeName, String hostName) +223
Sitecore.Web.WebUtil.GetRequestUri(HttpContextBase context) +160 Sitecore.Pipelines.HttpRequest.OverrideDialogs.Process(PreprocessRequestArgs args) +41
(Object , Object ) +14
Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +1268
Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236
Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22
Sitecore.Web.RequestEventsHandler.OnBeginRequest(HttpContextBase context) +166
Sitecore.Nexus.Web.HttpModule.HttpApplication_BeginRequest(Object sender, EventArgs e) +121 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +94