OAuth Error: This IP can't make requests for that application
Asked Answered
S

4

18

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.

Thanks, Can.

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.

Ski answered 22/8, 2012 at 12:3 Comment(0)
S
8

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)

Ski answered 3/9, 2012 at 15:24 Comment(1)
Good contribution to help understand why it isn't working, while you'd expect it should.Gewgaw
D
40

As Victor Hugo Arango A. said, remove all the IPs in the server whitelist and you're good to go. To do this:

  1. Go to App Settings
  2. Advanced (tab)
  3. Security (section) remove IP if you see any.
Darryldarryn answered 28/4, 2015 at 13:9 Comment(0)
B
16

I had the same problem... I just removed all the ip listed in the server whitelist.

I recently bought an ssl certificate with comodo, in hostgator.... they change my IP and everything stop working.... I get this error: "This IP can't make requests for that application." I think that Facebook servers haven't update the DNS yet, and thats why the error is happening.

So, you can solve the problem removing all the server whitelist ip, in your Facebook app advance configuration....

Benzoate answered 14/3, 2013 at 17:0 Comment(0)
S
8

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)

Ski answered 3/9, 2012 at 15:24 Comment(1)
Good contribution to help understand why it isn't working, while you'd expect it should.Gewgaw
J
0

I had to remove cloudFlare service on my domain

Jumada answered 22/12, 2013 at 7:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.