Unusual response from FlightInfoEx

Hi,

Upon using FlightInfoEx, I’ve occasionally been receiving this response, causing my program to crash:


</table></table>
<table class="fullWidth" style="background-color: #FFFFFF;"><tr><th class="mainHeader fullWidth">Service Interruption</th></tr><tr class="smallrow1"><td>We're sorry, but FlightAware has encountered an unrecoverable error and is unable to process your request at this time.
	Please try again shortly or wait a few moments.
	If the problem persists, please <a href="mailto:support@flightaware.com">contact us</a>.</td></tr></table>
<table class="fullWidth" style="background-color: #FFFFFF;"><tr><td class="smallrow2">Error ID: </td></tr><tr><th class="mainHeader fullWidth">Service Interruption</th></tr></table>
<!-- ************************************ TRACEBACK *************************
Unable to connect to '(variable not set)': Connection to database failed
could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

    while executing
"error $error_msg"
    (procedure "flightaware_dbconnect" line 25)
    invoked from within
"flightaware_dbconnect $::faDbParmArrayName 1"
    (procedure "flightaware_ensure_dbconnection" line 21)
    invoked from within
"flightaware_ensure_dbconnection"
    (procedure "::flightxml::startpage" line 9)
    invoked from within
"::flightxml::startpage"
    (in namespace eval "::request" script line 29)
    invoked from within
"namespace eval request {
puts -nonewline ""

#
# FlightAware FlightXML 2 Web Services
#

package require flightaware-main
package require flightaware-..." -->
  </div>

<div id="popupLogin"><div class="inline_form_box" style="max-width: 560px;"><div class="inline_form_box_title"><button type="button" class="close hint blur" value="close">x</button><h3>Login</h3></div><div class="inline_form_box_content"><p></p><div class="loginBox"><form action="https://flightxml.flightaware.com/account/session" method="post" name="myform"><input type='hidden' name='referer' value='http://flightxml.flightaware.com/soap/FlightXML2/op'><input type='hidden' name='mode' value='login' /><div class="creds"><input size='30' type='text' name='flightaware_username' aria-label="Username or E-mail address" placeholder="Username or E-mail address" value=""/><input size='30' type='password' name='flightaware_password' aria-label="Password" placeholder="Password" /></div><button type='submit' class='actionButton'>Login</button><div class="passwordReset"><a href="http://flightxml.flightaware.com/account/forgot">Forgot password?</a></div><div class="register">Don't have an account? Register now (free) for customized features, flight alerts, and more!
		<div class="registerButton"><a class="actionButton" href="/account/join/?referer=http://flightxml.flightaware.com/soap/FlightXML2/op"> Join FlightAware</a></div></div></form></div></div></div></div><div class="dialogOverlay"></div>

	 <footer id="Footer">
      <div id="footerLanguages">
	  <a  onClick="location.href='/account/locale_switch.rvt?locale=ar_SA'; return false;"  href="/account/locale_switch.rvt?locale=ar_SA">العربية</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=de_DE'; return false;"  href="/account/locale_switch.rvt?locale=de_DE">Deutsch</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=en_GB'; return false;"  href="/account/locale_switch.rvt?locale=en_GB">English (UK)</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=en_US'; return false;"  href="/account/locale_switch.rvt?locale=en_US">English (USA)</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=es_ES'; return false;"  href="/account/locale_switch.rvt?locale=es_ES">Español (España)</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=fr_FR'; return false;"  href="/account/locale_switch.rvt?locale=fr_FR">Français</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=he_IL'; return false;"  href="/account/locale_switch.rvt?locale=he_IL">עִבְרִית</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=it_IT'; return false;"  href="/account/locale_switch.rvt?locale=it_IT">Italiano</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=ja_JP'; return false;"  href="/account/locale_switch.rvt?locale=ja_JP">日本語</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=ko_KR'; return false;"  href="/account/locale_switch.rvt?locale=ko_KR">한국어</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=nl_NL'; return false;"  href="/account/locale_switch.rvt?locale=nl_NL">Nederlands</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=pt_BR'; return false;"  href="/account/locale_switch.rvt?locale=pt_BR">Português</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=ru_RU'; return false;"  href="/account/locale_switch.rvt?locale=ru_RU">Русский</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=sv_SE'; return false;"  href="/account/locale_switch.rvt?locale=sv_SE">Svenska</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=tr_TR'; return false;"  href="/account/locale_switch.rvt?locale=tr_TR">Türkçe</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=zh_CN'; return false;"  href="/account/locale_switch.rvt?locale=zh_CN">中文(简体)</a> | <a  onClick="location.href='/account/locale_switch.rvt?locale=zh_TW'; return false;"  href="/account/locale_switch.rvt?locale=zh_TW">中文(台灣)</a>
	  </div>
      <div id="footerCopyright">
	  &copy; 2016 FlightAware | <a href="/about/termsofuse">Terms Of Use</a>  | <a href="/about/privacy">Privacy</a> | <a href="/about/faq">FAQs</a>
	  </div>
	  
   </div>
   </footer>
 <!-- Web Stats Not Included --> 
   
				<script type="text/javascript">
		$(function() {
			$("body").append("<iframe src='/ajax/ignoreuser/hash2.rvt?k=travel,flight' style='display: none;'></iframe>");
		});
	</script>
</div>
 </body>
</html>


Can someone tell me what this response means and why it’s occurring? Additionally, how should I go about fixing this? Thanks.

That is just a temporary server capacity issue. Anytime the HTTP response code is not 200 (success) then you can assume that an error has occurred. In this case, you can retry the request a few moments later and it should succeed.