PathwayCommons / factoid

A project to capture biological pathway data from academic papers
https://biofactoid.org
MIT License
28 stars 7 forks source link

Real users: Article metadata retrieval failures #845

Closed jvwong closed 4 years ago

jvwong commented 4 years ago

Just logging some failures I noticed with real user input

Comments: User for vi and the other user (i) seem to know that the system didn't find their article, so they repeatedly enter the same text over and over again in the CTA

jvwong commented 4 years ago
* 1. Error: `getRelPprsForDoc: Bad Request (400)`

  * Date:  Tue Sep 29 2020 13:47:15 GMT+00:00
  * Author input: `Atrx Deletion in Neurons Leads to Sexually Dimorphic Dysregulation of miR-137 and Spatial Learning and Memory Deficits` [https://pubmed.ncbi.nlm.nih.gov/32610139/]
  * Possible reason: Something in semanti-search (`"value is not a valid dict"`)

https://github.com/PathwayCommons/factoid/blob/4bf3fdc23bec447b487cae7d2193898b4014563a/src/server/routes/api/document/index.js#L1561

See https://github.com/PathwayCommons/semantic-search/pull/21

jvwong commented 4 years ago

Failure retrieving network-related papers:

weebapp_container | 2020-10-02T11:28:41.379903284Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=11998%40HGNC
webapp_container | 2020-10-02T11:28:41.380235613Z error:   504: Gateway Timeout
webapp_container | 2020-10-02T11:28:41.380400899Z info:    Retrying, attempt 1
webapp_container | 2020-10-02T11:28:41.382618637Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=5258%40HGNC&agent1=11998%40HGNC
webapp_container | 2020-10-02T11:28:41.382925393Z error:   504: Gateway Timeout
webapp_container | 2020-10-02T11:28:41.383091726Z info:    Retrying, attempt 1
webapp_container | 2020-10-02T11:28:41.384061682Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=5232%40HGNC&agent1=11998%40HGNC
webapp_container | 2020-10-02T11:28:41.384237935Z error:   504: Gateway Timeout
webapp_container | 2020-10-02T11:28:41.384395806Z info:    Retrying, attempt 1
webapp_container | 2020-10-02T11:29:01.865262624Z info:    Related papers table is updated for document e3ad1fe0-7cc9-4075-b9a7-32626ce0c2ff

Couldn't get any network- related papers on local instance either...

Unfortunately, this author also typed in a modified variant of their title (see v in issue) and so had no PubMed ID/ doc-level related papers but we got their data nonetheless.

Superseded by #851

jvwong commented 4 years ago

probably should have something in the admin for related papers issues as I had to manually inspect each new doc then dive around the logs to figure out what happened

Superseded by #852

jvwong commented 4 years ago

I'm reopening because this exact string matching approach is causing problems (see case vi)

Also on user submit - a bunch of errors from INDRA but it retried successfully!

webapp_container | 2020-10-08T01:28:26.188493310Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=21696%40HGNC
webapp_container | 2020-10-08T01:28:26.189156964Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.189422363Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.190860954Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=2554%40HGNC
webapp_container | 2020-10-08T01:28:26.191225205Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.191509834Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.192543085Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=2717%40HGNC
webapp_container | 2020-10-08T01:28:26.192852640Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.193114833Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.194072221Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=NRBP1-ubiquitin%20ligase%20(E3)%40TEXT
webapp_container | 2020-10-08T01:28:26.194345017Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.194640278Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.195658885Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=7993%40HGNC&agent1=6175%40HGNC
webapp_container | 2020-10-08T01:28:26.195926188Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.196185768Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.197239043Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=7993%40HGNC&agent1=2552%40HGNC
webapp_container | 2020-10-08T01:28:26.197523246Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.197780992Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.200323490Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=7993%40HGNC&agent1=6174%40HGNC
webapp_container | 2020-10-08T01:28:26.200592149Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.200902858Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.201870885Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=2552%40HGNC
webapp_container | 2020-10-08T01:28:26.202182995Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.202397381Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.203364489Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=7993%40HGNC&agent1=7993%40HGNC
webapp_container | 2020-10-08T01:28:26.203631471Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.203889354Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.226682781Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=11617%40HGNC
webapp_container | 2020-10-08T01:28:26.226934167Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.227103173Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.232779574Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=6175%40HGNC
webapp_container | 2020-10-08T01:28:26.233153000Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.233317700Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.236197983Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=3051%40HGNC
webapp_container | 2020-10-08T01:28:26.236467478Z error:   504: Gateway Timeout
webapp_container | 2020-10-08T01:28:26.236647622Z info:    Retrying, attempt 1
webapp_container | 2020-10-08T01:28:26.237650471Z error:   Error for https://db.indra.bio/latest/statements/from_agents?format=json-js&agent0=6174%40HGNC
webapp_container | 2020-10-08T01:28:26.237839378Z error:   504: Gateway Timeout
jvwong commented 4 years ago

Also for above blank image for https://biofactoid.org/document/7d452a55-234e-47a7-aed2-33646f2a2e9d

image

image