System error

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

<br>
<table id="" 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>
<!-- Sorry error in connecting to database at /opt/app/tradeindia/perl_modules_02/UtilsDB.pm line 57.

Stack:
[/opt/app/tradeindia/perl_modules_02/UtilsDB.pm:57]
[/opt/app/tradeindia/mason/error/ise.html:67]
[/opt/app/tradeindia/mason/error/autohandler.html:13]
-->

<tr>
<td align="center">
<small>


</small>

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






























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

<br>
<table id="" 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>
<!-- Sorry error in connecting to database at /opt/app/tradeindia/perl_modules_02/UtilsDB.pm line 57.

Stack:
  [/opt/app/tradeindia/perl_modules_02/UtilsDB.pm:57]
  [/opt/app/tradeindia/mason/error/ise.html:67]
  [/opt/app/tradeindia/mason/error/autohandler.html:13]
-->

<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 125
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 id="" 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<!-- Sorry error in connecting to database at /opt/app/tradeindia/perl_modules_02/UtilsDB.pm line 57.^J^JStack:^J  [/opt/app/tradeindia/perl_modules_02/UtilsDB.pm:57]^J  [/opt/app/tradeindia/mason/error/ise.html:67]^J  [/opt/app/tradeindia/mason/error/autohandler.html:13]^J-->^J^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 224
Website::get_profile('Website=HASH(0x562802ebdf70)') called at /var/www/cw/servokonstabilizer.com/global.html line 3
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x562802e38450)') 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) called at /var/www/cw/servokonstabilizer.com/autohandler.html line 4
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x562802e40578)') 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(0x562802dd0090)') 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(0x56280364e7b8)') 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(0x562802dd0090)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x562802dd0090)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x562802e38480)', 'Apache2::RequestRec=SCALAR(0x562802eb5610)') 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(0x562802eb5610)') called at -e line 0
eval {...} at -e line 0