An invalid request URI was provided. (No helpful info in the stack trace)IDX20803: Unable to obtain configuration fromWhy is [Owin] throwing a null exception on new project?“Cannot access a disposed object” after minor code modificationEF6 validation errors were detected during model generation with MySQL databaseWeb API with OWIN throws ObjectDisposedException for HttpMessageInvokerMassTransit 3 with AzureServiceBus prefixing a slash to queue namesSignalr - Duplicate Hub Namesentity type ApplicationUser is not part of the model for the current contextSignalR + Redis backplane = System.InvalidOperationException: The queue is fullafter archive xamarin android signalr not workA task was cancelled error in context.postAsync() and while sending the typing activity Bot Framework

Multi tool use
What are the potential pitfalls when using metals as a currency?
Any examples of headwear for races with animal ears?
What language was spoken in East Asia before Proto-Turkic?
Mac Pro install disk keeps ejecting itself
How to creep the reader out with what seems like a normal person?
Term for maladaptive animal behavior that will lead to their demise?
What route did the Hindenburg take when traveling from Germany to the U.S.?
Shrinkwrap tetris shapes without scaling or diagonal shapes
Error message with tabularx
What's the polite way to say "I need to urinate"?
Why don't other Westeros houses use wildfire?
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
Which big number is bigger?
Rivers without rain
Why does processed meat contain preservatives, while canned fish needs not?
Does the sign matter for proportionality?
Why was Germany not as successful as other Europeans in establishing overseas colonies?
Apply MapThread to all but one variable
How come there are so many candidates for the 2020 Democratic party presidential nomination?
How can I change the color of a part of a line?
Is the 5 MB static resource size limit 5,242,880 bytes or 5,000,000 bytes?
Please, smoke with good manners
How to get a plain text file version of a CP/M .BAS (M-BASIC) program?
Meaning of Bloch representation
An invalid request URI was provided. (No helpful info in the stack trace)
IDX20803: Unable to obtain configuration fromWhy is [Owin] throwing a null exception on new project?“Cannot access a disposed object” after minor code modificationEF6 validation errors were detected during model generation with MySQL databaseWeb API with OWIN throws ObjectDisposedException for HttpMessageInvokerMassTransit 3 with AzureServiceBus prefixing a slash to queue namesSignalr - Duplicate Hub Namesentity type ApplicationUser is not part of the model for the current contextSignalR + Redis backplane = System.InvalidOperationException: The queue is fullafter archive xamarin android signalr not workA task was cancelled error in context.postAsync() and while sending the typing activity Bot Framework
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Pulling my hair out here. All was working fine, and then out of the blue, I started to get some errors around Microsoft.Owin.Security
. Following some tips on this site, I un-installed that package and all the ones that depended on it (there were a lot) and then re-installed them all.
Now when I run the site in debug, I get this:
An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
What's frustrating is that nowhere in the stack trace is there anything that I can make any sense of. I'll paste it all below.
.NET 4.7.1 Web Application in Visual Studio 2017
Any tips on how to troubleshoot would be helpful. I've already deleted the entire solution and re-pulled it from TFS. Teammates using the same source code are not seeing this.
EDIT:
The only place I am able to hit a breakpoint is on the constructor in the index controller. That constructor is empty. The breakpoint hits, and then even if I step in debug, the next thing that happens is the error is thrown. It would be nice if I could nail down exactly where/what is causing the error, but I'm having trouble even with that.
Stack Trace:
[InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.]
System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request) +335995
System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) +99
System.Net.Http.HttpClient.GetAsync(Uri requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) +65
Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext() +196
[IOException: IDX20804: Unable to retrieve document from: '[PII is hidden]'.]
Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext() +662
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.IdentityModel.Protocols.OpenIdConnect.<GetAsync>d__3.MoveNext() +291
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) +25
Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext() +1129
[InvalidOperationException: IDX20803: Unable to obtain configuration from: '[PII is hidden]'.]
Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext() +1586
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.OpenIdConnect.<ApplyResponseChallengeAsync>d__8.MoveNext() +432
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<ApplyResponseCoreAsync>d__40.MoveNext() +272
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<ApplyResponseAsync>d__39.MoveNext() +271
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<TeardownAsync>d__34.MoveNext() +158
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +659
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__7.MoveNext() +179
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +519
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +519
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__7.MoveNext() +179
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<DoFinalWork>d__12.MoveNext() +180
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +69
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult ar) +64
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +380
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159
c# asp.net .net
|
show 6 more comments
Pulling my hair out here. All was working fine, and then out of the blue, I started to get some errors around Microsoft.Owin.Security
. Following some tips on this site, I un-installed that package and all the ones that depended on it (there were a lot) and then re-installed them all.
Now when I run the site in debug, I get this:
An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
What's frustrating is that nowhere in the stack trace is there anything that I can make any sense of. I'll paste it all below.
.NET 4.7.1 Web Application in Visual Studio 2017
Any tips on how to troubleshoot would be helpful. I've already deleted the entire solution and re-pulled it from TFS. Teammates using the same source code are not seeing this.
EDIT:
The only place I am able to hit a breakpoint is on the constructor in the index controller. That constructor is empty. The breakpoint hits, and then even if I step in debug, the next thing that happens is the error is thrown. It would be nice if I could nail down exactly where/what is causing the error, but I'm having trouble even with that.
Stack Trace:
[InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.]
System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request) +335995
System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) +99
System.Net.Http.HttpClient.GetAsync(Uri requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) +65
Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext() +196
[IOException: IDX20804: Unable to retrieve document from: '[PII is hidden]'.]
Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext() +662
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.IdentityModel.Protocols.OpenIdConnect.<GetAsync>d__3.MoveNext() +291
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) +25
Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext() +1129
[InvalidOperationException: IDX20803: Unable to obtain configuration from: '[PII is hidden]'.]
Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext() +1586
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.OpenIdConnect.<ApplyResponseChallengeAsync>d__8.MoveNext() +432
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<ApplyResponseCoreAsync>d__40.MoveNext() +272
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<ApplyResponseAsync>d__39.MoveNext() +271
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<TeardownAsync>d__34.MoveNext() +158
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +659
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__7.MoveNext() +179
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +519
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +519
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__7.MoveNext() +179
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<DoFinalWork>d__12.MoveNext() +180
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +69
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult ar) +64
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +380
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159
c# asp.net .net
2
include the code that uses the HttpClient
– Matt.G
Mar 22 at 18:42
There are ways to debug that but it's a bit long to explain like that... Anyway, start by disabling "just my code" in Visual Studio (docs.microsoft.com/en-us/visualstudio/debugger/…) then bring the "Exception settings" panel (Debug -> Windows -> Exception Settings) and check "Common Language Runtime Exceptions". Then start your application with the debugger attached, and run it until it breaks on the "An invalid request URI was provided" exception.
– Kevin Gosse
Mar 22 at 18:46
github.com/IdentityServer/IdentityServer4/issues/2337 looks similar to this.
– John Boker
Mar 22 at 18:46
From there, open the "callstack" panel, double click on the line that contains "PrepareRequestMessage", then in the "Watch" panel (or open the quickwatch window with shift + f9) type "request". Hopefully the request will still be on the stack, in which case you will be able to inspect it to understand what is this invalid uri
– Kevin Gosse
Mar 22 at 18:51
@Matt.G -- that's part of the problem. I've put breakpoints at every place that uses it, but the error happens before they get hit.
– Casey Crookston
Mar 22 at 18:51
|
show 6 more comments
Pulling my hair out here. All was working fine, and then out of the blue, I started to get some errors around Microsoft.Owin.Security
. Following some tips on this site, I un-installed that package and all the ones that depended on it (there were a lot) and then re-installed them all.
Now when I run the site in debug, I get this:
An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
What's frustrating is that nowhere in the stack trace is there anything that I can make any sense of. I'll paste it all below.
.NET 4.7.1 Web Application in Visual Studio 2017
Any tips on how to troubleshoot would be helpful. I've already deleted the entire solution and re-pulled it from TFS. Teammates using the same source code are not seeing this.
EDIT:
The only place I am able to hit a breakpoint is on the constructor in the index controller. That constructor is empty. The breakpoint hits, and then even if I step in debug, the next thing that happens is the error is thrown. It would be nice if I could nail down exactly where/what is causing the error, but I'm having trouble even with that.
Stack Trace:
[InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.]
System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request) +335995
System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) +99
System.Net.Http.HttpClient.GetAsync(Uri requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) +65
Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext() +196
[IOException: IDX20804: Unable to retrieve document from: '[PII is hidden]'.]
Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext() +662
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.IdentityModel.Protocols.OpenIdConnect.<GetAsync>d__3.MoveNext() +291
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) +25
Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext() +1129
[InvalidOperationException: IDX20803: Unable to obtain configuration from: '[PII is hidden]'.]
Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext() +1586
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.OpenIdConnect.<ApplyResponseChallengeAsync>d__8.MoveNext() +432
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<ApplyResponseCoreAsync>d__40.MoveNext() +272
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<ApplyResponseAsync>d__39.MoveNext() +271
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<TeardownAsync>d__34.MoveNext() +158
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +659
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__7.MoveNext() +179
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +519
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +519
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__7.MoveNext() +179
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<DoFinalWork>d__12.MoveNext() +180
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +69
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult ar) +64
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +380
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159
c# asp.net .net
Pulling my hair out here. All was working fine, and then out of the blue, I started to get some errors around Microsoft.Owin.Security
. Following some tips on this site, I un-installed that package and all the ones that depended on it (there were a lot) and then re-installed them all.
Now when I run the site in debug, I get this:
An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
What's frustrating is that nowhere in the stack trace is there anything that I can make any sense of. I'll paste it all below.
.NET 4.7.1 Web Application in Visual Studio 2017
Any tips on how to troubleshoot would be helpful. I've already deleted the entire solution and re-pulled it from TFS. Teammates using the same source code are not seeing this.
EDIT:
The only place I am able to hit a breakpoint is on the constructor in the index controller. That constructor is empty. The breakpoint hits, and then even if I step in debug, the next thing that happens is the error is thrown. It would be nice if I could nail down exactly where/what is causing the error, but I'm having trouble even with that.
Stack Trace:
[InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.]
System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request) +335995
System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) +99
System.Net.Http.HttpClient.GetAsync(Uri requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) +65
Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext() +196
[IOException: IDX20804: Unable to retrieve document from: '[PII is hidden]'.]
Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext() +662
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.IdentityModel.Protocols.OpenIdConnect.<GetAsync>d__3.MoveNext() +291
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) +25
Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext() +1129
[InvalidOperationException: IDX20803: Unable to obtain configuration from: '[PII is hidden]'.]
Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext() +1586
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.OpenIdConnect.<ApplyResponseChallengeAsync>d__8.MoveNext() +432
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<ApplyResponseCoreAsync>d__40.MoveNext() +272
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<ApplyResponseAsync>d__39.MoveNext() +271
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<TeardownAsync>d__34.MoveNext() +158
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +659
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__7.MoveNext() +179
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +519
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Security.Infrastructure.<Invoke>d__5.MoveNext() +519
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__7.MoveNext() +179
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<DoFinalWork>d__12.MoveNext() +180
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +69
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult ar) +64
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +380
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159
c# asp.net .net
c# asp.net .net
edited Mar 22 at 19:05
Casey Crookston
asked Mar 22 at 18:41


