OpenIddict - Introspect在Docker

时间:2017-12-04 18:00:54

标签: docker openiddict

Introspect不适用于Docker,在.net core 2.0 web api中开发的微服务,使用openiddict设置的微服务和使用Implicit flow的代码。容器端口80映射到运行身份微服务的主机机器32774,并且在32775端口上,当从邮递员调用其他服务授权方法时导致跟随错误。

        <h1>An unhandled exception occurred while processing the request.</h1>
    <div class="titleerror">CurlException: Couldn&#x27;t connect to server</div>
    <p class="location">System.Net.Http.CurlHandler.ThrowIfCURLEError(CURLcode error)</p>
    <div class="titleerror">HttpRequestException: An error occurred while sending the request.</div>
    <p class="location">System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()</p>
    <div class="titleerror">IOException: IDX10804: Unable to retrieve document from: &#x27;http://localhost:32774/.well-known/openid-configuration&#x27;.</div>
    <p class="location">Microsoft.IdentityModel.Protocols.HttpDocumentRetriever&#x2B;&lt;GetDocumentAsync&gt;d__8.MoveNext()</p>
    <div class="titleerror">InvalidOperationException: IDX10803: Unable to obtain configuration from: &#x27;http://localhost:32774/.well-known/openid-configuration&#x27;.</div>
    <p class="location">Microsoft.IdentityModel.Protocols.ConfigurationManager&#x2B;&lt;GetConfigurationAsync&gt;d__24.MoveNext()</p>

系统日志中出现以下错误

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{D63B10C5-BB46-4990-A94F-E40B9D520160}
and APPID 
{9CA88EE3-ACB7-47C8-AFC4-AB702511C276}
to the user NT AUTHORITY\SYSTEM SID (S-1-5-18) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

0 个答案:

没有答案