System error

error:  Server closed connection without sending any data back at /usr/share/perl5/Net/HTTP/Methods.pm line 391.
context: 
... 
251:  }
252:  my $response;
253:  $response = $res->content();
254:  if (! $res->is_success) {
255:  die $response;
256:  }
257:  my $json_encoded = $response;
258:  $data = decode_json($json_encoded);
259:  $memd->set($mem_key , $data , $memd_ttl) if($memd_enabled);
... 
code stack:  /opt/app/tradeindia/cw/modules/Website.pm:255
/opt/app/tradeindia/cw/modules/Website.pm:363
/var/www/cw/bpslithiumbattery.com/autohandler.html:381
/opt/app/tradeindia/cw/components/syshandler.html:77
raw error






























Server closed connection without sending any data back at /usr/share/perl5/Net/HTTP/Methods.pm line 391.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Server closed connection without sending any data back at /usr/share/perl5/Net/HTTP/Methods.pm line 391.^J') called at /opt/app/tradeindia/cw/modules/Website.pm line 255
Website::get_categories('Website=HASH(0x5628042a26a0)', 'main_ul_class', 'class_name_for_ul', 'main_ul_id', 'id_for_ul') called at /opt/app/tradeindia/cw/modules/Website.pm line 363
Website::get_p_categories_li('Website=HASH(0x5628042a26a0)', 'main_ul_class', 'class_name_for_ul', 'main_ul_id', 'id_for_ul') called at /var/www/cw/bpslithiumbattery.com/autohandler.html line 381
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x562804390b48)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x5628043b0ed0)') called at /opt/app/tradeindia/cw/components/syshandler.html line 77
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x562802f6f530)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x5628043b0ed0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x5628043b0ed0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x562803604440)', 'Apache2::RequestRec=SCALAR(0x562802eaa3f0)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 132
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 131
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x562802eaa3f0)') called at -e line 0
eval {...} at -e line 0