Casey CrookstonCasey Crookston
3,43373483
3,43373483
2
include the code that uses the HttpClient
– Matt.G
Mar 22 at 18:42
There are ways to debug that but it's a bit long to explain like that... Anyway, start by disabling "just my code" in Visual Studio (docs.microsoft.com/en-us/visualstudio/debugger/…) then bring the "Exception settings" panel (Debug -> Windows -> Exception Settings) and check "Common Language Runtime Exceptions". Then start your application with the debugger attached, and run it until it breaks on the "An invalid request URI was provided" exception.
– Kevin Gosse
Mar 22 at 18:46
github.com/IdentityServer/IdentityServer4/issues/2337 looks similar to this.
– John Boker
Mar 22 at 18:46
From there, open the "callstack" panel, double click on the line that contains "PrepareRequestMessage", then in the "Watch" panel (or open the quickwatch window with shift + f9) type "request". Hopefully the request will still be on the stack, in which case you will be able to inspect it to understand what is this invalid uri
– Kevin Gosse
Mar 22 at 18:51
@Matt.G -- that's part of the problem. I've put breakpoints at every place that uses it, but the error happens before they get hit.
– Casey Crookston
Mar 22 at 18:51
|
show 6 more comments
2
include the code that uses the HttpClient
– Matt.G
Mar 22 at 18:42
There are ways to debug that but it's a bit long to explain like that... Anyway, start by disabling "just my code" in Visual Studio (docs.microsoft.com/en-us/visualstudio/debugger/…) then bring the "Exception settings" panel (Debug -> Windows -> Exception Settings) and check "Common Language Runtime Exceptions". Then start your application with the debugger attached, and run it until it breaks on the "An invalid request URI was provided" exception.
– Kevin Gosse
Mar 22 at 18:46
github.com/IdentityServer/IdentityServer4/issues/2337 looks similar to this.
– John Boker
Mar 22 at 18:46
From there, open the "callstack" panel, double click on the line that contains "PrepareRequestMessage", then in the "Watch" panel (or open the quickwatch window with shift + f9) type "request". Hopefully the request will still be on the stack, in which case you will be able to inspect it to understand what is this invalid uri
– Kevin Gosse
Mar 22 at 18:51
@Matt.G -- that's part of the problem. I've put breakpoints at every place that uses it, but the error happens before they get hit.
– Casey Crookston
Mar 22 at 18:51
2
2
include the code that uses the HttpClient
– Matt.G
Mar 22 at 18:42
include the code that uses the HttpClient
– Matt.G
Mar 22 at 18:42
There are ways to debug that but it's a bit long to explain like that... Anyway, start by disabling "just my code" in Visual Studio (docs.microsoft.com/en-us/visualstudio/debugger/…) then bring the "Exception settings" panel (Debug -> Windows -> Exception Settings) and check "Common Language Runtime Exceptions". Then start your application with the debugger attached, and run it until it breaks on the "An invalid request URI was provided" exception.
– Kevin Gosse
Mar 22 at 18:46
There are ways to debug that but it's a bit long to explain like that... Anyway, start by disabling "just my code" in Visual Studio (docs.microsoft.com/en-us/visualstudio/debugger/…) then bring the "Exception settings" panel (Debug -> Windows -> Exception Settings) and check "Common Language Runtime Exceptions". Then start your application with the debugger attached, and run it until it breaks on the "An invalid request URI was provided" exception.
– Kevin Gosse
Mar 22 at 18:46
github.com/IdentityServer/IdentityServer4/issues/2337 looks similar to this.
– John Boker
Mar 22 at 18:46
github.com/IdentityServer/IdentityServer4/issues/2337 looks similar to this.
– John Boker
Mar 22 at 18:46
From there, open the "callstack" panel, double click on the line that contains "PrepareRequestMessage", then in the "Watch" panel (or open the quickwatch window with shift + f9) type "request". Hopefully the request will still be on the stack, in which case you will be able to inspect it to understand what is this invalid uri
– Kevin Gosse
Mar 22 at 18:51
From there, open the "callstack" panel, double click on the line that contains "PrepareRequestMessage", then in the "Watch" panel (or open the quickwatch window with shift + f9) type "request". Hopefully the request will still be on the stack, in which case you will be able to inspect it to understand what is this invalid uri
– Kevin Gosse
Mar 22 at 18:51
@Matt.G -- that's part of the problem. I've put breakpoints at every place that uses it, but the error happens before they get hit.
– Casey Crookston
Mar 22 at 18:51
@Matt.G -- that's part of the problem. I've put breakpoints at every place that uses it, but the error happens before they get hit.
– Casey Crookston
Mar 22 at 18:51
|
show 6 more comments
3 Answers
3
active
oldest
votes
Please check this thread, and this thread. I believe you need to take care of the "Unable to obtain configuration from" exception, hope these'll help. :)
You could be on to something, but even after reading those two threads, I'm still not sure what steps to take. I can't even figure out where this error is originating from. I'm going to make a small edit to the OP
– Casey Crookston
Mar 22 at 19:03
I've done a full solution search forShowPII
and evenPII
. Nothing.
– Casey Crookston
Mar 22 at 19:10
From the second link, I think this comment is useful here: "The application read the OpenId Configuration url from web.config which is composed of the Authority tag and TenantId/TenantName <add key="Tenant" value="Contoso.onmicrosoft.com" /> <add key="Authority" value="login.microsoftonline.com0" />" The problem is definately coming from OWIN (this is a middleware), it might be worth checking how you configure this service apart from these configurations, if these still do not solve the issue!
– Péter Kuti
Mar 22 at 19:11
Which comment ?
– Casey Crookston
Mar 22 at 19:13
Sorry, just edited :) Wednesday, June 27, 2018 12:45 AM, By SaurabhSharma-MSFT
– Péter Kuti
Mar 22 at 19:15
add a comment |
In order to log additional details of PII related exceptions,
try setting ShowPII = true
in Configure
method in Startup
class like
Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII = true;
This should log additional details to the output window.
add a comment |
I spend two days on this. The problem was incorrect Authority URL. Check the Authority URL you have set in Azure and your application if is the same.
Hope this help someone.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55305959%2fan-invalid-request-uri-was-provided-no-helpful-info-in-the-stack-trace%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Please check this thread, and this thread. I believe you need to take care of the "Unable to obtain configuration from" exception, hope these'll help. :)
You could be on to something, but even after reading those two threads, I'm still not sure what steps to take. I can't even figure out where this error is originating from. I'm going to make a small edit to the OP
– Casey Crookston
Mar 22 at 19:03
I've done a full solution search forShowPII
and evenPII
. Nothing.
– Casey Crookston
Mar 22 at 19:10
From the second link, I think this comment is useful here: "The application read the OpenId Configuration url from web.config which is composed of the Authority tag and TenantId/TenantName <add key="Tenant" value="Contoso.onmicrosoft.com" /> <add key="Authority" value="login.microsoftonline.com0" />" The problem is definately coming from OWIN (this is a middleware), it might be worth checking how you configure this service apart from these configurations, if these still do not solve the issue!
– Péter Kuti
Mar 22 at 19:11
Which comment ?
– Casey Crookston
Mar 22 at 19:13
Sorry, just edited :) Wednesday, June 27, 2018 12:45 AM, By SaurabhSharma-MSFT
– Péter Kuti
Mar 22 at 19:15
add a comment |
Please check this thread, and this thread. I believe you need to take care of the "Unable to obtain configuration from" exception, hope these'll help. :)
You could be on to something, but even after reading those two threads, I'm still not sure what steps to take. I can't even figure out where this error is originating from. I'm going to make a small edit to the OP
– Casey Crookston
Mar 22 at 19:03
I've done a full solution search forShowPII
and evenPII
. Nothing.
– Casey Crookston
Mar 22 at 19:10
From the second link, I think this comment is useful here: "The application read the OpenId Configuration url from web.config which is composed of the Authority tag and TenantId/TenantName <add key="Tenant" value="Contoso.onmicrosoft.com" /> <add key="Authority" value="login.microsoftonline.com0" />" The problem is definately coming from OWIN (this is a middleware), it might be worth checking how you configure this service apart from these configurations, if these still do not solve the issue!
– Péter Kuti
Mar 22 at 19:11
Which comment ?
– Casey Crookston
Mar 22 at 19:13
Sorry, just edited :) Wednesday, June 27, 2018 12:45 AM, By SaurabhSharma-MSFT
– Péter Kuti
Mar 22 at 19:15
add a comment |
Please check this thread, and this thread. I believe you need to take care of the "Unable to obtain configuration from" exception, hope these'll help. :)
Please check this thread, and this thread. I believe you need to take care of the "Unable to obtain configuration from" exception, hope these'll help. :)
answered Mar 22 at 18:55


