PDA

View Full Version : Windows Mobile 6.1 WLAN with Proxy


SimonKnight6600
24th April 2009, 03:04 PM
Hello!

I own a htc diamond and want to access a wifi network that's using a HTTP proxy. I can connect to the network itsself. However, the proxy settings aren't applied or sometimes deleted when I disactivate and reactivate wifi. When I try it at home, it can still access the internet even if I set the proxy server. (I don't have a proxy server at home, so it shouldn't work then...)

With a iPod Touch/iPhone the following settings work:

Server: server-01.hak-reutte.ac.at
Port: 8080

I also have to authenticate using an username and password, but I think there's also a web form so it's not necessary to configure that in the proxy configuration.

Thank you,
Simon

ADB100
24th April 2009, 04:35 PM
Hello!

I own a htc diamond and want to access a wifi network that's using a HTTP proxy. I can connect to the network itsself. However, the proxy settings aren't applied or sometimes deleted when I disactivate and reactivate wifi. When I try it at home, it can still access the internet even if I set the proxy server. (I don't have a proxy server at home, so it shouldn't work then...)

With a iPod Touch/iPhone the following settings work:

Server: server-01.hak-reutte.ac.at
Port: 8080

I also have to authenticate using an username and password, but I think there's also a web form so it's not necessary to configure that in the proxy configuration.

Thank you,
Simon

If you use ActiveSync or Windows Mobile Device Centre verify the connection settings are NOT set to automatic. If they are then the Proxy settings are overwritten each time you connect to your PC to sync. If you want to use a proxy over WiFi then you need to make sure your 'Work' connection settings specify the proxy and you need to configure the WiFi settings to 'Connects to Work' (or whatever it says, but NOT 'Internet').

Andy

SimonKnight6600
25th April 2009, 07:00 PM
Hi ADB100!

Thanks for your answer. The problem occurs even when I'm not connected to ActiveSync. Somehow the proxy server is reset when the WLAN is used. I tried the application WmWifiProfiles, but the problem is still there. When I set the proxy server and exit the settings application, the settings for HTTP proxy are somehow not saved. (When I reopen the settings dialog, the http proxy setting is blank, but the proxy for socks is still there.)

Regards,
Simon

ADB100
25th April 2009, 08:15 PM
Hi ADB100!

Thanks for your answer. The problem occurs even when I'm not connected to ActiveSync. Somehow the proxy server is reset when the WLAN is used. I tried the application WmWifiProfiles, but the problem is still there. When I set the proxy server and exit the settings application, the settings for HTTP proxy are somehow not saved. (When I reopen the settings dialog, the http proxy setting is blank, but the proxy for socks is still there.)

Regards,
Simon

Do you have proxy auto-discovery on?
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings
EnableAutoDetect=00000001
If its set to 1 then proxy auto-discovery is enabled, 0 is disabled.

I have no idea if it is this but worth a shot?

Andy

SimonKnight6600
25th April 2009, 11:36 PM
Hi ADB100!

AutoDetect wasn't acticated. (The key didn't exist.) I tried creating the key with value 0 and 1, but didn't help.

I think this must be a bug, because there are a lot of topics about this problem. Unfortuntatly, nobody seems to have a solution for this problem :(.

I tried changing the registry keys in HKLM/Comn/ConnMgr/Providers/. That worked, because the internet connection was dead then :). I think it's possible to work around the problem by changing this keys. I will try that next week and when that really fixes the problem, I'll probably release an application for it.

However, do have some ideas left? :)

Thanks,
Simon

ADB100
26th April 2009, 03:25 PM
Bizarre....

I have never seen this on any of the Windows Mobile PDA's I have had.
I know if the connection settings: 'This computer is connected to:' are set to anything other than 'Automatic' then it resets any proxy you configure. I have mine set to 'Work Network' and the settings are never overwritten. I use a proxy at home and remember playing around with these settings as I had similar issues initially.

I know there is a known issue of the 'Hidden Proxy' if you let the device configure itself using the 'Connection Setup'. I have never let my device do this and have manually configured the HSDPA/GPRS settings.

Andy

SimonKnight6600
26th April 2009, 03:41 PM
Hi ADB100!

I've also aborted the connection setup, cause I didn't want my device to use HSDPA automatically.

I'm not 100% sure but I think my old device (HTC S730) had also some problems with the proxy, but I was able to solve them. Maybe it's also a problem with my ROM.

