Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: calisun on March 04, 2013, 09:49:16 PM

Title: Just an FYI [about HTTP proxy]
Post by: calisun on March 04, 2013, 09:49:16 PM
Just a quick FYI.

I have been having issues with my windows 7 machine connecting to the internet, firefox would connect but IE would not, updates would not work and Avast updated did not work ether. But my other Ubuntu based machines did not have any problems.

After digging around I found that on SME server had HTTP proxy enabled (I don't remember enabling it)

Now after disabling HTTP proxy, everything works fine.

So don't enable HTTP proxy in Windows network.
Title: Re: Just an FYI
Post by: Stefano on March 04, 2013, 10:28:56 PM
or, if you enable it, remember to configure windows accordingly
or, better, setup in transparent mode, so no configuration is needed

I'm using http proxy in many situations, w7, wXP.. no problem with avast, IE, FF, windows updates..
Title: Re: Just an FYI
Post by: calisun on March 06, 2013, 12:10:05 AM
or, if you enable it, remember to configure windows accordingly
or, better, setup in transparent mode, so no configuration is needed

That is true if one knows how to setup transparent mode. I was just warning people that go into server-manager where there is only one option, "enable" or "disable" HTTP proxy.
So if anybody has any issues with networked windows machines updating, check your HTTP proxy settings.

If anyone needs to have HTTP proxy enabled for any reason, follow Stefano suggestions above.
Title: Re: Just an FYI
Post by: larieu on March 06, 2013, 09:43:26 AM
Calisun

I have found this by myself also
The tricky thing is if you have for example 5 computer cloned only one start to do this kind of problems (not related to windows/IE version - It happened to me in XP, Vista, 7 ..)
and after some time it will work again

I have put this on the Proxy behaviour
I have tried to disable and reenable ( hopping that the cache will be cleared)  - but not

Stefano

if you look in wiki you'll find nothing - as usual

http://wiki.contribs.org/index.php?title=Special%3ASearch&search=clear+proxy+cache&go=Go (http://wiki.contribs.org/index.php?title=Special%3ASearch&search=clear+proxy+cache&go=Go)

I remember that I have found on some other forum how to deal with the cache of the proxy
or As Calisun pointed disable for several days

if you look in forum you'll find something like this

http://forums.contribs.org/index.php/topic,49541.15.html (http://forums.contribs.org/index.php/topic,49541.15.html)
"it started to work after a while"
Title: Re: Just an FYI
Post by: CharlieBrady on March 06, 2013, 08:09:58 PM
So if anybody has any issues with networked windows machines updating, check your HTTP proxy settings.

No, they should report via the bug tracker. Windows machines updating should work whether proxy is enabled or disabled.
Title: Re: Just an FYI
Post by: Michail Pappas on March 08, 2013, 07:20:00 AM
@lariu & calisun, just a couple of questions:

1) Did you enable "automatic proxy discovery" in windows control panel -> internet settings -> connections -> lan settings?

2) Were client systems configured via DHCP or with fixed addresses? If they were configured with fixed IPs, there's a chance that even if the admin has enabled automatic proxy discovery (see (1) above), then the client will not be able to retrieve the proxy.pac proxy auto-configuration script...

OT a bit, but I prefer avoiding transparent proxying, there might be some issues with caching for example or HTTPS.

Also, Firefox has a separate setting for using automatic proxy configuration, check its proxy settings.
Title: Re: Just an FYI
Post by: larieu on March 08, 2013, 09:59:52 AM
Michail Pappas

most probably 3)
3) FIXED DHCP (the mac address reserved IP on "name and addresses" on server)

for sure no check on "auto proxy" for Win XP
if you don't do nothing after a while it will start to work

or you need to erase cache form both Win client and server (deleting only one seems not to work)
the simplest way is to deactivate proxy for several hours/days
Title: Re: Just an FYI
Post by: Michail Pappas on March 08, 2013, 10:38:54 AM
most probably 3)
3) FIXED DHCP (the mac address reserved IP on "name and addresses" on server)
That's good, point here is address is acquired via DHCP, therefore there's no case here of a fixed-ip client not getting WPAD-advertised proxies

