On Mon, Feb 20, 2017 at 04:32:32AM -0800, Volker Braun wrote:
> There is no general client request body size limit, this is a configuration 
> setting for your wsgi server or reverse proxy that is in front of the 
> patchbot. If you need help debugging this then post the relevant **server** 
> log that shows the 413 being triggered.
> 

I just set the client_max_body_size to 0 (=infinity) on nginx, let us see
if it fixes the issue.

Ciao,
Thierry


> 
> 
> On Thursday, January 26, 2017 at 4:41:03 AM UTC-5, Thierry 
> (sage-googlesucks@xxx) wrote:
> >
> > Hi, 
> >
> > the patchbot server is regularly maintained and seems healthy (i just 
> > rebooted it to be sure that the issue does not come from that side). 
> > Apparently, the reason is that your patchbot client sends a log that is 
> > too big. I already met that issue once, the reason was that i ran a client 
> > on a fresh sage source tarball which lead to a huge log. The workaround 
> > was to first compile Sage, and then run the patchbot. Are you in a similar 
> > case ? 
> >
> > Ciao 
> > Thierry 
> >
> >
> >
> > On Thu, Jan 26, 2017 at 10:18:32AM +0100, Daniel Krenn wrote: 
> > > Starting a patchbot results in the error below. Any ideas? 
> > > 
> > > ... 
> > > [2017-01-26 09:15:56] #0: init phase 
> > > REPORT 
> > > {'base': '7.6.beta1', 
> > >  'deps': [], 
> > >  'git_base': 'ac31f23ba52013c7aa6cc83660c50bfe9aab952a', 
> > >  'git_base_human': '7.6.beta1', 
> > >  'git_branch': 'develop', 
> > >  'git_commit': 'ac31f23ba52013c7aa6cc83660c50bfe9aab952a', 
> > >  'git_commit_human': '7.6.beta1', 
> > >  'git_log': [], 
> > >  'git_merge': 'ac31f23ba52013c7aa6cc83660c50bfe9aab952a', 
> > >  'git_merge_human': '7.6.beta1', 
> > >  'machine': ['LinuxMint', '18.1', 'x86_64', '4.4.0-59-generic', 
> > > 'rk02-math'], 
> > >  'owner': u'Clemens Heuberger <clemens....@aau.at <javascript:>>', 
> > >  'patchbot_version': '2.6.4', 
> > >  'plugins': (), 
> > >  'spkgs': [], 
> > >  'status': 'Pending', 
> > >  'time': '2017-01-26 09:15:56', 
> > >  'user': 'sage-patchbot'} 
> > > 0: Pending 
> > > Traceback (most recent call last): 
> > >   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main 
> > >     "__main__", fname, loader, pkg_name) 
> > >   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code 
> > >     exec code in run_globals 
> > >   File 
> > > 
> > "/local/sage-patchbot/.local/lib/python2.7/site-packages/sage_patchbot/patchbot.py",
> >  
> >
> > > line 1524, in <module> 
> > >     main(args) 
> > >   File 
> > > 
> > "/local/sage-patchbot/.local/lib/python2.7/site-packages/sage_patchbot/patchbot.py",
> >  
> >
> > > line 1489, in main 
> > >     res = patchbot.test_a_ticket(0) 
> > >   File 
> > > 
> > "/local/sage-patchbot/.local/lib/python2.7/site-packages/sage_patchbot/patchbot.py",
> >  
> >
> > > line 1015, in test_a_ticket 
> > >     self.report_ticket(ticket, status='Pending', log=log) 
> > >   File 
> > > 
> > "/local/sage-patchbot/.local/lib/python2.7/site-packages/sage_patchbot/patchbot.py",
> >  
> >
> > > line 1377, in report_ticket 
> > >     fields, files)) 
> > >   File 
> > > 
> > "/local/sage-patchbot/.local/lib/python2.7/site-packages/sage_patchbot/http_post_file.py",
> >  
> >
> > > line 37, in post_multipart 
> > >     return urlopen(r).read() 
> > >   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen 
> > >     return opener.open(url, data, timeout) 
> > >   File "/usr/lib/python2.7/urllib2.py", line 435, in open 
> > >     response = meth(req, response) 
> > >   File "/usr/lib/python2.7/urllib2.py", line 548, in http_response 
> > >     'http', request, response, code, msg, hdrs) 
> > >   File "/usr/lib/python2.7/urllib2.py", line 473, in error 
> > >     return self._call_chain(*args) 
> > >   File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain 
> > >     result = func(*args) 
> > >   File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default 
> > >     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) 
> > > urllib2.HTTPError: HTTP Error 413: Request Entity Too Large 
> > > 
> > > -- 
> > > You received this message because you are subscribed to the Google 
> > Groups "sage-devel" group. 
> > > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to sage-devel+...@googlegroups.com <javascript:>. 
> > > To post to this group, send email to sage-...@googlegroups.com 
> > <javascript:>. 
> > > Visit this group at https://groups.google.com/group/sage-devel. 
> > > For more options, visit https://groups.google.com/d/optout. 
> >
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to