[BUG] Android 4.3 not handling proxy correctly - Android Q&A, Help & Troubleshooting

Curious if anyone else has experienced this issue? Since upgrading to android 4.3 roms, I have not been able to use my home proxy correctly. Connections to my proxy have been successful, in that, android still reports internet connection, however when using apps (that are blocked on my work wifi) are showing no connection. 4.2.2 roms all work fine.
The app I'm using is ProxyDroid however I also tried setting the proxy in native settings with the same result. Is there a change in the implementation of proxy services since 4.2 roms? Thanks in advance.

Maybe it will work with Drony or SandroProxy
http://forum.xda-developers.com/showthread.php?t=2320008
http://forum.xda-developers.com/showthread.php?t=1737138
unsivil_audio said:
Curious if anyone else has experienced this issue? Since upgrading to android 4.3 roms, I have not been able to use my home proxy correctly. Connections to my proxy have been successful, in that, android still reports internet connection, however when using apps (that are blocked on my work wifi) are showing no connection. 4.2.2 roms all work fine.
The app I'm using is ProxyDroid however I also tried setting the proxy in native settings with the same result. Is there a change in the implementation of proxy services since 4.2 roms? Thanks in advance.
Click to expand...
Click to collapse

Drony, is the wrong kind of proxy (server not client). SandroProxy isn't working either though (I mean in 4.3), however its very difficult to use; It's possible I screwed up setting it up (still was showing 'listening 127.0.0.1').

Drony is subset of SandroProxy so it acts the same way. You probably need just Drony.
http://code.google.com/p/sandrop/wiki/HowToUseDronyWithOtherProxy
unsivil_audio said:
Drony, is the wrong kind of proxy (server not client). SandroProxy isn't working either though (I mean in 4.3), however its very difficult to use; It's possible I screwed up setting it up (still was showing 'listening 127.0.0.1').
Click to expand...
Click to collapse

Interesting implementation. Perhaps I will try it again. I'm curious is there a widget for quickly connecting/disconnecting from proxy's? Unfortunately running through my house its not a very fast connection (one of the biggest reasons I went with ProxyDroid, there is a quick connect/disconnect).

Drony will go on if active wifi has proxy set on localhost 8020.
It goes off if wifi goes down.
What can you miss with Drony is that not all apps will work.
For example WhatsApp do not respect androiod os proxy settings.
To have all working you need rooted phone and SandroProxy.
It install his own local copy of iptables to redirect all traffic.
But has more features and it is harder to set up as you find out .
It is more a developer tool than a plain proxy.
There is some wizard to help you out.
And acts the same way as Drony listening if active wifi has proxy set that points to it.
unsivil_audio said:
Interesting implementation. Perhaps I will try it again. I'm curious is there a widget for quickly connecting/disconnecting from proxy's? Unfortunately running through my house its not a very fast connection (one of the biggest reasons I went with ProxyDroid, there is a quick connect/disconnect).
Click to expand...
Click to collapse

Related

[Q] Proxy Servers OMG !!!

