System error

error: 
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td valign="top" >

<br>
<table align="center" width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td align="center"><br>

<br>
<table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#c1c1c1">
<tr>
<td><table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
<td valign="top" bgcolor="#F4F4F4"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr align="center">
<td align=left>
<small><font color="#ff0000" face="Verdana" size="2">Sorry error in connecting to database , Please try after sometime.</font></small><br>
</td>
</tr>
<tr>
<td align="center">
<small>


</small>

</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td></tr>
</table>
</center>
</font>
</td>
</tr>
</table>
context: 
... 
219:  my $res = $ua->post( $url,\%args);
220:  my $response;
221:  $response = $res->content();
222:  if (! $res->is_success) {
223:  die $response;
224:  }
225:  my $json_encoded = $response;
226:  $data = decode_json($json_encoded);
227:  $memd->set($mem_key , $data , $memd_ttl) if($memd_enabled);
... 
code stack:  /opt/app/tradeindia/cw/modules/Website.pm:223
/var/www/cw/akehandicrafts.com/global.html:3
/var/www/cw/akehandicrafts.com/autohandler.html:5
/opt/app/tradeindia/cw/components/syshandler.html:79
raw error






























<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td  valign="top" >

<br>
<table align="center" width="100%"  border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td align="center"><br>

      <br>
      <table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#c1c1c1">
        <tr>
          <td><table width="100%" border="0" cellpadding="3" cellspacing="1">
              <tr>
                <td valign="top" bgcolor="#F4F4F4"><table width="100%" border="0" cellspacing="0" cellpadding="4">
                    <tr align="center">
                      <td align=left>
<small><font color="#ff0000" face="Verdana" size="2">Sorry error in connecting to database , Please try after sometime.</font></small><br>
</td>
                    </tr>
<tr>
<td  align="center">
<small>


</small>

</td>
</tr>
                </table></td>
              </tr>
          </table></td>
        </tr>
  </table></td></tr>
</table>
</center>
</font>
</td>
  </tr>
</table>


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('^J<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">^J  <tr>^J    <td  valign="top" >^J^J<br>^J<table align="center" width="100%"  border="0" cellspacing="2" cellpadding="2">^J  <tr>^J    <td align="center"><br>^J^J      <br>^J      <table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#c1c1c1">^J        <tr>^J          <td><table width="100%" border="0" cellpadding="3" cellspacing="1">^J              <tr>^J                <td valign="top" bgcolor="#F4F4F4"><table width="100%" border="0" cellspacing="0" cellpadding="4">^J                    <tr align="center">^J                      <td align=left>^J^I^I^I^I^I<small><font color="#ff0000" face="Verdana" size="2">Sorry error in connecting to database , Please try after sometime.</font></small><br>^J^I^I^I^I^I^I^I^I^I^I^I</td>^J                    </tr>^J^I^I^I^I^I^I^I^I^I^I<tr>^J^I^I^I^I^I^I^I^I^I^I^I<td  align="center">^J^I^I^I^I^I^I^I^I^I^I^I^I^I<small>^J^J^J^I^I^I^I^I^I^I^I^I^I^I^I^I</small>^J^J^I^I^I^I^I^I^I^I^I^I^I</td>^J^I^I^I^I^I^I^I^I^I^I</tr>^I^J                </table></td>^J              </tr>^J          </table></td>^J        </tr>^J^I^I  </table></td></tr>^J</table>^J</center>^J</font>^J^I^I</td>^J  </tr>^J</table>^J') called at /opt/app/tradeindia/cw/modules/Website.pm line 223
Website::get_profile('Website=HASH(0x7f22fe5c8ee0)') called at /var/www/cw/akehandicrafts.com/global.html line 3
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f22febd18b0)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1305
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef) called at /var/www/cw/akehandicrafts.com/autohandler.html line 5
HTML::Mason::Commands::__ANON__('subject', 'Inquiry for Handmade Ceramic Wall Hook') called at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f22fe1cfdf0)', 'subject', 'Inquiry for Handmade Ceramic Wall Hook') called at /usr/share/perl5/HTML/Mason/Request.pm line 1305
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef, 'subject', 'Inquiry for Handmade Ceramic Wall Hook') called at /usr/share/perl5/HTML/Mason/Request.pm line 958
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f22fec03438)') called at /opt/app/tradeindia/cw/components/syshandler.html line 79
HTML::Mason::Commands::__ANON__('subject', 'Inquiry for Handmade Ceramic Wall Hook') called at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f22fd93e768)', 'subject', 'Inquiry for Handmade Ceramic Wall Hook') called at /usr/share/perl5/HTML/Mason/Request.pm line 1303
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef, 'subject', 'Inquiry for Handmade Ceramic Wall Hook') called at /usr/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f22fec03438)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f22fec03438)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f22fe1eb338)', 'Apache2::RequestRec=SCALAR(0x7f22fd8b4ee0)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 92
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 91
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x7f22fd8b4ee0)') called at -e line 0
eval {...} at -e line 0