Quote
for sure no check on "auto proxy" for Win XP
Now that's a problem: make sure it is checked in both control panel -> internet options (affects IE, windows updates, avast updates IIRC, Java apps and almost everything) as well as the specific Firefox settings.

Obviously, the proxy should be enabled on SME.
Title: Re: Just an FYI [about HTTP proxy]
Post by: chris burnat on March 09, 2013, 11:27:25 PM
Subject has been modified to facilitate search.
Title: Re: Just an FYI
Post by: CharlieBrady on March 10, 2013, 01:22:52 AM
Obviously, the proxy should be enabled on SME.

And nobody (especially somebody labelled as Doc team) should advise users to disable the HTTP proxy.

Perhaps subject should be "for your disinformation" rather than "FYI".
Title: Re: Just an FYI
Post by: calisun on March 10, 2013, 06:31:58 AM
Perhaps subject should be "for your disinformation" rather than "FYI".

I have had this problem for few months now, first I thought it was caused by defective network card, once I replaced that and I still had issues, I replaced my wireless router. Eventually after months of frustration I finally figured out that the issue was caused by HTTP Proxy.

So yes, you are right, I should not say anything and let people be frustrated for months trying to figure out the issue by themselves.
Title: Re: Just an FYI [about HTTP proxy]
Post by: mmccarn on March 10, 2013, 04:03:08 PM
My SME8 server is using the default proxy settings (enabled, transparent), and I've never had any trouble doing windows updates or using IE on either existing or new/transient windows computers (I bring client computers into my network for work, setup, etc).

When SME 7.0 or 7.5 was first released I had trouble with the default transparent proxy, and disabled it when setting up new servers, but haven't had any trouble with 8.x.

calisun -
Thanks for reminding folks that disabling the SME proxy can be a valuable diagnostic, and sometimes a valid work-around. 

Since I depend on the transparent proxy for maintaining historical logs of the browser traffic from my network, I'd  love to figure out why you were having problems, but a) I don't have the tech background to help much and b) I suspect you're sick of this issue by now ;-)

Title: Re: Just an FYI
Post by: CharlieBrady on March 10, 2013, 09:28:00 PM
Eventually after months of frustration I finally figured out that the issue was caused by HTTP Proxy.

Since you think the problem is caused by the HTTP proxy, you should report it as a bug. Someone will (hopefully) then help you to diagnose the problem, so that it can be fixed.

Quote
So yes, you are right, I should not say anything and let people be frustrated for months trying to figure out the issue by themselves.

Now you are just being spiteful and silly.
Title: Re: Just an FYI [about HTTP proxy]
Post by: Michail Pappas on March 11, 2013, 08:43:01 AM
@calisun: Can you provide some info on your network? SME is obviously in server and gateway mode, correct? Was it upgraded from 7.X? If you check "Automatic proxy confguration" in IE (see some posts above), does it work?
Title: Re: Just an FYI [about HTTP proxy]
Post by: CharlieBrady on March 11, 2013, 01:22:39 PM
@calisun: Can you provide some info on your network? SME is obviously in server and gateway mode, correct? Was it upgraded from 7.X? If you check "Automatic proxy confguration" in IE (see some posts above), does it work?

calisun should open the bug report and provide the information there. Michail, please come and help with troubleshooting in the bug tracker when calisun opens the report. Thanks.
Title: Re: Just an FYI [about HTTP proxy]
Post by: Michail Pappas on March 11, 2013, 01:56:16 PM
calisun should open the bug report and provide the information there. Michail, please come and help with troubleshooting in the bug tracker when calisun opens the report. Thanks.
Roger that, merely intended to act here as a bug-or-feature screener of sorts.
Title: Re: Just an FYI
Post by: calisun on March 11, 2013, 09:26:49 PM
Now you are just being spiteful and silly.

Yes, you are right and I apologize, but I was only responding to your comment:

"And nobody (especially somebody labelled as Doc team) should advise users to disable the HTTP proxy.

Perhaps subject should be "for your disinformation" rather than "FYI". "