mod perl - mod_perl2 with apache 2.22 Apache2::RequestIO::print: (103) Software caused connection abort -



mod perl - mod_perl2 with apache 2.22 Apache2::RequestIO::print: (103) Software caused connection abort -

i’m trying mod_perl2 application ported aws. part of port thought i’d move debian squeeze wheezy latest stable mod_perl & apache2 combination.

the application works right point seek , write json responses client. @ point, each request canceled on client , on server error

apache2::requestio::print: (103) software caused connection abort

whenever write client, i.e.:

$self->req->print($output);

i’ve tried tcpdumping response client, , can see beingness written out, no response received on client end , barfs chips. can’t find info on how around this.

i found quite few people asking question on net without many answers. solution problem specific thought i’d post did anyway, may help someone.

the client canceling request before response written, crapping out apache::requestio (for reasons still don’t know). couldn’t work out why seeing behavior.

by using tcpdump see info beingness written out client – , looked fine.

by inspecting page in chrome , looking @ network stack, see request info beingness canceled after no response received (which odd because code worked fine on other servers , see response beingness written). debugging may harder because apache crashing out error in print io couldn’t check if bytes written equaled bytes of data. wasn’t sure if getting stuck on server side.

so, changed content-type of response application/json text/html, query page , @ actual response text. 1 time did that, see response fine.

i started other causes, , found in migration new server, i’d missed altering urls in db point new server, meant my application trying info old db. in turn causing load of timing issues, causing problems. 1 time fixed config, problems went away.

apache mod-perl apache2.2 mod-perl2

Comments

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -