Fwd: Mathopd ssl failing to submit form

"Rabindra Paikaray" <[email protected]> Thu, 4 Dec 2008 16:24:28 +0530
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>
------=_Part_7210_30951770.1228388068743
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi All,
I have registered to mathopd mailing list successfully.
I got a welcome message as well.Then I received one of the posted mail also.
But I sent a mail it's not published in mailing list . I dont know where is
the problem.

This mail follows the mail chain about my problem and the fix about it.

Once again thanks Allwyn for helping me , If you have not received my
previous mail, please check this one and give me your feedback.

Thanks
Rabindra

---------- Forwarded message ----------
From: Rabindra Paikaray <[email protected]>
Date: Nov 28, 2008 10:23 AM
Subject: Re: Mathopd ssl failing to submit form
To: Mathopd Mailing List <[email protected]>


Hi Allwyn,
Thanks for your immediate reply.
Now I am a register member of mathopd mailing list.
I am using OpenSSL for ssl by adding this two line in Makefile.

*CPPFLAGS += -DUSE_SSL_OPENSSL
LDFLAGS += -lssl*

I observed it when number of fields are increased in my javascript .
Then it used to fail and mathopd throw error like script time and poll
interupted .
I tried with the *DEFAULT_INPUT_BUF_SIZE ,* which is now 2k
Increased it to 4k which is now working fine . I have not done any detail
debugging , where it exactly fails .But it solved my problem.
 If you need any further information please ask me I will provide it.

Thanks
Rabindra


On 11/27/08, Mr Allwyn Fernandes <[email protected]> wrote:

> Hi Rabindra,
>
> Firstly: you need to be a member of the mailing list in order to post to
> it.
> Join the mailing like this: http://www.mathopd.org/mailing-list.html
>
> On Tue, 25 Nov 2008 08:07:47 pm Rabindra Paikaray wrote:
> > When we are doing a form submit, it is not able to complete the
> submission
> > if total number of fields are exceeding a some limit. In my case the page
> > has ninety seven fields. If lesser number of fields are there, the submit
> > is working fine.
>
> This is strange, I've not noticed this behaviour. However, that patch was
> not
> extensively tested.
>
> > Without the patch (i.e mathopd in http mode), the same page with ninety
> > seven fields is submitting properly.
>
> Interesting... What about with the patch, but with a non-ssl config file?
> (If
> you use the patch, but don't configure any TLS block, there should be no
> ssl
> library loaded, so it should be the same as not having the patch there...)
>
> > I saw the error log file for https and more number of fields, it is
> showing
> > below log messages Tue Nov 25 11:54:47 2008 [32730] revents:     0    0
> > 0 Tue Nov 25 11:54:47 2008 [32730] script timeout to 192.168.10.X[1459]
> Tue
> > Nov 25 11:54:47 2008 [32730] close_connection: 3
>
> I can't reproduce this... Tested with Mathopd 1.6b9+ssl on Debian Lenny
> with
> OpenSSL 0.9.8g and the attached html...
>
> Back to some basic questions:
> * OpenSSL or GnuTLS? What version?
> * Which Mathopd version?
> * Which Operating System?
> * Which Browser?
>
> Can you provide a sample html file which triggers this error? Also, can you
> please send me a copy of your config file?
>
> Cheers,
>
> Allwyn.
>
>
> On Tue, 25 Nov 2008 08:07:47 pm Rabindra Paikaray wrote:
> > Hi Allwyn,
> >
> > mathopd is working fine with your ssl patch sent by you, but we are now
> > facing a new problem with this.
> >
> > When we are doing a form submit, it is not able to complete the
> submission
> > if total number of fields are exceeding a some limit. In my case the page
> > has ninety seven fields. If lesser number of fields are there, the submit
> > is working fine.
> >
> > Without the patch (i.e mathopd in http mode), the same page with ninety
> > seven fields is submitting properly.
> >
> > I saw the error log file for https and more number of fields, it is
> showing
> > below log messages Tue Nov 25 11:54:47 2008 [32730] revents:     0    0
> > 0 Tue Nov 25 11:54:47 2008 [32730] script timeout to 192.168.10.X[1459]
> Tue
> > Nov 25 11:54:47 2008 [32730] close_connection: 3
> >
> >
> >
> > Can you please guide me , for this problem what could be the reason for
> the
> > same. Ask me if you need more log messages or any other information to
> get
> > closer to this problem.
> >
> >
> >
> > Regards
> >
> > Rabindra
>
>
> --
> Allwyn Fernandes
> Director
> Stobor Pty Ltd
>
> Mobile: + 61 430 436 758
> LinkedIn: http://www.linkedin.com/in/AllwynFernandes
>
>

