This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

7.1 http proxy timeout issue

I'm working with astaro support but i wanted to see if anyone is getting random but often errors from astaro about connection resets or timeouts with  the proxy turned on?


This thread was automatically locked due to age.
Parents
  • I'm working with astaro support but i wanted to see if anyone is getting random but often errors from astaro about connection resets or timeouts with  the proxy turned on?


    I'm also having the same problem. There's no point in stating URLs because this behavior is random. Content filter says: error="Connection to server timed out".
    Also this seems to slow down the proxy to all users.

    500 users, eDirectory SSO, content filtering, 1 profile, 2 filter assignments and two filter actions configured...
  • After moving to 7.1, using the proxy is actually impossible.
    Timing 10 - 30 seconds to web page to download and very often we are getting the "This page cannot be found" messages.
    Also the Webadmin behavior is very slow.
    Eventually I had to stop using the HTTP Proxy in order to let my users the possibility to use the Internet. 
    Downloading, Skype and the other services seems to work fine.
    This problem getting much worse when a big number of users are using the Internet. 

    500 Users.
    [:@]
  • Hi,
    After moving to 7.1, using the proxy is actually impossible.
    Timing 10 - 30 seconds to web page to download and very often we are getting the "This page cannot be found" messages.
    Also the Webadmin behavior is very slow.


    Can you please login to your ASG, and provide the output of the 'top' command when there are a lot of users are using the proxy? What do you have configured regarding caching/virus scanning in the HTTP Proxy?

    Cheers,

    Sven.
  • Is it possible that it's a DNS issue causing the timeouts?
  • I recently updated from 7.011 to 7.1 and I am experiencing performance issues with the proxy.   I have a support request currently open and will update the board with what they have to say.
  • I recently updated from 7.011 to 7.1 and I am experiencing performance issues with the proxy.   I have a support request currently open and will update the board with what they have to say.


    Thanks in advance.
  • Thanks in advance.


    You're welcome.  They have until this evening to resolve otherwise I'm going to back rev to 7.011.
  • Hi guys

    Same problem here. What I'm seeing is a massive amount of packets being dropped from my external interface going out on port 80 and 53. I'm using transparent proxy for http and also the DNS proxy.

    I've now added an additional packet filter rule to allow External Interface -> Any -> Any to stop any packet loss. It seems to be okay now. 

    I'm going to be testing this throughout the day - mind you, if it is still painfully slow, my users will be the first to let me know!

    Matt
  • Well even though I've gotten rid of the packet loss, it's still slow and it looks like something is max'ing out my bandwidth.

    Investigating further we've done about 7GB of traffic yesterday from Firefox mirrors. The lastest release of Firefox came out yesterday and it looks like we've been having major problems with it's auto updater. This continued this morning to the point I've blocked download.mozilla.org and ftp-mozilla.netscape.com to alleviate the traffic.

    I'm not sure whether this is just a coincidence the FF update came out the day I upgraded to ASG 7.1, and the FF update is broken or whether ASG is screwing with the update.
  • FWIW, I noticed one of the FF Update mirrors with a .jp TLD was blocked by the content filter (as unknown, I think).
    I don't see that using any external bandwidth though, since it's blocked.

    Barry
  • Specifically regarding Mozilla downloads (Firefox).  Their downloads seem to work on a round robin of servers.  If you kick off a download, and it's slow, stop it and kick it off again until you get to a local server that gives you decent performance for the download.  Each time you start it, you'll probably be on a different server.  Some of them are simply very slow, and some quite fast.
Reply
  • Specifically regarding Mozilla downloads (Firefox).  Their downloads seem to work on a round robin of servers.  If you kick off a download, and it's slow, stop it and kick it off again until you get to a local server that gives you decent performance for the download.  Each time you start it, you'll probably be on a different server.  Some of them are simply very slow, and some quite fast.
Children
  • Yep that's what happened, eganders. I initially blocked ftp-mozilla.netscape.com thinking there was a problem downloading the update from their site, and the clients switched to another site which I left running over night hoping it would sort itself out. 

    Nope, no love. I had to block the download.mozilla.org domain to it couldn't find another mirror.
  • Hi all ,
    is not a mozilla-servers problem but is the new HTTP-Proxy that have a lot of problems.
    There are same missconfigurations among the net-conf  and  the net-filter files due the kernel can't 
    dialog with them.
    We must wait the next update and take the Proxy stopped at this moment ---and NOT any-any-any in the packet filter rules. in this way you can do everything without the firewall---.
  • The problem seems to be the HTTP and DNS proxies (haven't tried the generic); I was getting dropped packets on both http and dns ports. 

    Note: I didn't set a filter for any-any-any. The source is the external IP address, externalIP-any-any. Granted the services should really be just http(s) and dns though.

  • Note: I didn't set a filter for any-any-any. The source is the external IP address, externalIP-any-any. Granted the services should really be just http(s) and dns though.


    My packets were also showing the external IP as the source until support found something in my snat/dnat rules.  After they made the change, the packets started showing with the actual source IP of the originating computer.  Still dropping them like mad, but at least now they had the right IP showing up.

    I wish I could tell you exactly what they did, but I just don't know what that was.
  • My packets were also showing the external IP as the source until support found something in my snat/dnat rules.  After they made the change, the packets started showing with the actual source IP of the originating computer.  Still dropping them like mad, but at least now they had the right IP showing up.

    I wish I could tell you exactly what they did, but I just don't know what that was.


    Hmm, I was contemplating recreating my NAT rules. Now you've said this I might do it and see what happens.
  • For those with issues with the http proxy, you should read this post from Gert and see if that fixes your problem.
  • For those with issues with the http proxy, you should read this post from Gert and see if that fixes your problem.


    Did this fix your issue drees?
  • For those with issues with the http proxy, you should read this post from Gert and see if that fixes your problem.

    I can't go to a site cdw.com with the proxy on at all.  content filter on or off it does not mater.  I am getting random timeouts as well.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • Hi jwwstpete,

    as mentioned in other postings, as a workaround for bad performance caused by dropped HTTP proxy packets (have a look in your packetfilter log) you can create the following packetfilter rule:
    External Address, Any, Any, Allow

    If you have multiple external address, look at the source ip in the packetfilter log.

    We found the cause and will release an official fix in the next update.

    Thank you for the report.

    Regarding your problems with OSPF: you are actually the first customer reporting an OSPF related issue ever. Please contact me via email (dstutz(at)astaro.com). 

    Kind Regards,
    Daniel



    Have a look at this thread. There's a packet filter bug that could be related to http proxy performance.
    http://www.astaro.org/showthread.php?t=20460&page=3
  • more surprises: 

    1.My Clients start getting the following error message:
    "While trying to retrieve the URL: http://******/my_drives.php 
    Error message: Broken pipe".

    2. I have started getting once a day the flowing message from the FireWall:
        "Root partition is filling up - please check. Current usage: 88%"

    3. Most of my clients have Kaspersky AV install on them. last two days, some of them has malfunction and cause error message which I think have that have some thing to do with Astaro.
    [:@]