负载平衡客户端关联失败

时间:2018-02-12 13:50:11

标签: .net load-balancing haproxy identityserver4

目前我已经设置了HAProxy所指的地方: 1个身份服务器 并在两台不同的计算机上加载平衡的客户端网站。

对于所有这些我使用共享证书,客户端使用开放id混合流。

当我只有一个客户端同时运行时,一切都按预期工作。

每当从身份服务器回调(http://identityclient.local/signin-oidc)启用第二个客户端时,我都会收到错误:

  System.Exception: Correlation failed.
   at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.<HandleRequestAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()

非常感谢任何帮助:(

0 个答案:

没有答案