[否OpenID端点发现"在Azure网站 [英] "No OpenID endpoint found" on Azure Website

查看:141
本文介绍了[否OpenID端点发现"在Azure网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个MVC 3应用程序运行作为Azure的网站一个奇怪的问题。我曾与Azure的问题,在过去,但新的网站概念的作品几乎是完美的,除了这一点:

I have a strange issue with a MVC 3 app running as an Azure Website. I have had issues with Azure in the past, but the new Website concept works almost perfectly, except for this:

DotNetOpenAuth.Messaging.ProtocolException: No OpenID endpoint found.

这仅与谷歌发生,只有在Azure上。在本地运行它的每一个尝试使用谷歌的OpenID登录将导致服务器错误做工精细,在AppHarbor运行它工作正常,但在Azure上,由于该异常(使用空中刹车跟踪)。

This only happens with Google, only on Azure. Running locally it works fine, running on AppHarbor it works fine, but on Azure every attempt to use Google for OpenID login will result in a server error due to that exception (tracked using Airbrake).

自己看看,尝试用谷歌在我的网站,如果你立刻得到了一个服务器错误页面就意味着DNOA被扔了。所有其他方式登录做工精细,包括雅虎和AOL这也是OpenID的。

See for yourself, try logging in with Google on my website and if you immediately get a server error page it means DNOA is throwing up. All other login methods work fine, including Yahoo and AOL which are also OpenID.

P.S .:不要太多次,虽然,空气制动会很乐意的垃圾我的电子邮件地址:<

P.S.: Don't try it too many times though, AirBrake will happily spam my email address :<

推荐答案

尝试之前的调用 OpenIdRelyingParty.CreateRequest $ C>:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

在一些Azure的配置,这已被证明是解决该问题。请让我们知道,如果这个解决您的问题,以及。

In some Azure configurations this has been shown to resolve the issue. Please let us know if this resolves your issue as well.

这篇关于[否OpenID端点发现&QUOT;在Azure网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