<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear Paolo,<div class=""><br class=""></div><div class="">I am happy to hear that all is working well now.</div><div class="">Thanks for letting me know about the low timeout, I will contact the BioMart developers and see if the default timeout can be increased to “180” by default as “20” sounds very low to me.</div><div class=""><br class=""></div><div class="">Best Regards,</div><div class="">Thomas<br class=""><div><blockquote type="cite" class=""><div class="">On 1 Jun 2016, at 12:02, Paolo Cozzi <<a href="mailto:paolo.cozzi@itb.cnr.it" class="">paolo.cozzi@itb.cnr.it</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    <div class="moz-cite-prefix"><br class="">
      Dear Thomas,<br class="">
      <br class="">
      Thanks for your reply. Now I can create a local cache of registry
      data. I've raised the timeout parameter in line 91 of <font face="Courier New, Courier, monospace" size="-1" class="">biomart-perl/lib/BioMart/Configuration/URLLocation.pm</font>
      (before was 20 - I found this trick somewhere in SeqAnser but I
      don't remember the link) <br class="">
      <br class="">
      <font face="Courier New, Courier, monospace" size="-1" class="">my $ua =
        LWP::UserAgent->new;<br class="">
            $ua->timeout(180); # default is 180 seconds<br class="">
            $ua->proxy( ['http', 'https'], $self->proxy ) if
        defined $self->proxy;<br class="">
            my $response = $ua->request($request);</font><br class="">
      <br class="">
      Before it tooks many second to do a query like the file attached.
      Now It seems to me to work in a few seconds. <br class="">
      <br class="">
      Thank you all for the support,<br class="">
      <br class="">
      regards,<br class="">
      <br class="">
      Paolo<br class="">
      <br class="">
      <br class="">
      Il 31/05/2016 12:32, Thomas Maurel ha scritto:<br class="">
    </div>
    <blockquote cite="mid:307D04FE-C892-4DC7-9E1E-BEC08AA7BE5C@ebi.ac.uk" type="cite" class="">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252" class="">
      I am afraid that we had some issues with our BioMart servers on
      Thursday, could you please try again?
      <div class="">
        <div class="">If you still have issues, could you please share your
          BioMart Perl script with me so that I can have a look.<br class="">
          In Ensembl, we are still using biomart version 0.7 so I would
          stick to this version when you are querying the Ensembl marts
          with the Biomart Perl API. </div>
        <div class="">You can find the most recent updates of Biomart Perl API
          (biomart 0.9) on the following page: <a moz-do-not-send="true" href="http://www.biomart.org/download.html" class="">http://www.biomart.org/download.html</a></div>
        <div class=""><br class="">
        </div>
        <div class="">Hope this helps,</div>
        <div class="">Best Regards,</div>
        <div class="">Thomas<br class="">
        </div>
      </div>
    </blockquote>
    <br class="">
  </div>

<span id="cid:105411E8-519E-4A8B-B81E-FE6F084701A9@windows.ebi.ac.uk"><biomart_snplist_query.pl></span><span id="cid:71C2B5DF-10F8-4B2E-B2AB-FAD5948C9504@windows.ebi.ac.uk"><myMartURLLocation.xml></span>_______________________________________________<br class="">Dev mailing list    <a href="mailto:Dev@ensembl.org" class="">Dev@ensembl.org</a><br class="">Posting guidelines and subscribe/unsubscribe info: <a href="http://lists.ensembl.org/mailman/listinfo/dev" class="">http://lists.ensembl.org/mailman/listinfo/dev</a><br class="">Ensembl Blog: <a href="http://www.ensembl.info/" class="">http://www.ensembl.info/</a><br class=""></div></blockquote></div><br class=""><div class="">
<div class=""><div class="" style="orphans: 2; widows: 2;">--</div><div class="" style="orphans: 2; widows: 2;">Thomas Maurel<br class="">Bioinformatician - Ensembl Production Team<br class="">European Bioinformatics Institute (EMBL-EBI)<br class="">European Molecular Biology Laboratory<br class="">Wellcome Trust Genome Campus<br class="">Hinxton<br class="">Cambridge CB10 1SD<br class="">United Kingdom</div></div>

</div>
<br class=""></div></body></html>