How stable/fast are the current RC builds of 6.5? Are they ready for every day use?

Thank you,
Simon

ADB100
26th April 2009, 03:47 PM
Hi ADB100!

I've also aborted the connection setup, cause I didn't want my device to use HSDPA automatically.

I'm not 100% sure but I think my old device (HTC S730) had also some problems with the proxy, but I was able to solve them. Maybe it's also a problem with my ROM.

How stable/fast are the current RC builds of 6.5? Are they ready for every day use?

Thank you,
Simon

I haven't tried any 6.5 ROMs for any period of time as they all seemed too buggy. I am on an almost stock 5.2.19212 ROM that I have lightly customised in a kitchen and I am happy with it.

Andy

SimonKnight6600
26th April 2009, 06:12 PM
This is really annoying... When you search the forums for "wifi proxy" you'll get more than 10 threads with the same problem, but without a solution.

You are using a wifi router with proxy at home and it works, right?

I'll upgrade to 6.5 now, maybe this fixes the problem...

Thanks,
Simon

ADB100
26th April 2009, 07:42 PM
This is really annoying... When you search the forums for "wifi proxy" you'll get more than 10 threads with the same problem, but without a solution.

You are using a wifi router with proxy at home and it works, right?

I'll upgrade to 6.5 now, maybe this fixes the problem...

Thanks,
Simon

Yes, I have MS ISA 2006 and it works.....

SimonKnight6600
26th April 2009, 08:32 PM
Truely amazing. I've upgraded to 6.5 and the problem is still there :-(. I've the radio from the latest official diamond rom. Could an other radio fix the problem?

//edit: Just to describe my problem further: When I set the proxy, exit the dialog and reopen the dialog, the proxy is there. When I open the internet explorer then, the http proxy gets deleted. However, the socks proxy is kept. This is kind of frustrating...

Thanks,
Simon

SimonKnight6600
26th April 2009, 08:54 PM
Read this one: http://www.htc.com/www/faqs.aspx?p_id=13&cat=0&id=36792 :( According to this article wifi + proxy should not work. What can I do now?

// Update: This looks extremly promising: http://forum.xda-developers.com/showthread.php?p=1990412#post1990412 I'll try that immediatly and post the results. If that works, I'll build an application to simplify applying the fix.

Thanks,
Simon

duna
14th May 2009, 09:12 AM
My status is too. Please help me!:(

SimonKnight6600
14th May 2009, 02:36 PM
It's a bug, that's sure. I finally got the proxy working, but after reconnecting the proxy settings were blank again :mad:.

SivEd
1st June 2009, 06:15 PM
Just to let you know I was also having problems with proxies and a google led me to this thread. For me, the advice in post 2 worked perfectly. I am using a 6.5 rom on a Touch HD.

SimonKnight6600
2nd June 2009, 11:39 AM
Hi SivEd!

Did you also have the problem that your proxy settings get reset when you reconnect to the wifi network?

Anks
17th June 2009, 02:45 AM
I've written an app that resolves this issue, let me know if you want to test.

SimonKnight6600
17th June 2009, 09:54 AM
Hi Anks!

Please upload your app, this is a real problem for me.

Thanks,
Simon

Anks
17th June 2009, 12:01 PM
Simon, sent you a PM.

SimonKnight6600
18th June 2009, 01:44 PM
The problem seems to be fixed in recent Windows Mobile 6.5 builds, at least for me. I'm using build 21812. Unfortunatly, proxy authentification seems not to work in Opera. In Internet Explorer a dialog appears where I have to enter my username and password. Opera doesn't display such a dialog. But the main problem (proxy setting gets deleted) has been resolved.

HTH,
Simon

garranga
20th November 2009, 11:39 PM
I've written an app that resolves this issue, let me know if you want to test.

Hi, Ank

I need this program too, so please, upload it. Thanks for your work.

mvalenci
14th April 2010, 12:01 PM
I have HTC HD2 with 6.5 and i don't seem to understand how to override the proxy when connected to WiFi.
Opera allows application specific configuration, but this is not too good.

anyone?

Finger Appliance
22nd November 2010, 11:10 PM
Hi

I solved a problem with QuickGPS that was using a previously deleted proxy. I don't know if it applies to your problem. You may see it explained in this post. (http://forum.xda-developers.com/showpost.php?p=9363459&postcount=4)

Regards - Pablo