asp.net – Google OpenId:找不到OpenID端点(间歇性)
发布时间:2020-05-24 10:23:24 所属栏目:asp.Net 来源:互联网
导读:通常使用谷歌OpenId工作正常,每天数千次,然后它将开始间歇性出错并超时一小时左右(一些请求将验证,但不是全部).重复验证最终会起作用. 错误消息是: Event code: 200000 Event message: No OpenID endpoint found. : https://www.google.com/accounts/o8/id S
|
通常使用谷歌OpenId工作正常,每天数千次,然后它将开始间歇性出错并超时一小时左右(一些请求将验证,但不是全部).重复验证最终会起作用. 错误消息是: Event code: 200000 Event message: No OpenID endpoint found. : https://www.google.com/accounts/o8/id Sequence contains no elements 添加log4net产量: DotNetOpenAuth.Yadis:
Error while performing discovery on: "https://www.google.com/accounts/o8/id":
DotNetOpenAuth.Messaging.ProtocolException:
Error occurred while sending a direct message or getting the response.
---> System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse
(HttpWebRequest request,DirectWebRequestOptions options)
in c:...Dot...CoreMessagingStandardWebRequestHandler.cs:line 127
--- End of inner exception stack trace ---
at DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse
(HttpWebRequest request,DirectWebRequestOptions options)
in c:...Dot...CoreMessagingStandardWebRequestHandler.cs:line 175
at DotNetOpenAuth.Messaging.UntrustedWebRequestHandler.GetResponse
(HttpWebRequest request,DirectWebRequestOptions options)
in c:...Dot...CoreMessagingUntrustedWebRequestHandler.cs:line 250
at DotNetOpenAuth.Yadis.Yadis.Request
(IDirectWebRequestHandler requestHandler,Uri uri,Boolean requireSsl,String[] acceptTypes)
in c:...Dot...OpenIdYadisYadis.cs:line 172
at DotNetOpenAuth.Yadis.Yadis.Discover
(IDirectWebRequestHandler requestHandler,UriIdentifier uri,Boolean requireSsl)
in c:...DotNetOpenAuth.OpenIdYadisYadis.cs:line 63
at DotNetOpenAuth.OpenId.UriDiscoveryService.Discover
(Identifier identifier,IDirectWebRequestHandler requestHandler,Boolean& abortDiscoveryChain)
in c:...DotNet...OpenIdOpenIdUriDiscoveryService.cs:line 51
at DotNetOpenAuth.OpenId.IdentifierDiscoveryServices.Discover
(Identifier identifier)
in c:...Dot...OpenIdOpenIdIdentifierDiscoveryServices.cs:line 58
at DotNetOpenAuth.OpenId.RelyingParty.AuthenticationRequest.Create
(Identifier userSuppliedIdentifier,OpenIdRelyingParty relyingParty,Realm realm,Uri returnToUrl,Boolean createNewAssociationsAsNeeded)
in ...OpenId.RelyingPartyOpenIdRelyingPartyAuthenticationRequest.cs:line 364
和 DotNetOpenAuth.Http WebException: Timeout from https://www.google.com/accounts/o8/id,no response available. 有任何想法吗? 解决方法听起来您需要修复网络延迟.谷歌似乎不太可能成为这里的瓶颈.您可能还希望增加结束时的HTTP超时以降低故障率.完整的选项可用here.特别是你可能正在寻找: <untrustedWebRequest
timeout="00:00:10"
readWriteTimeout="00:00:01.500" />
查看配置链接以查看其位置的上下文. (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net-mvc-4 – 如何在SPA HotTowel模板中设置登录视图(用
- asp.net-mvc – 如何将锚/哈希的参数添加到RedirectToRoute
- asp.net-mvc – ASP.NET MVC图像和其他静态内容url
- ASP.NET 4 URL限制:为什么URL不能包含任何内容?人物
- 这两种方法有什么区别?
- ASP.NET Core中调整HTTP请求大小的几种方法详解
- asp-classic – 如何在经典的asp中读取文本文件
- ASP.NET中读取XML文件信息的4种方法与示例代码
- asp.net-mvc – Sammy.js和Knockout.js =模板没有模板?
- asp.net-mvc – MVC 5脚手架不为基本EF派生数据发出引导类
