[ensembl-dev] Transitory problems on EnsEMBL REST server

Kieron Taylor ktaylor at ebi.ac.uk
Fri Jun 17 11:23:26 BST 2016


Dear Paolo,

Thank you for identifying a rather exotic bug. Our Compara team have provided a patch and the REST server should now report consistent results for this endpoint.

Regards,

Kieron


> On 15 Jun 2016, at 13:49, Paolo Cozzi <paolo.cozzi at itb.cnr.it> wrote:
> 
> Dear all,
> 
> sometimes when accessing to taxonomy/id/:id endpoint I got different results. Could you check the status of REST service?
> 
> Best regards,
> 
> Paolo.
> 
> P.S. Here are two results for the same query:
> 
> $ curl -v 'http://rest.ensembl.org/taxonomy/id/9606?' -H 'Content-type:application/json'
> *   Trying 193.62.54.30...
> * Connected to rest.ensembl.org (193.62.54.30) port 80 (#0)
> > GET /taxonomy/id/9606? HTTP/1.1
> > Host: rest.ensembl.org
> > User-Agent: curl/7.45.0
> > Accept: */*
> > Content-type:application/json
> > 
> < HTTP/1.1 200 OK
> < Vary: Content-Type
> < Content-Type: application/json
> < Content-Length: 1195
> < X-Runtime: 0.035821
> < X-RateLimit-Limit: 55000
> < X-RateLimit-Reset: 1883
> < X-RateLimit-Period: 3600
> < X-RateLimit-Remaining: 54794
> < Date: Wed, 15 Jun 2016 12:28:37 GMT
> < Connection: close
> < 
> {"scientific_name":"Homo sapiens","parent":{"scientific_name":"Homo","name":"Homo","id":"9605","tags":{"scientific name":["Homo"],"name":["Homo"],"authority":["Homo Linnaeus, 1758"]},"leaf":0},"name":"Homo sapiens","children":[{"scientific_name":"Homo sapiens ssp. Denisova","name":"Homo sapiens ssp. Denisova","id":"741158","tags":{"scientific name":["Homo sapiens ssp. Denisova"],"genbank common name":["Denisova hominin"],"synonym":["Homo sapiens ssp. 'Denisova'","Homo sp. Altai"],"common name":["Denisovan","Denisovans"],"name":["Homo sapiens ssp. Denisova"]},"leaf":1},{"scientific_name":"Homo sapiens neanderthalensis","name":"Homo sapiens neanderthalensis","id":"63221","tags":{"scientific name":["Homo sapiens neanderthalensis"],"synonym":["Homo neanderthalensis"],"genbank common name":["Neandertal"],"common name":["Neandertal man","Neanderthal","Neanderthal man"],"name":["Homo sapiens neanderthalensis"],"type material":["Feldhofer 1","Neanderthal 1"]},"leaf":1}],"id":"9606","tags":{"ensembl alias name":["Human"],"scientific name":["Homo sapiens"],"genbank common name":["human"],"common name":["man"],"name":["Homo sapiens"],"authority":["Homo sapiens Linnaeus, 1758"]},"leaf":0}
> 
> and
> 
> $ curl -v 'http://rest.ensembl.org/taxonomy/id/9606?' -H 'Content-type:application/json'
> *   Trying 193.62.54.30...
> * Connected to rest.ensembl.org (193.62.54.30) port 80 (#0)
> > GET /taxonomy/id/9606? HTTP/1.1
> > Host: rest.ensembl.org
> > User-Agent: curl/7.45.0
> > Accept: */*
> > Content-type:application/json
> > 
> < HTTP/1.1 200 OK
> < Vary: Content-Type
> < Content-Type: application/json
> < Content-Length: 543
> < X-Runtime: 0.008533
> < X-RateLimit-Limit: 55000
> < X-RateLimit-Reset: 1851
> < X-RateLimit-Period: 3600
> < X-RateLimit-Remaining: 54793
> < Date: Wed, 15 Jun 2016 12:29:09 GMT
> < Connection: close
> < 
> * Closing connection 0
> {"scientific_name":"Homo sapiens","parent":{"scientific_name":"Theria","name":"Theria","id":"32525","tags":{"ensembl alias name":["Marsupials and Placental mammals"],"scientific name":["Theria"],"name":["Theria"],"authority":["Theria Parker & Haswell, 1897"],"ensembl timetree mya":["162.6"]},"leaf":0},"name":"Homo sapiens","id":"9606","tags":{"ensembl alias name":["Human"],"scientific name":["Homo sapiens"],"genbank common name":["human"],"common name":["man"],"name":["Homo sapiens"],"authority":["Homo sapiens Linnaeus, 1758"]},"leaf":1}
> 
> 
> 
> 
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/





More information about the Dev mailing list