OK people... some of you people much cleverer than me PLEASE tell me there's a way around this.
My internet at home runs through a proxy server, so I have the IP address and port.
This internet connection is broadcast using wifi around my house. My PCs can connect to this just fine, using the IP and port in my Windows networking configuration.
My Vibrant will NOT work. Here are the scenarios I am dealing with :
If I connect to the wireless I can see my home network, and browse Windows network shares on my phone just fine.
If I go into the wireless | advanced | proxy settings (I am running a Bionix 2.2 ROM - Onyx 4.2 I think) and set my proxy IP and port then I can browse the internet in the default browser but NO other apps will make an internet connection. Odd since the proxy connection seems to me to be attached to the wireless connection, not the browser specifically.
So I installed and configured transproxy 3.8 beta (which doesn't seem to be vibrant specific, but installs and configures OK), and entered the same details and enabled the proxy connection, and NOTHING, including the default browser, will make an internet connection.
In all cases my connection to the wireless network itself is perfectly fine.
I've spent a couple of days trying to find a sensible solution to this, but have found nothing helpful.
Anyone out there had any similar experiences, or better yet found some kind of awesome solution ?
Very much appreciate any answers.
Ok before I give up completely, no one has gotten a Vibrant properly connected through a proxy server? It would at least be something to know it is known to be impossible, then I could stop obsessing and concentrate on being annoyed?
Anyone?
Sent from my SGH-T959 using XDA App
are you sure you use a proxy server? I've never seen a home network that uses one. A NAT firewall / router isn't a proxy server.
If you are running a proxy server, what do your proxy server logs say?
Can you access services on other than port 80? (email for example)
Proxy on a home network isn't out of the norm. I know guys who run them to block certain sites from their kids. Yes I know there are other options out there, they just decided to use a proxy server.
Sent from my SGH-T959 using XDA App
I know I am reviving a old thread, but I am also looking for a solution to this. I have tried using AutoProxy with no luck. It configures OK, but when it is on it is as if I have no network connection at all.
I don't need authentication, it is a HTTP 1.1 compliant proxy and all I need is host and port. In my case I set up a RabbIT4 proxy on a VPS linux host in a data center with multiple redundant tier one network providers. My proxy minifys HTML, JavaScript, and CSS - then gzips it. It also replaces ADs with a 1x1 transparent gif and re-samples all images to a quality 20 jpeg.
I used to run an ISP and we did this as an optional service for our dial-up customers. It REALLY improves slow connections.
So anyhow I would appreciate it if you let me know of any solutions you found this might work. Anyone with ideas please chime in.
Try flashing a different rom and see if you have the same problem....... It may be as simple as a conflict with that rom.
I have never heard of a case where this kind of problem exists. It sounds like a rom to wireless router conflict, but assuming it is exactly what you say, then if the setting are set for example, to have controls on access then, it would stand to reason remove them from the server side it should resolve the problem. But I would look at trying a different rom 1st,
The proxy works great on my desktop, and the phone's ROM has the option to set a proxy for the Wi-Fi connection (which works). The issue is I don't need the proxy for my Wi-Fi, that is fast - I need it when I am on the edge network, which is often.
I can't change ROM, Trigger 3.3 is too perfect for me to budge. I have both busybox and iptables, so I don't know what is up.
EDIT, I have tried 3 more apps with the same results, either they don't actually set the proxy and I have net, or they do set it and I lose connection. To be fair I have only been able to test when on Wi-Fi and I could set that from the ROM options, I need to try testing when I am on cellular - I just don't think it is going to make a difference.
Friggin proxies!
be1ieve1111 said:
Friggin proxies!
Click to expand...
Click to collapse
Proxies can be your friend, my friend! Imagine getting about 30kps on edge and your trying to look something up real quick, but the pages keep timing out. Meanwhile right next to you with the same basic connection is me, happily surfing away.
Why, because instead of sending my request to the website it went to my proxy, sitting in a class 3 data center in Los Angeles. My proxy made the request for me with its OC3 Internet connection, then took all the white space out of all the HTML, JavaScript, and CSS - then it gzipped it. It also converted all images to highly compressed low quality jpegs. Finally, it sent me back the reduced size data (reduced by about 78% in fact) and all the processing happened in the blink of an eye.
With a fast Internet connection the proxy just gives you lower quality pages with twice the page load time, but on slow connections it can be up to 5 times faster. Hmm. . . 5 times faster, where have I hear that before?? Oh yea, AOL, Earthlink, and others were promising that with their "Accelerated dial-up". Guess what?! This is exactly what they where doing. It is an old Dial-Up ISP trick. That is why I know how to do it. Now if only my phone would co-operate. Friggin proxies!
bump
did you ever figure this out? I think I may have found how to do it without any applications but you'll need to be rooted.
jamesd86 said:
bump
did you ever figure this out? I think I may have found how to do it without any applications but you'll need to be rooted.
Click to expand...
Click to collapse
Do tell [10 char]
Build prop edit but I dont have a server to test with...any chance you could set up a generic account on your server to test with? Pm the details instead of putting in open if you can.
Basically adding the entry
Code:
net.gprs.http-proxy=yourproxy
To the build prop. Im not certain if there are any other lines I need to add but would like to try.
Sent from my SGH-T959 using XDA Premium App
jamesd86 said:
Build prop edit but I dont have a server to test with...any chance you could set up a generic account on your server to test with? Pm the details instead of putting in open if you can.
Basically adding the entry
Code:
net.gprs.http-proxy=yourproxy
To the build prop. Im not certain if there are any other lines I need to add but would like to try.
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
I lost the VPS server in the data center I was using. For best results you want the proxy to have a much better Internet connection than what is being proxied. For example - my connection in the data center was 100Mbs both up and down. When I proxied something that had the basic bandwidth of a dial-up connection in the neighborhood of 32-56kbps the speed boost was about 5 times faster. Doing the same thing for my 5Mbs cable connection was actually about twice as slow, meaning my page load times in seconds showed doubled my average total time to completely load a page and speedtest.net showed about half the bandwidth.
So this trick here is the proxy really needs a VERY, VERY good and fast Internet connection - like you get from a good hosting provider. However, if you just want to test connectivity you can try setting up your own proxy.
Here is what I was using http://khelekore.org/rabbit/ - This runs via Java, so it should work wherever you have Java available. I have successfully run in on FreeBSD, Linux, Solaris Unix, and Windows.
Will look into it but my home connection often sucks...i've also had no luck running and accessing a media server outside my home network as I think comcast blocjs that/tgis kind of tging being run on consumer plans
Sent from my SGH-T959 using XDA Premium App
jamesd86 said:
Will look into it but my home connection often sucks...i've also had no luck running and accessing a media server outside my home network as I think comcast blocjs that/tgis kind of tging being run on consumer plans
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
Well this is a HTTP1.1 proxy, so you can pick any open port you want other than port 80 and it is HTTP traffic. So regardless of if they are using port blocking or protocol blocking, there really is not much way to keep you from using/running a proxy.
Any recommended other ports(like commonly open ones)
Sent from my SGH-T959 using XDA Premium App
Yeah, i'm deff going to need a lil assistance on setting this up...the faq on the site is not that great.
T313C0mun1s7 said:
Well this is a HTTP1.1 proxy, so you can pick any open port you want other than port 80 and it is HTTP traffic. So regardless of if they are using port blocking or protocol blocking, there really is not much way to keep you from using/running a proxy.
Click to expand...
Click to collapse
Certain port numbers are pre-assigned to particular applications by an international body called IANA, the Internet Assigned Numbers Authority.
8080 is assigned for HTTP-Alt, so it is the most commonly used and rarely blocked
1080 is assigned to socks (as in socks proxy) so the same applies
Just avoid a port number below 1024 so you don't conflict with a commonly assigned port and you should be fine.
I have an awesome idea...because I can't figure out how to set this ish up..set it up on your connection..i know it will be slow but just for proof of concept, send the details for access and i'll test it out..or you can edit your build.prop and test it. yep..unless you know an easier to setup one.
jamesd86 said:
I have an awesome idea...because I can't figure out how to set this ish up..set it up on your connection..i know it will be slow but just for proof of concept, send the details for access and i'll test it out..or you can edit your build.prop and test it. yep..unless you know an easier to setup one.
Click to expand...
Click to collapse
Or try this: http://aliveproxy.com/socks5-list/ or http://x-proxy.info/socks.php
These are pure HTTP proxys (like RabbIT4) and might work better: http://www.x-proxy.info/highanon.php
I tgink its a no go for now...nothing I put in the line will stay on reboot.
Sent from my SGH-T959 using XDA Premium App

WiFi Transparent Proxy Application

Hello guys,
Another good and useful application that I found and was like a Christmas present for me. I always needed proxy configuration to browse the internet and I was not able to do it.
A while ago I started using SPQRom which has proxy configuration only for the default Android browser.
Today I found a new application that offers proxy functionality for Android devices.
If anyone is interested just download the application below. Install it. Give to it root access. Connect to your WiFi network. Start the application. Enter proxy configuration. AND.... HAPPY BROWSING.
Transparent Proxy Application
I am currently using the beta version and is working excellent.
Working with : SPQRom 0.7
Thanks!
Many thanks using it for school network
Works with cyanogenmod
Doesnt work at some places because the DNS does not resolve IPs outside the network. Is there a method to route the DNS resolution through proxy?
It will be nice if it is implemented.
I am having the same DNS problem. Many people claimed it working. I can only make the browser work to access IP addresses. No idea how other apps like market can work.
thx man like like like
Now I use proxydroid instead of this. https://market.android.com/details?id=org.proxydroid&hl=en Works better for me.

[Q] Accessing local intranet

Running Vanilla AOSP Gingerbread 2.3.3, finally managed to get this thing to talk to the local network here at work (it's PEAP authenticated, TnT Lite won't see it).
Now I'm running into the issue of not being able to access local intranet sites with my browser. Instead if just takes me to google search.
Running Dolphin HD right now. Any ideas? I'd really like to use this tablet at work to access the local intranet. If it won't do it, that's going to be a problem.
I would download the program ipconfig from the market and make sure you are getting the correct ip information on your network. Getting the incorrect DNS server can cause this issue. You can also downlond ping from the market and try to ping the internal web address. Just a troubleshooting step that I would starti with.
I was able to ping it using the Terminal Emulator, so that is working at least.
Well...I am getting my Gtab deliverred via fedex tomorrow and will be able to test my local intranet sites with the same setup and hopefully be a little more helpful. I will keep you posted with what I find,
Ok, I was wrong, I can't ping. I was pinging a server that is exposed on the external internet (Oops). The internal-only servers are unreachable. The DNS servers, though, are correct.
This is interesting.
From home I can access my work email through Exchange for Android, no problems. However now that I'm online at work and on the internal network, it doesn't work. I suspect it's because it's on the internal intranet now instead of trying to route to it through the internet.
I suspect that, while Vanilla 2.3.3 AOSP supports PEAP, it doesn't really support PEAP.
A large number of corporate networks use a proxy server; check into that.
pearlyking said:
A large number of corporate networks use a proxy server; check into that.
Click to expand...
Click to collapse
This one doesn't, as far as I can tell.
My iPhone connects to it fine, other people are able to access it with iPads and Android phones.
I'd ask IT for help, but we're technically not supposed to be using it.
pearlyking said:
A large number of corporate networks use a proxy server; check into that.
Click to expand...
Click to collapse
+1
Had the same problem and it turned out to be the Proxy settings.
Got it working.
Now running VEGAn 5.11 and it connects just fine. Not having the issues with the email anymore, either. However some of the intranet sites only pull up if I know the IP directly, apparently the browser has a hard time with port redirection on the URL (it doesn't care for 'evolutionsc:8080' very much at all).
Now I just need to find a browser that can handle JIRA without formatting issues.
ubergeek4l said:
+1
Had the same problem and it turned out to be the Proxy settings.
Click to expand...
Click to collapse
I seem to be having the same problem but I honestly don't know how to update the proxy settings for my work network (which does use a proxy server). I'm using Vegan 511, anyone know how to specify a proxy server for the network connection to use? I can't find anything in the wireless&network settings area.

Set proxy per wifi connection

Hi.
Sorry in advanced if there is a general android section this should be in, but only android general section I could see was about development and hacking...
Anyway,
Where I work, I need to set a proxy to be able to use the wifi there. This is fine, in the fact that I can use the proxy settings, and set it. But, then when I get home, the proxy will not work, so to use wifi at home, I have to disable the proxy settings...
So, going in and out of work becomes a cumbersome job... Would be great if there was something where I could define proxy settings per wifi connection.
Then, I found ProxyDroid. Appears to do what I want on paper. Installed it, tried it, and whenever I enter the proxy settings, in the browser, I just get "Cannot connect". So, I decided to set the proxy so there was none for my home wifi (but activated by ProxyDroid), and then it would be set as default to my work proxy. However, it still gave same error...
So, is there any other software or hack/development or anything that would allow me to do what I need?
Many thanks
David
You want to use this app, works a treat:
http://forum.xda-developers.com/showthread.php?t=1083284
Connect wireless and set proxy then as soon you connect to that network again the proxy enables itself.
Aha, knew there must be an app around somewhere to do that, but after searching around I couldn't find it... Then, it's sat there under my nose.
Have attached my work proxy to my work wifi, and seems to work well. Will just need to see if it works correctly when I'm at home on home wifi
Thanks a lot matey, great help

[Q] Getting web authenticated wifi to stick without reauthenticating

Howdy all. I have a wifi at home which works with web authentication i.e. you connect your phone to wifi and on opening a browser, it redirects you to an authentication site wherein upon entering your username and password, you get connected. The authentication page requires you to keep the tab open and work with another tab, otherwise you lose the connection. When working on a PC, it works like a charm. I keep the tab open and wifi sticks for long even when you're not active. But on a smartphone (I have a Galaxy S3 here), it's a living hell trying to keep it stay connected. I've tried keeping the browser app resident in memory, created a tasker script to browse the URL and reconnect on certain intervals which honestly is too tedious and needs a better solution, used wifi web login apps which don't work to my satisfaction i.e. don't connect just when connection is lost; but in all these cases, the connection just seems to disconnect making me reconnect time and again :/. I would be utterly grateful to anybody who could suggest a solution for me for this as this is seriously making me lose my sleep.
ubz91 said:
Howdy all. I have a wifi at home which works with web authentication i.e. you connect your phone to wifi and on opening a browser, it redirects you to an authentication site wherein upon entering your username and password, you get connected. The authentication page requires you to keep the tab open and work with another tab, otherwise you lose the connection. When working on a PC, it works like a charm. I keep the tab open and wifi sticks for long even when you're not active. But on a smartphone (I have a Galaxy S3 here), it's a living hell trying to keep it stay connected. I've tried keeping the browser app resident in memory, created a tasker script to browse the URL and reconnect on certain intervals which honestly is too tedious and needs a better solution, used wifi web login apps which don't work to my satisfaction i.e. don't connect just when connection is lost; but in all these cases, the connection just seems to disconnect making me reconnect time and again :/. I would be utterly grateful to anybody who could suggest a solution for me for this as this is seriously making me lose my sleep.
Click to expand...
Click to collapse
what is the reason you don't want to use wpa2 for a home network?
mjz2cool said:
what is the reason you don't want to use wpa2 for a home network?
Click to expand...
Click to collapse
Dunno much about wifi security protocols but this is as my ISP provided. I've tried modifying the router protocols but nothing seem to make the web authentication go away.
ubz91 said:
Dunno much about wifi security protocols but this is as my ISP provided. I've tried modifying the router protocols but nothing seem to make the web authentication go away.
Click to expand...
Click to collapse
ah, ok, what kind of router is it?
mjz2cool said:
ah, ok, what kind of router is it?
Click to expand...
Click to collapse
A Motorola SBG901 wireless router.
ubz91 said:
A Motorola SBG901 wireless router.
Click to expand...
Click to collapse
is there any security settings tab? or maybe it's under the wireless settings tab
mjz2cool said:
is there any security settings tab? or maybe it's under the wireless settings tab
Click to expand...
Click to collapse
Nope, even setting security protocol to open shows the auth page. Might have to find a different solution for this.
ubz91 said:
Nope, even setting security protocol to open shows the auth page. Might have to find a different solution for this.
Click to expand...
Click to collapse
it could be the provider is forcing it, have you tried another router? normally, the web authentication is a proxy, so that could be the modem, or at the provider's end
mjz2cool said:
it could be the provider is forcing it, have you tried another router? normally, the web authentication is a proxy, so that could be the modem, or at the provider's end
Click to expand...
Click to collapse
Don't think the router has anything to do with this. Only the provider URL loads in the browser for authentication. So yeah, would know if it had something to do with the router.

Categories

Resources