Péter KutiPéter Kuti
111
111
You could be on to something, but even after reading those two threads, I'm still not sure what steps to take. I can't even figure out where this error is originating from. I'm going to make a small edit to the OP
– Casey Crookston
Mar 22 at 19:03
I've done a full solution search forShowPII
and evenPII
. Nothing.
– Casey Crookston
Mar 22 at 19:10
From the second link, I think this comment is useful here: "The application read the OpenId Configuration url from web.config which is composed of the Authority tag and TenantId/TenantName <add key="Tenant" value="Contoso.onmicrosoft.com" /> <add key="Authority" value="login.microsoftonline.com0" />" The problem is definately coming from OWIN (this is a middleware), it might be worth checking how you configure this service apart from these configurations, if these still do not solve the issue!
– Péter Kuti
Mar 22 at 19:11
Which comment ?
– Casey Crookston
Mar 22 at 19:13
Sorry, just edited :) Wednesday, June 27, 2018 12:45 AM, By SaurabhSharma-MSFT
– Péter Kuti
Mar 22 at 19:15
add a comment |
You could be on to something, but even after reading those two threads, I'm still not sure what steps to take. I can't even figure out where this error is originating from. I'm going to make a small edit to the OP
– Casey Crookston
Mar 22 at 19:03
I've done a full solution search forShowPII
and evenPII
. Nothing.
– Casey Crookston
Mar 22 at 19:10
From the second link, I think this comment is useful here: "The application read the OpenId Configuration url from web.config which is composed of the Authority tag and TenantId/TenantName <add key="Tenant" value="Contoso.onmicrosoft.com" /> <add key="Authority" value="login.microsoftonline.com0" />" The problem is definately coming from OWIN (this is a middleware), it might be worth checking how you configure this service apart from these configurations, if these still do not solve the issue!
– Péter Kuti
Mar 22 at 19:11
Which comment ?
– Casey Crookston
Mar 22 at 19:13
Sorry, just edited :) Wednesday, June 27, 2018 12:45 AM, By SaurabhSharma-MSFT
– Péter Kuti
Mar 22 at 19:15
You could be on to something, but even after reading those two threads, I'm still not sure what steps to take. I can't even figure out where this error is originating from. I'm going to make a small edit to the OP
– Casey Crookston
Mar 22 at 19:03
You could be on to something, but even after reading those two threads, I'm still not sure what steps to take. I can't even figure out where this error is originating from. I'm going to make a small edit to the OP
– Casey Crookston
Mar 22 at 19:03
I've done a full solution search for
ShowPII
and even PII
. Nothing.– Casey Crookston
Mar 22 at 19:10
I've done a full solution search for
ShowPII
and even PII
. Nothing.– Casey Crookston
Mar 22 at 19:10
From the second link, I think this comment is useful here: "The application read the OpenId Configuration url from web.config which is composed of the Authority tag and TenantId/TenantName <add key="Tenant" value="Contoso.onmicrosoft.com" /> <add key="Authority" value="login.microsoftonline.com0" />" The problem is definately coming from OWIN (this is a middleware), it might be worth checking how you configure this service apart from these configurations, if these still do not solve the issue!
– Péter Kuti
Mar 22 at 19:11
From the second link, I think this comment is useful here: "The application read the OpenId Configuration url from web.config which is composed of the Authority tag and TenantId/TenantName <add key="Tenant" value="Contoso.onmicrosoft.com" /> <add key="Authority" value="login.microsoftonline.com0" />" The problem is definately coming from OWIN (this is a middleware), it might be worth checking how you configure this service apart from these configurations, if these still do not solve the issue!
– Péter Kuti
Mar 22 at 19:11
Which comment ?
– Casey Crookston
Mar 22 at 19:13
Which comment ?
– Casey Crookston
Mar 22 at 19:13
Sorry, just edited :) Wednesday, June 27, 2018 12:45 AM, By SaurabhSharma-MSFT
– Péter Kuti
Mar 22 at 19:15
Sorry, just edited :) Wednesday, June 27, 2018 12:45 AM, By SaurabhSharma-MSFT
– Péter Kuti
Mar 22 at 19:15
add a comment |
In order to log additional details of PII related exceptions,
try setting ShowPII = true
in Configure
method in Startup
class like
Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII = true;
This should log additional details to the output window.
add a comment |
In order to log additional details of PII related exceptions,
try setting ShowPII = true
in Configure
method in Startup
class like
Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII = true;
This should log additional details to the output window.
add a comment |
In order to log additional details of PII related exceptions,
try setting ShowPII = true
in Configure
method in Startup
class like
Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII = true;
This should log additional details to the output window.
In order to log additional details of PII related exceptions,
try setting ShowPII = true
in Configure
method in Startup
class like
Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII = true;
This should log additional details to the output window.
answered Mar 25 at 12:15
Matt.GMatt.G
2,7591416
2,7591416
add a comment |
add a comment |
I spend two days on this. The problem was incorrect Authority URL. Check the Authority URL you have set in Azure and your application if is the same.
Hope this help someone.
add a comment |
I spend two days on this. The problem was incorrect Authority URL. Check the Authority URL you have set in Azure and your application if is the same.
Hope this help someone.
add a comment |
I spend two days on this. The problem was incorrect Authority URL. Check the Authority URL you have set in Azure and your application if is the same.
Hope this help someone.
I spend two days on this. The problem was incorrect Authority URL. Check the Authority URL you have set in Azure and your application if is the same.
Hope this help someone.
answered Apr 8 at 14:26
user2693802user2693802
517
517
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55305959%2fan-invalid-request-uri-was-provided-no-helpful-info-in-the-stack-trace%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
U8hEVPC LC955O7q8iKiLF
2
include the code that uses the HttpClient
– Matt.G
Mar 22 at 18:42
There are ways to debug that but it's a bit long to explain like that... Anyway, start by disabling "just my code" in Visual Studio (docs.microsoft.com/en-us/visualstudio/debugger/…) then bring the "Exception settings" panel (Debug -> Windows -> Exception Settings) and check "Common Language Runtime Exceptions". Then start your application with the debugger attached, and run it until it breaks on the "An invalid request URI was provided" exception.
– Kevin Gosse
Mar 22 at 18:46
github.com/IdentityServer/IdentityServer4/issues/2337 looks similar to this.
– John Boker
Mar 22 at 18:46
From there, open the "callstack" panel, double click on the line that contains "PrepareRequestMessage", then in the "Watch" panel (or open the quickwatch window with shift + f9) type "request". Hopefully the request will still be on the stack, in which case you will be able to inspect it to understand what is this invalid uri
– Kevin Gosse
Mar 22 at 18:51
@Matt.G -- that's part of the problem. I've put breakpoints at every place that uses it, but the error happens before they get hit.
– Casey Crookston
Mar 22 at 18:51