Google OpenId: No OpenID endpoint found (intermittent)

前端 未结 2 844
栀梦
栀梦 2021-01-05 03:57

Usually using the Google OpenId works fine, thousands of times a day, then it will start intermittently going wrong and timing out for an hours or so (some requests will val

相关标签:
2条回答
  • 2021-01-05 03:57

    We recently ran into this same issue. Having read several different scenarios and having gone through the trace steps I finally concluded, as I have seen elsewhere that this problem can be caused by a DNS server issue. In our case we had a production server that has been in use for over 18 months and just recently started getting the same issue as mentioned above, but it was very consistent on this one server. Another server on a another network and our development computers did not have any issues.

    Long story short I changed the primary DNS for the production server to Google's public DNS, 8.8.8.8 and it instantly started working. I had manually flushed the DNS cache on the production server prior to this (without positive outcome) so it leads me to believe the DNS server (provided by our hosting center) had a bad cache entry that was ultimately causing the problem.

    Hope this helps someone else who runs across this scenario.

    0 讨论(0)
  • 2021-01-05 04:13

    It sounds like you need to fix your network latency. It seems highly unlikely that Google would be the bottleneck here.

    You may also want to increase the HTTP timeouts on your end to reduce the failure rate. The full set of options is available here. Specifically you're probably looking for:

    <untrustedWebRequest
                timeout="00:00:10"
                readWriteTimeout="00:00:01.500" />
    

    Check out the configurations link to see the context of where this goes.

    0 讨论(0)
提交回复
热议问题