Koozali.org: home of the SME Server

Just an FYI [about HTTP proxy]

Offline calisun

  • *
  • 620
  • +0/-1
Just an FYI [about HTTP proxy]
« 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.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: Just an FYI
« Reply #1 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..

Offline calisun

  • *
  • 620
  • +0/-1
Re: Just an FYI
« Reply #2 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.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline larieu

  • *****
  • 214
  • +0/-0
Re: Just an FYI
« Reply #3 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

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
"it started to work after a while"
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Just an FYI
« Reply #4 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.

Offline Michail Pappas

  • *
  • 351
  • +1/-0
Re: Just an FYI
« Reply #5 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.

Offline larieu

  • *****
  • 214
  • +0/-0
Re: Just an FYI
« Reply #6 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
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline Michail Pappas

  • *
  • 351
  • +1/-0
Re: Just an FYI
« Reply #7 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.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Just an FYI [about HTTP proxy]
« Reply #8 on: March 09, 2013, 11:27:25 PM »
Subject has been modified to facilitate search.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Just an FYI
« Reply #9 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".

Offline calisun

  • *
  • 620
  • +0/-1
Re: Just an FYI
« Reply #10 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.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Just an FYI [about HTTP proxy]
« Reply #11 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 ;-)


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Just an FYI
« Reply #12 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.

Offline Michail Pappas

  • *
  • 351
  • +1/-0
Re: Just an FYI [about HTTP proxy]
« Reply #13 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?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Just an FYI [about HTTP proxy]
« Reply #14 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.