Facebook internal server 500 with unique IP / user-agent combination

I am running the Android application HelloFacebookSample from Facebook on my phone.

Inactive application for Facebook is not installed.

When I try to log in via my Wi-Fi network, the registration process stops at> D / FacebookSDK.WebDialog (6404): Website download URL: https://m.facebook.com/dialog/oauth?display=touch&client_id = XXX38988221028 & scope = & type = user_agent & redirect_uri = fbconnect% 3A% 2F% 2Fsuccess <

... and all I get is an empty white dialog popup with a close button (x) in the upper left corner.

It’s still so bad, but when I turn off the wireless connection on my phone and force a connection through 3G, it works.

I know this sounds crazy, but it is. If I switch to Wi-Fi, it will die out and 3G will work again.

If I put the " https://m.facebook.com/dialog/ ..." url in mobile Chrome, I get an internal 500 server error when I am on Wi-FI and I get the expected login page when I am in 3G.

Now I'm just looking for ideas on why this might be so.

  • Could Facebook be blocking my IP address? (Id did a lot of retests, allowing the removal of the application, etc.)

  • NOTE. " https://m.facebook.com/dialog/ ..." url works with my desktop browser on the specified Wi-Fi connection. Therefore, if there was any blockage, it should have been against a combination of IP and user agent.

UPDATE I also tried it from another Wi-Fi network, and it worked as expected. So it really seems that I got a specific “Internal Server 500” from Facebook from this IP device?

+1
source share
1 answer

The reason in my case should be the IP / User-Agent combination that was blacklisted on Facebook:

When I tried to use the same device from another Wi-Fi network (i.e. with a different IP address), the Facebook connection worked as expected.

Or, if I used the same Wi-Fi with a different User-Agent (i.e., a different browser), then it worked just as expected.

0
source

Source: https://habr.com/ru/post/1469164/