title: Using the Google Translate API v2 via a proxy server
body: <p>I have a perl script that calls the Google Translate API v2.  I have a key and this script works fine at home.  It fails at work though and the only difference is that I'm on a VPN and must use a proxy server at work. My perl script sets the proxy server and it has been tested with many URLs and no problems connecting to any of them.  I also tested this same script with the BableFish Translate API and again the script works fine at work.   But, all attempts to reach the Google Translate API v2 fail at work.  </p>
  
  <p>The failure message is: </p>
  
  <blockquote>
    <p>"failed: Translation back-end failed; unsuccessful languages call: 500
    Connect failed: connect: Connection timed out; Connection timed out at
    /usr/lib/perl5/site_perl/5.10/Lingua/Translate/Google.pm line 246"</p>
  </blockquote>
  
  <p>Any ideas on why the script fails only with the Google Translate API v2 when at work?<br>
  Any suggestions on how to debug?  </p>
  
  <p><strong>Here is my Key Admin</strong></p>
  
  <p>Key for server apps (with IP locking)<br>
  API key: ..deleted for security..<br>
  IPs:    Any IP allowed<br>
  Activated on:   Jan 31, 2012 2:39 PM<br>
  Activated by:    you</p>