WCF 上未注册的 SecurityContextSecurityToken

发布于 2024-08-09 03:28:53 字数 389 浏览 1 评论 0原文

有人认识到这个错误吗? context-id=urn:uuid:xxx (key Generation-id=) 的 SecurityContextSecurityToken 未注册

它突然出现在我的 WCF 服务的服务跟踪日志中。

我们有一个 Windows 服务成功地将数据传输到 WCF 服务一天,直到它崩溃。当 Windows 服务尝试连接到 WCF 服务时,会出现该错误。

环境发生变化的可能性极小。这两个服务存在于不同的计算机上(应用程序服务器和 Web 服务器)。两台计算机都是 Windows Server 2003 SP1 计算机,Web 服务器运行 IIS 6。

不幸的是,我们无法访问服务器来帮助我们进行调试,因此我们非常感谢您对可能出现问题的任何猜测。

印地语

Does anyone recognise this error?
The SecurityContextSecurityToken with context-id=urn:uuid:xxx (key generation-id=) is not registered

It has suddenly appeared in the service trace log of my WCF service.

We had a Windows service successfully transmitting data into the WCF service for a day until it broke. The error manifests when the Windows service tries to connect to the WCF service.

It's highly unlikely that the environments changed. The two services exist on separate machines (an application server and a web server). Both are Windows Server 2003 SP1 machines, and the web server is running IIS 6.

Unfortunately, we have scarce access to the servers to help us debug, so any guesses on what might be wrong would be highly appreciated.

Indi

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

掀纱窥君容 2024-08-16 03:28:53

我们在 WCF 之前使用的 Web 服务扩展 3.0 中遇到了这个问题。我还没有使用 WCF 体验过这一点,但我认为值得检查一下。

该场景的工作原理如下:

  • 服务启动,并且作为服务身份的用户登录。
  • 当服务进行调用时,它是在该用户的安全上下文中完成的。
  • 一段时间后,登录令牌变得太旧(一天?),服务将不再接受它。

测试这一点的简单方法是重新启动 Windows 服务。

We had this problem with Web Service Extension 3.0, which was used before WCF. I have not experianced this with WCF, but I think that it is worth checking.

The scenario works like this:

  • The service starts and the user that is the identity of the service gets logged on.
  • When the service makes a call it is done in the security context of this user
  • After a while the logon token becomes so old (a day?) that the service will no longer accept it.

The easy way to test this is to restart the windows service.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文