<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Johann,<br>
      <br>
      To add to what Dan said, here's an example of the implementation
      of the backoff-then-retry loop which he mentioned in our Python
      package: [1]. Perhaps this could be useful.<br>
      <br>
      [1]
<a class="moz-txt-link-freetext" href="https://github.com/EBIvariation/eva-opentargets/blob/7bca316956066f8a79b6c7e931c62efec91be2d2/vep-mapping-pipeline/vep_mapping_pipeline/consequence_mapping.py#L54">https://github.com/EBIvariation/eva-opentargets/blob/7bca316956066f8a79b6c7e931c62efec91be2d2/vep-mapping-pipeline/vep_mapping_pipeline/consequence_mapping.py#L54</a><br>
    </p>
    <div class="moz-signature">Best wishes, Kirill<br>
      <small>Kirill Tsukanov | Senior Bioinformatician<br>
        European Variation Archive, EMBL-EBI</small><br>
      <br>
    </div>
    <div class="moz-cite-prefix">On 05/10/2020 18:56, Dan Sheppard
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20201005175738.D733C62A5BC_F7B5E92B@hh-mx3.ebi.ac.uk">
      <div class="moz-text-plain" wrap="true" graphical-quote="true"
        style="font-family: -moz-fixed; font-size: 12px;"
        lang="x-unicode">
        <pre class="moz-quote-pre" wrap="">Hi Johann,

Thanks for your message. We've noticed a higher than normal error rate
both on GRCh37 REST, and also on certain main REST endpoints; it has
set off a number of monitoring alarms. We have been looking into the
errors and these seem to be caused by recent increases in data volume,
meaning that we need to re-tweak some resource settings to maintain
adequate throughput. We should have this completed within the next few days,
and hopefully error rates will reduce.

There is no reason to believe that your script is misusing the service
on the basis of this outcome, but thank you for your concern. It's always
a good idea to wrap calls in some kind of backoff-then-retry loop but I
understand how frustrating it can be if things seem to constantly stall.

I will keep you posted.

Dan.

On Mon, Oct 05, 2020 at 03:03:50PM +0200, Johann Lieberwirth wrote:
</pre>
        <blockquote type="cite" style="color: #000000;">
          <pre class="moz-quote-pre" wrap="">Dear Ensembl Developers,
 
I’m using VEP REST services for annotations with the python package requests and am receiving a lot of ERROR 503 for about one week now. They occur only for GRCh37 as far as I noticed. If I refresh the request for a couple of times without changing any parameters, at some point I get the expected results. This is a little unreliable. Is this a misuse of the service from my side or is there some problem on yours?
 
Best,
Johann
</pre>
        </blockquote>
        <blockquote type="cite" style="color: #000000;">
          <pre class="moz-quote-pre" wrap="">_______________________________________________
Dev mailing list    <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org" moz-do-not-send="true">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org" moz-do-not-send="true">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/" moz-do-not-send="true">http://www.ensembl.info/</a>
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">
_______________________________________________
Dev mailing list    <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org" moz-do-not-send="true">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org" moz-do-not-send="true">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/" moz-do-not-send="true">http://www.ensembl.info/</a>
</pre>
      </div>
    </blockquote>
  </body>
</html>