从客户端开始连接时,请致电
/signalr/negotiate?clientProtocol=1.5&connectionData=%5B%7B"name"%3A"gameHub"%7D%5D&_=1460028930688
失败,错误500.
错误500背后的例外是:
Exception Details:
System.Security.Cryptography.CryptographicException: The data
protection operation was unsuccessful. This may have been caused by
not having the user profile loaded for the current thread’s user
context,which may be the case when the thread is impersonating.
来源错误:
An unhandled exception was generated during the execution of the
current web request. information regarding the origin and location of
the exception can be identified using the exception stack trace below.
堆栈跟踪:
[CryptographicException: The data protection operation was
unsuccessful. This may have been caused by not having the user
profile loaded for the current thread’s user context,which may be the
case when the thread is impersonating.]
我阅读并尝试了在SignalR CryptographicException on AzureWebsites建议的解决方案,但id对我不起作用.
据我了解,Azure不允许LoadUserProfile.
任何解决方法?