To check if there is an Internet connection available, my app uses the common hint: try to download www.google.com.
Today my app does not want to connect to my server, although my device navigates using a browser.
Well, I found the problem: if Google Search is nervous , it sends to you a "captcha" and your "connection test" fails.
So, check if you downloaded a page which contains a "sorry" and if so try to download a different page. No, it seems that you will get an error before the "captcha" page, so Successful will be False.
[P.S. I don't really need to download a page to check for an Internet connection, because I have to connect to my server, but I used a my library which does it]
Today my app does not want to connect to my server, although my device navigates using a browser.
Well, I found the problem: if Google Search is nervous , it sends to you a "captcha" and your "connection test" fails.
[P.S. I don't really need to download a page to check for an Internet connection, because I have to connect to my server, but I used a my library which does it]
Last edited: