Closed haubbixa closed 7 years ago
Is this line above from the logs? It's not clear what the real problem is. I think this is something you should ask Microsoft to work on -- they need more information in their error logs for these scenarios.
Sorry, yes this text is from the application log. I performed a bunch of experiments and have drawn the following conclusions:
it is not consistent, I created a second server and the problem was not reproducible, could very well be performance related, the first server was lacking resources
the exception occurs when the controller is attempting to validate the received token, I configured IIS to start all applications and had no exceptions until the first web request
Since this appears to be a performance related issue, I'm not super worried about, though it would be nice to get it figured out.
I have successfully implemented an identity server and protected a .net core web app using the Authorize attribute on my controller. The problem I'm running into is that the web app fails to retrieve the configuration document from the authentication server (also a web app running on the same server) on startup, after a while I can issue the same http request (from Postman) and the request succeeds. The only authentication options I'm using are Authority and ApiName. Here is the error: