Chrome ignores edits to hosts file? - OnePlus 3T Questions & Answers

I have a rooted phone and I use a hosts editor app to redirect certain URLS to 127.0.0.1. This isn't to block ads, it's to block websites that I find myself idly browsing on my phone when I ought to be working. For most sites, this works fine –*if I try to visit the URL, I get "This site can't be reached". But for certain sites e.g. nymag.com and theguardian.com, the browser still seems to be able to find them even after I've entered every permutation I can think of into the hosts file. This happens regardless of whether I'm connecting over 4G or over wifi via my home router. I've tried rebooting my phone, I've tried clearing Chrome's cache through apps settings, and I've also tried clearing Chrome's cache and sockets through the net-internals control panel. But I just cannot get it to forget how to connect to those websites! Does anyone know what the problem might be? Thanks.

Nedpoleon said:
I have a rooted phone and I use a hosts editor app to redirect certain URLS to 127.0.0.1. This isn't to block ads, it's to block websites that I find myself idly browsing on my phone when I ought to be working. For most sites, this works fine –*if I try to visit the URL, I get "This site can't be reached". But for certain sites e.g. nymag.com and theguardian.com, the browser still seems to be able to find them even after I've entered every permutation I can think of into the hosts file. This happens regardless of whether I'm connecting over 4G or over wifi via my home router. I've tried rebooting my phone, I've tried clearing Chrome's cache through apps settings, and I've also tried clearing Chrome's cache and sockets through the net-internals control panel. But I just cannot get it to forget how to connect to those websites! Does anyone know what the problem might be? Thanks.
Click to expand...
Click to collapse
Is Data Saver turned off under Settings (three dots in the upper right corner) ?

casual_kikoo said:
Is Data Saver turned off under Settings (three dots in the upper right corner) ?
Click to expand...
Click to collapse
It was turned on so I tried turning it off. Strangely, that seemed to fix some sites but not others – e.g. nymag.com is now successfully blocked but I can still get to theguardian.com. Thanks, still an improvement!

Nedpoleon said:
It was turned on so I tried turning it off. Strangely, that seemed to fix some sites but not others – e.g. nymag.com is now successfully blocked but I can still get to theguardian.com. Thanks, still an improvement!
Click to expand...
Click to collapse
Try to clear cache / data of Chrome, and then try again.

Related

[Q] Kindle App - book download issues

