我正尝试在C#中绑定到Active Directory服务器,但在现场我似乎遇到了在测试环境中无法重现的问题。
我得到了一个例外
System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.Director
我试着测试我的网站的速度,所以我用
time curl "http://google.com"
结果是
real 0m15.589s user 0m0.012s sys 0m0.000s
我试着看是什么花了这么长时间,所以我给主机time host google.com计时
并得到了
real 0m0.180s user 0m0.008s sys 0m0.004s
和time curl "http://216.58.217.206"
并得到了
real 0m0.163s user 0m0.000s sys 0m0.004s
OmniAuth (Facebook和LinkedIn)为我工作了几个月。
在没有任何代码更改的情况下,我开始看到Facebook/LinkedIn的回调出现了很长时间的延迟。
现在大约需要40秒才能完成:
Started GET "/auth/facebook/callback?state=e600c4acbb0e10f40....
至:
Processing by AuthenticationsController#create as HTML....
我在那上面看到了,但是没有一个决议对我有用。
有人看到了吗?我怎样才能解决这个问题/弄清楚发生了什么?
--编辑1--
我用卷曲运