Re: Mathopd ssl failing to submit form
"Rabindra Paikaray" <[email protected]> Fri, 28 Nov 2008 10:23:10 +0530
| Newsgroups | gmane.network.mathopd |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_27944_9259513.1227847991011 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. For your reference I am attaching a sample php file which contains html for it. Please check it. 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_27944_9259513.1227847991011 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <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> </div> <div><span class="gmail_quote"><strong>CPPFLAGS += -DUSE_SSL_OPENSSL<br>LDFLAGS += -lssl</strong></span></div> <div><span class="gmail_quote"></span> </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">For your reference I am attaching a sample php file which contains html for it.</span></div> <div><span class="gmail_quote">Please check it. If you need any further information please ask me I will provide it.</span></div> <div><span class="gmail_quote"></span> </div> <div><span class="gmail_quote">Thanks</span></div> <div><span class="gmail_quote">Rabindra</span></div> <div><span class="gmail_quote"></span> </div> <div><span class="gmail_quote"></span> </div> <div><span class="gmail_quote">On 11/27/08, <b class="gmail_sendername">Mr Allwyn Fernandes</b> <<a href="mailto:[email protected]">[email protected]</a>> 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 href="http://www.mathopd.org/mailing-list.html">http://www.mathopd.org/mailing-list.html</a><br> <br>On Tue, 25 Nov 2008 08:07:47 pm Rabindra Paikaray wrote:<br>> When we are doing a form submit, it is not able to complete the submission<br>> if total number of fields are exceeding a some limit. In my case the page<br> > has ninety seven fields. If lesser number of fields are there, the submit<br>> is working fine.<br><br>This is strange, I've not noticed this behaviour. However, that patch was not<br>extensively tested.<br><br> > Without the patch (i.e mathopd in http mode), the same page with ninety<br>> 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'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>> I saw the error log file for https and more number of fields, it is showing<br>> below log messages Tue Nov 25 11:54:47 2008 [32730] revents: 0 0<br> > 0 Tue Nov 25 11:54:47 2008 [32730] script timeout to 192.168.10.X[1459] Tue<br>> Nov 25 11:54:47 2008 [32730] close_connection: 3<br><br>I can'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>> Hi Allwyn,<br>><br>> mathopd is working fine with your ssl patch sent by you, but we are now<br> > facing a new problem with this.<br>><br>> When we are doing a form submit, it is not able to complete the submission<br>> if total number of fields are exceeding a some limit. In my case the page<br>> has ninety seven fields. If lesser number of fields are there, the submit<br> > is working fine.<br>><br>> Without the patch (i.e mathopd in http mode), the same page with ninety<br>> seven fields is submitting properly.<br>><br>> I saw the error log file for https and more number of fields, it is showing<br> > below log messages Tue Nov 25 11:54:47 2008 [32730] revents: 0 0<br>> 0 Tue Nov 25 11:54:47 2008 [32730] script timeout to 192.168.10.X[1459] Tue<br>> Nov 25 11:54:47 2008 [32730] close_connection: 3<br> ><br>><br>><br>> Can you please guide me , for this problem what could be the reason for the<br>> same. Ask me if you need more log messages or any other information to get<br>> closer to this problem.<br> ><br>><br>><br>> Regards<br>><br>> Rabindra<br><br><br>--<br>Allwyn Fernandes<br>Director<br>Stobor Pty Ltd<br><br>Mobile: + 61 430 436 758<br>LinkedIn: <a href="http://www.linkedin.com/in/AllwynFernandes">http://www.linkedin.com/in/AllwynFernandes</a><br> <br></blockquote></div><br> ------=_Part_27944_9259513.1227847991011--