Was so looking forward to this. I have some books in Archive that simply fail to download to the HT7, others can take ages to download. Tried removing the app, de-registering on Amazon and re-installing, same issue. Anyone else seeing this ?
Ian
So far my books haved synced fine over Wi-fi. Are you using Wi-Fi or 3G? Do you get any error message?
I'm only attempting this over the WiFi network, it eventually gives up and says failed to download, try again.
The only real possible causes for failed downloads would be loosing wireless connection or Closing the application before the download has completed.
Well I thought this but the iPhone beside me downloads fine over wifi as do my various laptops with the Kindle app installed.
Maybe try de-registering and uninstalling/Reinstalling one more time? Don't know what else to suggest fella.
This is off the amazon website hence why i've quoted it.
Amazon Website said:
Book appears in Kindle Library and Archived Items but download failed.
Possible causes:
Lost wireless connection.
Application closed before download completed.
Confirm wireless connection and retry download
Check wireless data service or Wi-Fi is enabled on the device and that status indicators show an active connection. A wireless connection must be active.
Launch Kindle for Android.
Tap the Menu button, then select "Archived Items."
Select the desired title from the "Archived Items" list.
Leave your wireless connection and Kindle for Android app running until the download completes--do not leave the application.
If your wireless connection is interrupted and the download fails, attempt the steps above again when your wireless connection is re-established and active long enough to complete the download.
Confirm disk space is available
If you see the error message: "There is not enough space available on the media card," free up disk space by deleting videos, pictures, applications, and/or other files you no longer need.
Book is missing or does not appear in Archived Items list.
Possible causes:
Lost wireless connection.
Kindle for Android registered to wrong account.
Confirm wireless connection and relaunch application
Close the Kindle for Windows Phone application.
Check wireless data service or Wi-Fi is enabled on the device and that status indicators show an active connection. A wireless connection must be active.
Launch Kindle for Windows Phone and log in to the Amazon account you used to purchase the book you wish to download if prompted.
Scroll to the menu section in the panorama view and select "Sync" and wait for the sync to complete.
Scroll back to the home section in the panorama view and select “Archived Items.”
If the title still does not appear, follow the steps below to re-register.
Re-register the application
Launch Kindle for Windows Phone on your device.
Scroll to the menu section of the panorama view.
Tap settings.
(If already signed in)
Tap the “deregister this device” button.
Tap “deregister” button.
Enter the same e-mail address and password for your Amazon.com account and select "Register."
Click to expand...
Click to collapse
Edit: Lol just noticed it says Android when talking about books not being in archived items even though its the WP rouble page.
http://www.amazon.com/gp/help/customer/display.html?ie=UTF8&nodeId=200590160
I appreciate the response, thanks. Will try a few things and report back here
konnexion said:
I appreciate the response, thanks. Will try a few things and report back here
Click to expand...
Click to collapse
No problem, Maybe try the Feedback and Support feature which is within the app to send an e-mail.
Case opened with Amazon Kindle Support
Please keep us apprised of the situation.
konnexion said:
I'm only attempting this over the WiFi network, it eventually gives up and says failed to download, try again.
Click to expand...
Click to collapse
Hate to cross post, but I'm having a similar issue on my android device (nook color), as well as two windows pc's. I don't think this issue is isolated to one platform.
Thanks for info. Amazon are still investigating this issue
solved the same problem
I had the same problem. I accessed my app manager and changed the kindle app location from phone to sd card. After that all my queued books downloaded. I think the problem was not enough memory on my phone, or reserved memory on the phone and kindle auto DLs to location the app is installs. (could be wrong, but solved the problem anyway) hope this helps

Android OS using data

