gpt4 book ai didi

android - 如何调试 "DialogError: The connection to the server was unsuccessful"错误?

转载 作者:搜寻专家 更新时间:2023-11-01 08:09:45 25 4
gpt4 key购买 nike

很遗憾这个问题被问了好几次都没有正确回答。

这个错误已经出现在很多人试图授权一个应用程序和人们不得不说的唯一提示是重启手机或删除缓存。

现在这可能对几个人有用,但它并不是真正的解释,也不是一个严肃的解决方案。

网络上没有任何关于此错误的解释,所以我希望有人可以解释不同的错误编号,这样我就可以找出我的问题所在,并拥有某种类型的数据中心来处理不同类型的错误,正如没有人解释的那样。

到目前为止我和我在主题中发现的错误:

  • 我的:1358891 似乎是随机的
  • 749
  • 417 - 这个错误在主题中被解释为:

Error- 417 Expectation Failed

The 417 status code means that the server was unable to properly complete the request. One of the headers sent to the server, the "Expect" header, indicated an expectation the server could not meet.

有人可以解释这些错误中的任何一个或一般提示吗?

对于我的问题,我使用文档中发布的授权方法的标准代码,

日志:

    06-10 23:48:11.872: D/Facebook-WebView(1358): Webview loading URL: https://m.facebook.com/dialog/oauth?type=user_agent&redirect_uri=fbconnect%3A%2F%2Fsuccess&display=touch&client_id=MYAPPID
06-10 23:48:11.884: W/webcore(1358): Can't get the viewWidth after the first layout
06-10 23:48:11.899: V/webview(1358): OnSizeChanged: Enter
06-10 23:48:11.903: D/Facebook-authorize(1358): Login failed: com.facebook.android.DialogError: The connection to the server was unsuccessful
06-10 23:48:11.903: D/Facebook-WebView(1358): Webview loading URL: https://m.facebook.com/dialog/oauth?type=user_agent&redirect_uri=fbconnect%3A%2F%2Fsuccess&display=touch&client_id=MYAPPID

最佳答案

我有同样的错误。

Facebook 应用程序(不是我正在开发的应用程序)似乎无法正常工作,更确切地说,它没有连接到互联网。

我是这样解决的:

  1. 我从设置->应用程序->管理中清除了 Facebook 应用程序数据应用程序->Facebook->清除数据;
  2. 打开 Facebook 应用程序并登录;
  3. 打开我的应用程序,出现登录对话框。

关于android - 如何调试 "DialogError: The connection to the server was unsuccessful"错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10972305/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com