------=_Part_7210_30951770.1228388068743
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Hi All,</div>
<div>I have registered to mathopd mailing list successfully.</div>
<div>I got a welcome message as well.Then I received one of the posted mail also.</div>
<div>But I sent a mail it&#39;s not published in mailing list . I dont know where is the problem.</div>
<div>&nbsp;</div>
<div>This mail follows the mail chain about my problem and the fix about it.</div>
<div>&nbsp;</div>
<div>Once again thanks Allwyn for helping me , If you have not received my previous mail, please check this one and give me your feedback.</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Rabindra<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Rabindra Paikaray</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt;<br>
Date: Nov 28, 2008 10:23 AM<br>Subject: Re: Mathopd ssl failing to submit form<br>To: Mathopd Mailing List &lt;<a href="mailto:[email protected]">[email protected]</a>&gt;<br><br>&nbsp;</span></div>
<div><span class="gmail_quote">Hi Allwyn,</span></div>
<div><span class="gmail_quote">Thanks for your immediate reply.</span></div>
<div><span class="gmail_quote">Now I am a register member of mathopd mailing list.</span></div>
<div><span class="gmail_quote">I am using OpenSSL for ssl by adding this two line in Makefile.</span></div>
<div><span class="gmail_quote"></span>&nbsp;</div>
<div><span class="gmail_quote"><strong>CPPFLAGS += -DUSE_SSL_OPENSSL<br>LDFLAGS += -lssl</strong></span></div>
<div><span class="gmail_quote"></span>&nbsp;</div>
<div><span class="gmail_quote">I observed it when number of fields are increased in my javascript .</span></div>
<div><span class="gmail_quote">Then it used to fail and mathopd throw error like script time and poll interupted .</span></div>
<div><span class="gmail_quote">I tried with the <strong>DEFAULT_INPUT_BUF_SIZE ,</strong> which is now 2k</span></div>
<div><span class="gmail_quote">Increased it to 4k which is now working fine . I have not done any detail debugging , where it exactly fails .But it solved my problem.</span></div>
<div><span class="gmail_quote"></span></div>
<div><span class="gmail_quote">If you need any further information please ask me I will provide it.</span></div>
<div><span class="gmail_quote"></span>&nbsp;</div>
<div><span class="gmail_quote">Thanks</span></div>
<div><span class="gmail_quote">Rabindra</span></div>
<div><span class="e" id="q_11de1717e9d7b80e_1">
<div><span class="gmail_quote"></span>&nbsp;</div>
<div><span class="gmail_quote"></span>&nbsp;</div>
<div><span class="gmail_quote">On 11/27/08, <b class="gmail_sendername">Mr Allwyn Fernandes</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:[email protected]" target="_blank">[email protected]</a>&gt; wrote:</span></div>

<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Rabindra,<br><br>Firstly: you need to be a member of the mailing list in order to post to it.<br>Join the mailing like this: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.mathopd.org/mailing-list.html" target="_blank">http://www.mathopd.org/mailing-list.html</a><br>
<br>On Tue, 25 Nov 2008 08:07:47 pm Rabindra Paikaray wrote:<br>&gt; When we are doing a form submit, it is not able to complete the submission<br>&gt; if total number of fields are exceeding a some limit. In my case the page<br>
&gt; has ninety seven fields. If lesser number of fields are there, the submit<br>&gt; is working fine.<br><br>This is strange, I&#39;ve not noticed this behaviour. However, that patch was not<br>extensively tested.<br><br>
&gt; Without the patch (i.e mathopd in http mode), the same page with ninety<br>&gt; seven fields is submitting properly.<br><br>Interesting... What about with the patch, but with a non-ssl config file? (If<br>you use the patch, but don&#39;t configure any TLS block, there should be no ssl<br>
library loaded, so it should be the same as not having the patch there...)<br><br>&gt; I saw the error log file for https and more number of fields, it is showing<br>&gt; below log messages Tue Nov 25 11:54:47 2008 [32730] revents:&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0<br>
&gt; 0 Tue Nov 25 11:54:47 2008 [32730] script timeout to 192.168.10.X[1459] Tue<br>&gt; Nov 25 11:54:47 2008 [32730] close_connection: 3<br><br>I can&#39;t reproduce this... Tested with Mathopd 1.6b9+ssl on Debian Lenny with<br>
OpenSSL 0.9.8g and the attached html...<br><br>Back to some basic questions:<br>* OpenSSL or GnuTLS? What version?<br>* Which Mathopd version?<br>* Which Operating System?<br>* Which Browser?<br><br>Can you provide a sample html file which triggers this error? Also, can you<br>
please send me a copy of your config file?<br><br>Cheers,<br><br>Allwyn.<br><br><br>On Tue, 25 Nov 2008 08:07:47 pm Rabindra Paikaray wrote:<br>&gt; Hi Allwyn,<br>&gt;<br>&gt; mathopd is working fine with your ssl patch sent by you, but we are now<br>
&gt; facing a new problem with this.<br>&gt;<br>&gt; When we are doing a form submit, it is not able to complete the submission<br>&gt; if total number of fields are exceeding a some limit. In my case the page<br>&gt; has ninety seven fields. If lesser number of fields are there, the submit<br>
&gt; is working fine.<br>&gt;<br>&gt; Without the patch (i.e mathopd in http mode), the same page with ninety<br>&gt; seven fields is submitting properly.<br>&gt;<br>&gt; I saw the error log file for https and more number of fields, it is showing<br>
&gt; below log messages Tue Nov 25 11:54:47 2008 [32730] revents:&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0<br>&gt; 0 Tue Nov 25 11:54:47 2008 [32730] script timeout to 192.168.10.X[1459] Tue<br>&gt; Nov 25 11:54:47 2008 [32730] close_connection: 3<br>
&gt;<br>&gt;<br>&gt;<br>&gt; Can you please guide me , for this problem what could be the reason for the<br>&gt; same. Ask me if you need more log messages or any other information to get<br>&gt; closer to this problem.<br>
&gt;<br>&gt;<br>&gt;<br>&gt; Regards<br>&gt;<br>&gt; Rabindra<br><br><br>--<br>Allwyn Fernandes<br>Director<br>Stobor Pty Ltd<br><br>Mobile: + 61 430 436 758<br>LinkedIn: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.linkedin.com/in/AllwynFernandes" target="_blank">http://www.linkedin.com/in/AllwynFernandes</a><br>
<br></blockquote></div><br></span></div>

------=_Part_7210_30951770.1228388068743--