OAuth 错误:此 IP 无法为该应用程序发出请求 [英] OAuth Error: This IP can't make requests for that application

查看:18
本文介绍了OAuth 错误:此 IP 无法为该应用程序发出请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始获得随机 此 IP 无法向该应用程序发出请求. 我的应用程序出错.我的服务器的 IP 地址在我的应用程序设置的白名单中,它运行良好,但我随机开始收到此错误.我已经检查了我的服务器的 IP(即使我已经知道它是静态的),我已经删除了白名单中的所有条目,但似乎都没有.太奇怪了,我可以在家里测试完全相同的代码,它可以工作!问题的原因可能是什么?这在几分钟前还没有发生,但现在我的服务器出现错误.

I just started to get random This IP can't make requests for that application. errors with my app. My server's IP address is on my whitelist from my app's settings, and it was working perfectly, but I randomly started to get this error. I've checked my server's IP (even though I already know it's static), I've removed all the entries in the whitelist, but none seem to work. Weird enough, I can test the exact same code from my home and it works! What could be the cause of the problem? This wasn't happening even a few minutes ago, but now I'm getting an error at my server.

谢谢,可以.

更新:我似乎也无法删除白名单.我去了应用程序高级设置,IP 又出现了.我删除了它们并保存,它说它已保存,但是当我向下滚动时,IP 仍然存在.我认为这是 Facebook 的一个严重错误.但是那个[目前不可编辑的]列表确实包含我服务器的IP.

UPDATE: I can't seem to remove the whitelist, too. I went to app advanced settings, and the IP's were there again. I deleted them and saved, it says that it's saved but when I scroll down, the IP's are still there. I think it's a serious bug with Facebook. But that [currently un-editable] list DOES contain my server's IP anyway.

推荐答案

尽管 Facebook 出现了一些错误(这导致我错误地在 Facebook 端进行了更深入的调查),但我意识到我的虚拟主机的传出连接在少数几个小时.传入的专用 IP 保持原样,但是当我尝试在服务器端启动连接时,我意识到我的服务器没有使用分配给它的专用 IP.我已经联系了我的托管服务提供商 GoDaddy,他们告诉我情况是正常的,即使我有专用 IP,也无法修复它.我已经清除了白名单(允许所有 IP 地址 - 默认)并且问题解决了.(与此同时,Facebook 也分析并修复了我的白名单问题,因此我可以清除列表)

Despite the bugs occuring at Facebook (which led me incorrectly to investigate deeper at the Facebook-side), I realized that my web hosting's outgoing connection changes randomly in few hours. The incoming dedicated IP stays as is, but when I try to initiate a connection server-side, I've realized that my server wasn't using the dedicated IP assigned to it. I've contacted GoDaddy, my hosting provider, and they've informed me that the situation is normal and there's no way to fix it even though I have a dedicated IP. I've cleared the whitelist (allowing ALL IP addresses-the default) and the problem is solved. (Facebook, in the meantime, has analyzed and fixed my whitelist issue too, so I could clear the list)

这篇关于OAuth 错误:此 IP 无法为该应用程序发出请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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