[MacPorts] #53117: Braeburn POST requests (Trac, Mailman) are unreliable
MacPorts
noreply at macports.org
Thu Dec 22 15:37:09 CET 2016
#53117: Braeburn POST requests (Trac, Mailman) are unreliable
-----------------------------+---------------------
Reporter: mf2k | Owner: admin@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Resolution: | Keywords:
Port: |
-----------------------------+---------------------
Comment (by neverpanic):
On the trac side, we see errors such as
{{{
[Tue Dec 20 15:16:42.208829 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] mod_wsgi (pid=24819): Exception occurred processing WSGI
script '/var/www/trac/cgi-bin/trac.wsgi'.
[Tue Dec 20 15:16:42.208961 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] Traceback (most recent call last):
[Tue Dec 20 15:16:42.208980 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/cgi-bin/trac.wsgi", line 31, in
application
[Tue Dec 20 15:16:42.209005 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] return dispatch_request(environ, start_request)
[Tue Dec 20 15:16:42.209014 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/web/main.py", line 530, in dispatch_request
[Tue Dec 20 15:16:42.209028 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] return _dispatch_request(req, env, env_error)
[Tue Dec 20 15:16:42.209035 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/web/main.py", line 569, in _dispatch_request
[Tue Dec 20 15:16:42.209045 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] send_internal_error(env, req, sys.exc_info())
[Tue Dec 20 15:16:42.209052 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/web/main.py", line 688, in send_internal_error
[Tue Dec 20 15:16:42.209062 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] req.send_error(exc_info, status=500, env=env,
data=data)
[Tue Dec 20 15:16:42.209069 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/web/api.py", line 597, in send_error
[Tue Dec 20 15:16:42.209080 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] exc_info)
[Tue Dec 20 15:16:42.209086 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/web/main.py", line 562, in _dispatch_request
[Tue Dec 20 15:16:42.209096 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] dispatcher.dispatch(req)
[Tue Dec 20 15:16:42.209103 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/web/main.py", line 249, in dispatch
[Tue Dec 20 15:16:42.209113 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] resp = chosen_handler.process_request(req)
[Tue Dec 20 15:16:42.209120 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/versioncontrol/web_ui/browser.py", line 404, in
process_request
[Tue Dec 20 15:16:42.209131 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] self._render_zip(req, context, repos, node, rev)
[Tue Dec 20 15:16:42.209205 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/versioncontrol/web_ui/browser.py", line 661, in _render_zip
[Tue Dec 20 15:16:42.209231 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] render_zip(req, filename, repos, root_node,
self._iter_nodes)
[Tue Dec 20 15:16:42.209243 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/versioncontrol/web_ui/util.py", line 231, in render_zip
[Tue Dec 20 15:16:42.209368 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] req.write(zip_str)
[Tue Dec 20 15:16:42.209375 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] File "/var/www/trac/virtualenv/lib/python2.7/site-
packages/trac/web/api.py", line 698, in write
[Tue Dec 20 15:16:42.209394 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] self._write(''.join(buf))
[Tue Dec 20 15:16:42.209410 2016] [wsgi:error] [pid 24819] [remote
x.y.z.a:64119] IOError: Apache/mod_wsgi failed to write response data:
Broken pipe
}}}
Unfortunately that's not very helpful in telling us why the pipe was
broken (i.e. the connection was closed)
--
Ticket URL: <https://trac.macports.org/ticket/53117#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list