Forums

Andi  Riza
Andi Riza
Offline
Resolved
0 votes
Today I was browsing the internet to the facebook site, oddly enough it can not open website, show only a white screen and the status is "done"

Topology like this:
modem --- router / proxy - client

If I disable the proxy server, it can be accessed facebook smoothly without any problems. Even when I try to bypass facebook site at the option of setting a proxy server, this is still happening.I am very confused because the proxy settings are still the standard of installation clearos, without any modification. Previously there was no trouble opening any sites including facebook. Anyone know the solution of this problem?

thanks :S
Thursday, July 22 2010, 06:18 AM
Share this post:
Responses (32)
  • Accepted Answer

    Thursday, July 22 2010, 07:28 AM - #Permalink
    Resolved
    0 votes
    Just wanted to tell you are not the only one with this problem.
    I installed a fresh version of 5.2 yesterday and have the same problem with the Facebook page.
    I tried running games in Facebook directly via apps.facebook.com and the games work. But whenever I try using anything else which is native Facebook stuff and uses www.facebook.com as the URL, the white page with status "done". I have tried several web browsers and several OS'es and still the same problem.
    The reply is currently minimized Show
  • Accepted Answer

    ingkram
    ingkram
    Offline
    Thursday, July 22 2010, 08:46 AM - #Permalink
    Resolved
    0 votes
    Reporting the same problem with clarkconnect 4.1 and 4.3
    :huh:
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 01:05 PM - #Permalink
    Resolved
    0 votes
    Same thing here. When proxy is used (or in transparent mode with my setup) everything but the root domain works. Just upgraded to 5.2 today so I assume it's a recent change.

    Interestingly, if you look at the page source once it has finished 'loading' and is showing a blank screen, you only get:
    </body></html>


    Oh and also, I don't have the content filter active.

    *EDIT* I've had a quick look into this and halfway through my testing the behaviour (and facebooks links) changed slightly so I think this is something on their end.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 01:28 PM - #Permalink
    Resolved
    0 votes
    I have same problem :/

    Now i tried http://www.facebook.com/login.php and everything works...
    The reply is currently minimized Show
  • Accepted Answer

    Andi  Riza
    Andi Riza
    Offline
    Thursday, July 22 2010, 01:46 PM - #Permalink
    Resolved
    0 votes
    Hi Mario...

    I still use ClearOS 51, and this problem still happened right now.If i tried like this : https:// www.facebook.com, then I can enter to the facebook wall but still cannot access to my profile ( and other my friends profile), but like tommy says, i still can play facebook games like zynga poker and other else.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 02:14 PM - #Permalink
    Resolved
    0 votes
    I can only access facebook home and thats all...
    (I'm using IpCop)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 02:18 PM - #Permalink
    Resolved
    0 votes
    http://www.outsidaz.org/blog/2009/10/06/facebook-squid-and-internet-standards/

    Here's a discussion that may shed some light on the issue. In the comments, people have recommended adding server_http11 to the squid.conf but I believe that only works in squid2.7 whereas ClearOS is using squid2.6. This is starting to get over my head though. :blush:
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 03:01 PM - #Permalink
    Resolved
    0 votes
    I just want to say I am confirming this issue with ClearOS 5.2, as I can not access facebook either. I told the proxy to bypass for facebook.com and www.facebook.com, still no luck.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 03:36 PM - #Permalink
    Resolved
    0 votes
    EDIT: Running this update WILL screw up Zarafa webmail. I'm not sure how or why, but updating squid to 3.1 results in "Can't connect to the zarafa server." at the webmail interface. using the commands

    /etc/init.d/zarafa-server restart 
    /etc/init.d/zarafa-spooler restart
    /etc/init.d/zarafa-dagent restart


    does appear to resolve the issue... IF you use this process, please be warned it will have unforeseen consequences, and should do it at your own risk.


    UPDATE: Facebook works... I updated SQUID. This works for me, but no promises for anyone else...

    PLEASE NOTE: You will have to reset any custom changes you made to squid configuration, namely your cache size and proxy mode.

    The Process:

    mkdir /tmp/squid
    cd /tmp/squid
    wget http://download.clearfoundation.com/community/timb80/squid-3.1/squid-3.1.3-2.clearos.i686.rpm
    rpm -U squid-3.1.3-2.clearos.i686.rpm
    cp /etc/squid/squid.conf /etc/squid/squid.conf.backup
    cp /etc/squid/squid.conf.rpmnew /etc/squid/squid.conf
    /etc/init.d/squid restart


    Hope this helps someone.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 03:46 PM - #Permalink
    Resolved
    0 votes
    having strange FB issues myself. Not able to test off my network at the moment. It works for a bit then poof getting the white screen with the body html tag noted above.

    edit: i read that mailing list link and it's cryptic. I'm assuming they mean to add the "server_http11" to the squid.conf file? Does the version of squid in ClearOS even support that?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 04:27 PM - #Permalink
    Resolved
    0 votes
    I don't think it does. All the reading I did indicated it only works with squid2.7. I did upgrade to 3.1 with the instructions from the previous post. Seems to be working okay and hopefully I didn't make too much of a mess of the conf. I'll have to have a look through it more thoroughly tomorrow morning after some rest.
    The reply is currently minimized Show
  • Accepted Answer

    Cody Sharp
    Cody Sharp
    Offline
    Thursday, July 22 2010, 05:37 PM - #Permalink
    Resolved
    0 votes
    If anyone can help point me in the right direction, I'd appreciate it. I've not got much experience with manual updating, but I had to do it once before with CC 4.x. If someone can give me a few pointers, or maybe the term that I should search for, I'd be grateful!
    Thanks for helping the newb!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 05:43 PM - #Permalink
    Resolved
    0 votes
    Cody, please refer to my post on the first page of this thread. It has the steps to update to squid 3.1 from squid 2.6, which is currently packaged with ClearOS 5.2.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 06:11 PM - #Permalink
    Resolved
    0 votes
    Issue: Following my steps works UNTIL you restart the ClearOS Box... It blows away the config file and replaces it with a config file which does not allow the squid proxy to start. I figured a "work around" for this:

    cd /etc/squid
    cp -squid.conf.default squid.conf
    /etc/init.d/squid restart


    More investigation is needed to figure out how to make changes to the config without it going boom upon reboot...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 08:50 PM - #Permalink
    Resolved
    0 votes
    Facebook works just fine here with 5.2 final release and transparent proxy.

    Can someone who is having the problem post the section from /var/log/squid/access.log or /var/log/squid/cache.log?

    I would be careful before you all go upgrading to Squid 3.1 as a solution...it was provided as a testing build! ClearOS webconfig will not play nice with it, nor will it necessarily respect the changes in the config file

    The link Jared posted suggests is a DNS problem...have you tried emptying the Squid cache yet (from the webconfig)?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 09:58 PM - #Permalink
    Resolved
    0 votes
    Tim,

    Facebook didn't work with a fresh install of ClearOS 5.2, as I just installed it from scratch last night. As far as squid and DNS issues, I would have assumed the "Bypass proxy" feature would have resolved that. And honestly, for about 40 minutes, it did. Then poof.

    I do see what you mean about Squid 3.1 not playing nicely... In fact, it doesn't play nicely at all.... Alas, it works though. Would you have any thoughts on how it could be "nicely" integrated into the web interface?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 10:30 PM - #Permalink
    Resolved
    0 votes
    Does adding the following the to bypass list help? (rather than just the domain name *.facebook.com)

    69.63.176.0/20
    66.220.144.0/20
    204.15.20.0/21

    That seems to cover the IP addresses on the net for facebook.com and fbcdn.net. There maybe more?

    Integrating 3.1 into the webconfig isn't an easy task (at least for me) so it's provided as is, but you have to configure it manually from the config file.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 10:36 PM - #Permalink
    Resolved
    0 votes
    In addition do any of the following links work?

    http://69.63.189.16
    http://69.63.181.12
    http://69.63.189.11
    http://69.63.181.11
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 22 2010, 10:40 PM - #Permalink
    Resolved
    0 votes
    I tried adding 69.63.0.0/24 earlier today as a bypass as well as facebook.com. Neither worked then, but having not done anything more on the issue (just watching this thread) it now works on my install (might be worth noting im still running CC 4.3 community).

    Whatever happened, something changed and it now works for me without my applying any fixes or configuration changes.

    (Also to your last post Tim, the issue appeared to affect mainly the straight facebook.com domain, i was able to load facebook.com/home.php but not facebook.com/profile.php.... etc - so i presume at a guess it was an issue with some form of HTTP header or a piece of HTML code that wasn't surviving the proxy process. All of those links work for me, but so does the main site now.)
    The reply is currently minimized Show
  • Accepted Answer

    Andi  Riza
    Andi Riza
    Offline
    Friday, July 23 2010, 12:00 AM - #Permalink
    Resolved
    0 votes
    The main problem is with the version used by facebook is http 1.1. If using squid 2.7 stable just by adding the code server_http on. (already tested with other linux distro)

    How to implement it in squid 2.6 that used in ClearOS?
    Can we do patching http1.1 to ClearOS squid ?

    Why is still using squid 2.6 while others have used squid 2.7? With the support of better features and support to http 1.1, it would be better to use squid 2.7 than squid 2.6 .I think it's time for ClearOS to upgrade their version of official squid :)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 23 2010, 12:33 AM - #Permalink
    Resolved
    0 votes
    Hm, I'm confused. I installed google-chrome on client and everything works fine now, Opera FF Chromium... :blink:
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 23 2010, 12:34 AM - #Permalink
    Resolved
    0 votes
    Blaine Bouvier wrote:
    More investigation is needed to figure out how to make changes to the config without it going boom upon reboot...


    I assume this is because when the box restarts webconfig does some sort of 'reset' to the squid.conf. Does your workaround just remove the default file that it resets to? The "cp -source dest" line is confusing me.

    From what I was looking at last night, the conf for squid 3.1 isn't that different from 2.6. I think the only thing I needed to drop was "broken_vary_encoding allow apache" and the associated acl which I believe was a work around for sites using gzip compression.
    The reply is currently minimized Show
  • Accepted Answer

    Andi  Riza
    Andi Riza
    Offline
    Friday, July 23 2010, 12:51 AM - #Permalink
    Resolved
    0 votes
    It would be better if ClearOS make patches for their squid 2.6 to support http 1.1 or provide the latest version of squid update. I think this solution than upgrading to unofficial squid 3.1 that after I tried it many problems there, especially related to webconfig. it always reset my squid.conf to its original ClearOS squid.conf.How did it happened?I'm so confused... :huh:
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 23 2010, 02:08 AM - #Permalink
    Resolved
    0 votes
    Jared Smith wrote:

    From what I was looking at last night, the conf for squid 3.1 isn't that different from 2.6. I think the only thing I needed to drop was "broken_vary_encoding allow apache" and the associated acl which I believe was a work around for sites using gzip compression.


    I don't know honestly, I can look into that and see if that fixes the issue... The cp command was to rewrite what the reboot got rid of, the original new config file.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 23 2010, 02:11 AM - #Permalink
    Resolved
    0 votes
    In /usr/share/system/modules/squid there is an upgrade function and a squid.conf. I haven't rebooted yet but I have replaced the original squid.conf there with one valid for 3.1. I think that should do the trick but I'm just fiddling at the moment (and backing up everything as I go!).
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 23 2010, 02:14 AM - #Permalink
    Resolved
    0 votes
    andi micro wrote:
    it always reset my squid.conf to its original ClearOS squid.conf.How did it happened?I'm so confused... :huh:


    It appears as though the web interface has precedence to the command line config file... As of now, I don't know a solution.
    The reply is currently minimized Show
  • Accepted Answer

    ingkram
    ingkram
    Offline
    Friday, July 23 2010, 02:54 AM - #Permalink
    Resolved
    0 votes
    This morning my network can access facebook normally without any change to my clacrconnect 4.1
    The reply is currently minimized Show
  • Accepted Answer

    Andi  Riza
    Andi Riza
    Offline
    Friday, July 23 2010, 03:27 AM - #Permalink
    Resolved
    0 votes
    In the meantime , I am doing is bypassing the following ip address in web proxy :
    - 69.63.189.0/24
    - 69.63.181.0/24

    Hopefully soon, ClearOS Developer will update their squid to the latest version, especially that support http 1.1 :)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 23 2010, 08:42 AM - #Permalink
    Resolved
    0 votes
    From everything i've read around the topic, this problem is caused by the packet headers returned by facebook and a symptom of broken web server. Albeit it rather inconveniently messes up facebook for some users using the squid proxy.

    It appears this is due toexcess data / content length defined in the returned headers, which can be alleviated in some cases for Squid v2.7 and v3.x by turning on http1.1 support. (As they have http1.1 support...2.6 [strike]doesn't[/strike] is experimental)
    http://www.squid-cache.org/Doc/config/server_http11/

    Squid versions took a bit of a developer split at 2.7 versus 3.0 and by comparison these two versions are actually different. Squid 3.1 is now more or less everything that 2.6, 3.0 and now 2.7 was.. and 3.1 has only recently released as 'stable'.

    As posted above this problem should correct itself eventually, but I can appreciate the IT admin pain when users start complaining that their favourite social networking site doesn't work anymore ;)

    When ClearOS6.0 is released it will be based on RHEL6...which you might like to know is already using Squid 3.1 so it will arrive eventually! (PHP5.3.2 also features...)
    ftp://ftp.redhat.com/pub/redhat/rhel/beta/6/i386/os/Packages/squid-3.1.0.15-2.el6.i686.rpm
    The reply is currently minimized Show
  • Accepted Answer

    Cevin
    Cevin
    Offline
    Friday, July 23 2010, 10:36 AM - #Permalink
    Resolved
    0 votes
    had my wife complaining about this yesterday but today it seems to work fine so im freewheeling on....
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 23 2010, 11:33 AM - #Permalink
    Resolved
    0 votes
    maybe was facebook problem yesterday... :silly:
    The reply is currently minimized Show
  • Accepted Answer

    Cody Sharp
    Cody Sharp
    Offline
    Friday, July 23 2010, 12:39 PM - #Permalink
    Resolved
    0 votes
    Well, it's not just Facebook. I use an online family calendar program, called Cozi. I could not access that unless I set my computer to DMZ. Once I did that, FB AND Cozi started working on all computers. I removed the DMZ, and things are still working. Did that just cause a cache reset of some sort?
    I don't really NEED faster internet, I already have RR Turbo, so speed isn't the issue. If there is something I can do to fix this as it is, I'm willing to do it. Whoever posted about adjusting the amount of time Squid holds on to the DNS cache or something (I'd have to go back and look it up) does that work? If the system reboots, would it still work?
    My box generally is up for months without interruption, but I just upgraded to ClearOS less than week ago, from ClarkConnect 5.1.
    Thanks all! I appreciate the help!
    Cody
    The reply is currently minimized Show
Your Reply