Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jekal on October 09, 2008, 10:00:19 PM

Title: Zero Sized Reply / empty page w/o HTTP-Proxy
Post by: jekal on October 09, 2008, 10:00:19 PM
Hi,

I'm new to SME.
I have installed SME 7.3 and openvpn-bridge lately.
SME is installed as server-gateway with an extra eth card to the internet.
I also have a dyndns.org domain for access over the internet.

Now I have the problem, that the server is found in the internet via the dyndns domain but
1. if the http-proxy is enabled, I get the error message "Zero Sized Reply" from squid
2. if the http-proxy is disabled, I get an empty page (http)

2 lines are reported in message log:
squid[6196]: parseHttpRequest: Unsupported method 'CCM_POST'
squid[6196]: clientReadRequest: FD 16 Invalid Request

There is no problem to connect to the page from the local network.

I searched the forum, but was not able to find any helpful entry.

Anybody who can help me?

ciao
Jens
Title: Re: Zero Sized Reply / empty page w/o HTTP-Proxy
Post by: gzartman on October 14, 2008, 04:02:03 AM
Hi,

I'm new to SME.
I have installed SME 7.3 and openvpn-bridge lately.
SME is installed as server-gateway with an extra eth card to the internet.
I also have a dyndns.org domain for access over the internet.

You have three nic cards?   If so, you are attempting to configure SME in a way that will almost certainly cause you ongoing headaches. 

If you really need a box with 3 nic cards, suggest you use Centos instead and deploy SME on another box.


There is no problem to connect to the page from the local network.

Which is a pretty good indication that the third nic card and your mods are breaking services.

Greg
Title: Re: Zero Sized Reply / empty page w/o HTTP-Proxy
Post by: jekal on October 15, 2008, 09:05:31 PM
You have three nic cards?   If so, you are attempting to configure SME in a way that will almost certainly cause you ongoing headaches. 

If you really need a box with 3 nic cards, suggest you use Centos instead and deploy SME on another box.


Which is a pretty good indication that the third nic card and your mods are breaking services.

Greg

Hi Greg,

no I have 2 cards, one onboard and one extra.
The funny thing is it was working for some hours.

Jekal
Title: Re: Zero Sized Reply / empty page w/o HTTP-Proxy
Post by: gzartman on October 15, 2008, 10:10:18 PM
Hi Greg,

no I have 2 cards, one onboard and one extra.
The funny thing is it was working for some hours.
Jekal

I'm confused: do you have 1 nic in your box and a spare on your shelf, or 2 nics in the box?

Regardless, 1 or 2 nic cards is fully supported by SME Server.  The fact that you are having problems with the http-proxy tells me that you probably installed some kind of squid or http related package and/or did some hacking on squid or http.  Remove all contribs, custom templates, etc and start over.  Figure out which one is causing the problems and either ask the developer to fix it or do without.

Greg
Title: Re: Zero Sized Reply / empty page w/o HTTP-Proxy
Post by: CharlieBrady on October 15, 2008, 10:17:33 PM
The fact that you are having problems with the http-proxy tells me that you probably installed some kind of squid or http related package and/or did some hacking on squid or http. 

I don't think that's the issue. I think there is some software on his network doing invalid HTTP requests - something which includes a "CCM_POST" method, rather than standard GET, POST, etc. jekal, when you "get an empty page", what are you using to get the page? What are you accessing?
Title: Re: Zero Sized Reply / empty page w/o HTTP-Proxy
Post by: jekal on October 16, 2008, 03:44:58 PM
I don't think that's the issue. I think there is some software on his network doing invalid HTTP requests - something which includes a "CCM_POST" method, rather than standard GET, POST, etc. jekal, when you "get an empty page", what are you using to get the page? What are you accessing?

doesn't matter if Firefox or IE, if Proxy is disabled I just get an empty page.
I only enter the address in the address field.
Title: Re: Zero Sized Reply / empty page w/o HTTP-Proxy
Post by: CharlieBrady on October 16, 2008, 03:55:05 PM
doesn't matter if Firefox or IE, if Proxy is disabled I just get an empty page.
I only enter the address in the address field.

What address - what are you accessing?

Do you see the "CCM_POST" method log when attempting to access that page, or is that a separate issue?
Title: Re: Zero Sized Reply / empty page w/o HTTP-Proxy
Post by: jekal on October 17, 2008, 08:09:46 AM
What address - what are you accessing?

Do you see the "CCM_POST" method log when attempting to access that page, or is that a separate issue?

I use the domain address (via dydns.org).
When I checked the logs it was about the same time, but I will try again.