Hey!
I'm getting crazy here...
I do not have an internet flatrate on my phone, everything is prepaid, i.e. every time I access the internet via mobile data I lose money !
My provider lets me access facebook for free -> I sometimes use it on the go.
Eventhough its free I lose money through "Android OS" downloading stuff...
I'm using Droidwall and only allowed Dolphin to use mobile data. Android OS still has access somehow...
Does anybody know how to stop Android OS from using data? I don't have any syncs on. Even when using the option "restrict background data" i lose money though Android OS. My Data Manager also just tells me "dolphin" and "OS services"...
Hope you can help!
.:Crack:. said:
My Data Manager also just tells me "dolphin" and "OS services"...
Hope you can help!
Click to expand...
Click to collapse
use APN switch https://play.google.com/store/apps/...mJsaW5rZW5saWdodHMuYW5kcm9pZC5hcG5zd2l0Y2giXQ..
xsenman said:
use APN switch https://play.google.com/store/apps/...mJsaW5rZW5saWdodHMuYW5kcm9pZC5hcG5zd2l0Y2giXQ..
Click to expand...
Click to collapse
Sorry but this wont help me. I need a diagnostics tool that tells me which app exactly eats my money. Whenever id turn on the apn androidos would still download stuff. I nearly never have mobile data on.
try factory reset
jelle2503 said:
try factory reset
Click to expand...
Click to collapse
Thanks for trying to help but you cannot imagine how often i do a factory reset. This does NOT fix the problem of Android OS.
Have you enabled - back up my settings, etc. to my google account ?
In most ICS Rom are widget buttons where you can find "Toggle sync". Disable synchronization by this widget doesn't help?
LiverpoolFCfan said:
Have you enabled - back up my settings, etc. to my google account ?
Click to expand...
Click to collapse
Nope, I did not...
Dominik916 said:
In most ICS Rom are widget buttons where you can find "Toggle sync". Disable synchronization by this widget doesn't help?
Click to expand...
Click to collapse
I disabled the sync toggle from the power management widget...
Its driving me crazy! :/
Hmm, if you switched off general synchronization and it doesn't help, maybe try switch off synchronize in every application, e.g, weather, google play etc.
It's a bit strange, but maybe it'll help
Don't know if that would help, since i use Droidwall to block all internet accesses on mobile data exept Dolphin. AndroidOS still has access but i cannot figure out why...
Which processes are AndroidOS? Is there any Spy App that could tell me this?
Hmmm.... use a DroidWall from Google Play, if your phone is rooted.
After install, you can precisely set which app would you like to grant net access, and it is possible to allow access over wifi only.
Another what you can try is PermissionsDenied. Here you can set the net access via each app permission.
Now Im saying it thrice. I am using Droidwall!
AndroidOS is still eating my money...
.:Crack:. said:
AndroidOS is still eating my money...
Click to expand...
Click to collapse
I guess it's not much solace, but I'm experiencing the same. I know a bit about Android/Linux/etc., so I took a look at the firewall rules. Theoretically it is possible that some packets are leaking through the rules of DroidWall (or the firewall rules of "avast! Mobile Security" ... but they are mostly the same as DroidWall's rules). Later I'll test this by adding a custom rule that logs everything that gets past DroidWall's rules and see if any traffic shows up that should be caught by DroidWall. I'll report back my results here.
Ok, I got to the bottom of this. In my case I was seeing very small amounts of data usage and it was attributed to the "Android OS" app/component in the "Settings / Data usage / Mobile" screen. As it turned out, the small traffic was caused by regular DNS requests (since I had "avast! Mobile Security" installed which always allows outgoing DNS requests ... regardless of your firewall settings).
I wrote a pretty thorough post on my experiences in my blog: muzso.hu/node/4943
P.S.: I do not have yet 10 posts on xda-developers so I was not allowed to insert a proper link to my blog post (but I guess a copy&paste is not too much to ask for if you're interested in the details)

[Q] MS Store doesn't work via Fiddler proxy

I am trying to use Fiddler proxy for my Windows Phone 8 device. It works for almost everything (like Internet browsing, ActiveSync, Calendar and most of the apps) but it fails to work with the Store. I can see in the Fiddler's trace log that every time I try to install or update an app, the tunnel to login.live.com:443 gets opened correctly and nothing else happens after that. And the phone shows an error message "MS account service is unavailable right now"
Fiddler's Root certificate is installed on the phone. Fiddle is not complaining about client certificate, as it sometimes does. Turning proxy off for the WiFi connection brings everything back to normal.
Browsing the store works over a proxy, but the actual app download process (or possibly the license check process, or maybe both) is certificate-pinned. You can't MitM it without Microsoft's cert. (This has been known for months, if you read the threads about using a proxy with the store they all say you have to turn it off before hitting Install).
GoodDayToDie said:
Browsing the store works over a proxy, but the actual app download process (or possibly the license check process, or maybe both) is certificate-pinned. You can't MitM it without Microsoft's cert. (This has been known for months, if you read the threads about using a proxy with the store they all say you have to turn it off before hitting Install).
Click to expand...
Click to collapse
Tried doing a search you couldn't link me a few of the post on this could you please?
There's nothing to search for. He told you why it doesn't work. There's no way around it... Use the proxy to enable the download button for unavailable apps, but turn it off right before you tap download.
Yeah, you're not going to find actual details of the certificate pinning, as it's not documented by Microsoft. We only know about it from observing the phone's behavior.
I suppose we could reverse engineer the code to get more details, but that seems like a waste of time.

[Q] This webpage is not available... ERR_CONNECTION_REFUSED

Hello everyone,
I've had a Nexus 6 for about a month now and I'm running into this same problem, whether it be an email link or a link on Twitter:
I keep getting a "This webpage is not available... ERR_CONNECTION_REFUSED" page upon clicking various links.
This seems to be happening more and more lately. I know the odds of every single one of these links being down or broken are slim to none.
At first I thought it could be my AdAware software wreaking havoc on the link itself, and thus shutting me down from viewing it. But after uninstalling the AdAware, I'm still getting these down webpages. So that rules out the AdAware aspect.
I seem to get these A LOT on Twitter. Someone will post a link, whether it be a website, video, picture, etc..... and I click the link and I get this same message.
I should also mention I bought my Mom a 64GB unlocked Nexus 6 from Amazon (same place where I got mine), I unlocked it, rooted it and we're both running stock 5.0.1 for the time being, until I throw 5.1 stock on ours for the voice and data simultaneous capabilities.
Any help with this matter would be appreciated, as I'm at my witts end regarding why these damn links keep saying unavailable.
I should mention, the latest link was from a job site called ziprecruiter.com, care of monster.com job postings. She tried to open one of the job links in her GMail and it gives her the screenshot I posted. I tried every job link and the same result. However, when I open the job links via a web browser on my MacBook, each link works perfectly. I also included the details screenshot of the webpage.
Thanks everyone!
Anyone?
It's your modified hosts file. Reinstall adaware and use the restore hosts file option. If you want to keep using adaware, you can also add the sites being blocked to your white lists in adaware so that it will not add them to your hosts file. It's blocking referral and redirecting links most likely.
mwalt2 said:
It's your modified hosts file. Reinstall adaware and use the restore hosts file option. If you want to keep using adaware, you can also add the sites being blocked to your white lists in adaware so that it will not add them to your hosts file. It's blocking referral and redirecting links most likely.
Click to expand...
Click to collapse
Thanks so much, I'll try this out
try adfree instead http://adfree.bigtincan.com/adfree.apk
mwalt2 said:
It's your modified hosts file. Reinstall adaware and use the restore hosts file option. If you want to keep using adaware, you can also add the sites being blocked to your white lists in adaware so that it will not add them to your hosts file. It's blocking referral and redirecting links most likely.
Click to expand...
Click to collapse
I tried doing what you said, but was unable to get it to work.
Any tips on this?
I'm still getting this same error page on my Nexus 6, as well as my Mom.
I can't for the life of me figure out how to get this to go away.
Her problem is with random emails from websites she shops at, such as fanatics.com
She'll open the email on her phone, click one of the sales items and that damn page shows up every time. I uninstalled Ad Away and rebooted, and it's still having the same problem.
If you or anyone else could PLEASE help me out with this, I'd appreciate it.
Thanks-
MVLJR said:
I tried doing what you said, but was unable to get it to work.
Any tips on this?
I'm still getting this same error page on my Nexus 6, as well as my Mom.
I can't for the life of me figure out how to get this to go away.
Her problem is with random emails from websites she shops at, such as fanatics.com
She'll open the email on her phone, click one of the sales items and that damn page shows up every time. I uninstalled Ad Away and rebooted, and it's still having the same problem.
If you or anyone else could PLEASE help me out with this, I'd appreciate it.
Thanks-
Click to expand...
Click to collapse
Have you tried clearing the browsers cache in /settings/apps/ or clearing the cache in recovery, that may help. No problem for me to open this site, btw stock not rooted.
mwalt2 said:
It's your modified hosts file. Reinstall adaware and use the restore hosts file option. If you want to keep using adaware, you can also add the sites being blocked to your white lists in adaware so that it will not add them to your hosts file. It's blocking referral and redirecting links most likely.
Click to expand...
Click to collapse
gee2012 said:
Have you tried clearing the browsers cache in /settings/apps/ or clearing the cache in recovery, that may help. No problem for me to open this site, btw stock not rooted.
Click to expand...
Click to collapse
Thanks for the reply.
I FINALLY figured it out.
Had to reset the hosts file via the app and then reboot immediately. For some reason I didn't reboot before and the host files didn't go back to stock.
Even if you uninstall Ad Aware, the host files remain unchanged and thus the problem persists.
I reverted back to stock host files for now and the links are working.
I have to learn how to add sites to the whitelist in order to attain full functionality of Ad Aware.
That is very common with Twitter and the ad blocker as mentioned. I get it every time. But it is some safety feature seeing the modified hosts file. For me it isn't that it is blocked...just hitting refresh fixes it, every time for me.
TonikJDK said:
That is very common with Twitter and the ad blocker as mentioned. I get it every time. But it is some safety feature seeing the modified hosts file. For me it isn't that it is blocked...just hitting refresh fixes it, every time for me.
Click to expand...
Click to collapse
Are you talking about refreshing via the Ad Away app itself, or the twitter link itself?
I can't get certain Twitter links to work, unless I shut off my Ad Away and go back to default host files.
Adaway rocks. Have never had a problem.
MVLJR said:
Are you talking about refreshing via the Ad Away app itself, or the twitter link itself?
I can't get certain Twitter links to work, unless I shut off my Ad Away and go back to default host files.
Click to expand...
Click to collapse
I use Tweetcaster, which launches 'Readability' for its external links....It's a scaled down browser that ripps out ads and pics. I hit refresh in it and its good....or I can hit Readability's menu and open in browser and its good.
So that tells me Ad Away is blocking the original Twitter URL, then Readability refreshes using the real target URL. I will dig into this, should be any easy whitelist ro add.
TonikJDK said:
I use Tweetcaster, which launches 'Readability' for its external links....It's a scaled down browser that ripps out ads and pics. I hit refresh in it and its good....or I can hit Readability's menu and open in browser and its good.
So that tells me Ad Away is blocking the original Twitter URL, then Readability refreshes using the real target URL. I will dig into this, should be any easy whitelist ro add.
Click to expand...
Click to collapse
Thanks for the info.
Maybe I'll give Tweetcaster another try, it just wasn't as easy on the eyes for me vs regular Twitter app.
If I could only figure out this whitelist thing, I could put this all behind me.
I have my original host files in tact right now and and everything is working, but I'm not blocking ads.

Unable to sign in to open Wi-Fi that requires sign-in

Ever since I have this phone, I have been unable to sign-in to open Wi-Fi services that require it (like in some fast-food chains for example).
Usually when you make use of seach a service you are directed to a sign-in page in your webbrowser, after which you enter some details and/or accept some conditions. However, whenever I am directed to such a page it will not load. I have tried this in multiple places, all resulting in the same error. The error tells me it couldn't connect to the server by the way, the same you get when you try to browse without having a connection. My default browser is FireFox, but I have also tried switching default to stock browser and chrome so the page would be opened there, and they garner the same result. Coincidentally I have been perfectly fine signing in on FireFox with a different device. I think this pretty much excludes the browser as the culprit, so it seems like a device problem. Possibly a setting somewhere?
In any case, if anyone has any ideas I'd love to hear them!
I had a similar issue, I realised that it was because I was using adguard DNS. Turned that off and it now works 100% of the time.
I'm having this problem with the WiFi at the gym. I don't have adguard either. Not sure what causes this. I'm also using Firefox, but I didn't have any problems with my HTC.
I usually find it's because most sites use https and the sign in pages are using http.
Try going to a site that still uses http, my site of choice, as it's easy to remember is:
http://neverssl.com
NJ72 said:
I had a similar issue, I realised that it was because I was using adguard DNS. Turned that off and it now works 100% of the time.
Click to expand...
Click to collapse
I did indeed have Blokada installed with adguard DNS enabled. But even uninstalling it didn't solve the issue for me. Thanks for the suggestion though!
chistery said:
I usually find it's because most sites use https and the sign in pages are using http.
Try going to a site that still uses http, my site of choice, as it's easy to remember is:
http://neverssl.com
Click to expand...
Click to collapse
Thanks for the suggestion! Just visisted a couple of http only sites, and they loaded just fine. So I suppose my issue is elsewhere.
Http://neverssl.com is useful for when you are trying to sign on to a wifi portal and need to go to a page that won't redirect to https and fail.
So I found a setting in the device settings for a DNS server. Switching it to 'automatic' allowed me to access the login site for the WiFi service, so yesterday I was able to use the connection. Unfortunately, after a device reboot, it failed to allow me to sign in again. Every time this happens, it tries to direct me to connectivitycheck.platform.hicloud.com and then fails to connect. Luckily due to my success earlier, I had the link to the sign-in page in my history and that allowed me to visit the sign-in page directly. Visiting neverssl did nothing for me in any of the cases, by the way. All in all I suppose it has something to do with the DNS settings of the device, even though changing them to the settings that worked for me before didn't do anything for me this time.

Categories

Resources