Closed vgardner-renci closed 3 years ago
{
"callback": "http://0.0.0.0:8000/ars/api/messages/83654eca-7205-4ac0-a05e-3f25115b8bd4",
"logs": [
{
"level": "INFO",
"message": "ARS info: {"message":{"query_graph":null,"knowledge_graph":null,"results":null},"logs":[{"timestamp":"2021-07-15T16:27:41.425232","level":"ERROR","code":null,"message":"Exception in Strider: ReadTimeout('')","stack":"Traceback (most recent call last):\\n File \\"/app/./strider/server.py\\", line 94, in catch_exceptions_middleware\\n return await call_next(request)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py\\", line 45, in call_next\\n task.result()\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py\\", line 38, in coro\\n await self.app(scope, receive, send)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py\\", line 78, in __call__\\n await self.app(scope, receive, send)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/exceptions.py\\", line 82, in __call__\\n raise exc from None\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/exceptions.py\\", line 71, in __call__\\n await self.app(scope, receive, sender)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/routing.py\\", line 580, in __call__\\n await route.handle(scope, receive, send)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/routing.py\\", line 241, in handle\\n await self.app(scope, receive, send)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/routing.py\\", line 52, in app\\n response = await func(request)\\n File \\"/usr/local/lib/python3.9/site-packages/fastapi/routing.py\\", line 214, in app\\n raw_response = await run_endpoint_function(\\n File \\"/usr/local/lib/python3.9/site-packages/fastapi/routing.py\\", line 149, in run_endpoint_function\\n return await dependant.call(**values)\\n File \\"/app/./strider/server.py\\", line 274, in sync_query\\n query_results = await process_query(qid, log_level, redis_client)\\n File \\"/app/./strider/server.py\\", line 188, in process_query\\n await strider.generate_plan()\\n File \\"/app/./strider/fetcher.py\\", line 163, in generate_plan\\n response = await client.get(url)\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1722, in get\\n return await self.request(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1481, in request\\n response = await self.send(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1568, in send\\n response = await self._send_handling_auth(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1604, in _send_handling_auth\\n response = await self._send_handling_redirects(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1640, in _send_handling_redirects\\n response = await self._send_single_request(request, timeout)\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1681, in _send_single_request\\n ) = await transport.handle_async_request(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py\\", line 278, in handle_async_request\\n (\\n File \\"/usr/local/lib/python3.9/contextlib.py\\", line 135, in __exit__\\n self.gen.throw(type, value, traceback)\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py\\", line 78, in map_httpcore_exceptions\\n raise mapped_exc(message) from exc\\nhttpx.ReadTimeout\\n"},{"timestamp":"2021-07-15T16:27:41.434240","level":"ERROR","code":null,"message":"Strider error: HTML error status code 500 returned."}],"status":null}"
},
{
"level": "INFO",
"message": "ARS info: tr_ars.Date: Thu, 15 Jul 2021 16:27:41 GMT"
},
{
"level": "INFO",
"message": "ARS info: tr_ars.Content-Type: application/json"
},
{
"level": "INFO",
"message": "ARS info: tr_ars.Content-Length: 3480"
},
{
"level": "INFO",
"message": "ARS info: tr_ars.Connection: keep-alive"
},
{
"level": "INFO",
"message": "ARS info: tr_ars.reason: Internal Server Error"
},
{
"level": "INFO",
"message": "ARS info: tr_ars.url: https://aragorn.renci.org/1.1/query"
}
],
"max_results": 100,
"message": {
"query_graph": {
"edges": {
"e0": {
"object": "n1",
"subject": "n0"
}
},
"nodes": {
"n0": {
"categories": [
"biolink:Gene"
],
"ids": [
"HGNC:6284"
]
},
"n1": {
"categories": [
"biolink:ChemicalSubstance"
]
}
}
}
},
"validation_result": {
"message": "Returned response is not TRAPI: {"message":{"query_graph":null,"knowledge_graph":null,"results":null},"logs":[{"timestamp":"2021-07-15T16:27:41.425232","level":"ERROR","code":null,"message":"Exception in Strider: ReadTimeout('')","stack":"Traceback (most recent call last):\\n File \\"/app/./strider/server.py\\", line 94, in catch_exceptions_middleware\\n return await call_next(request)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py\\", line 45, in call_next\\n task.result()\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py\\", line 38, in coro\\n await self.app(scope, receive, send)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py\\", line 78, in __call__\\n await self.app(scope, receive, send)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/exceptions.py\\", line 82, in __call__\\n raise exc from None\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/exceptions.py\\", line 71, in __call__\\n await self.app(scope, receive, sender)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/routing.py\\", line 580, in __call__\\n await route.handle(scope, receive, send)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/routing.py\\", line 241, in handle\\n await self.app(scope, receive, send)\\n File \\"/usr/local/lib/python3.9/site-packages/starlette/routing.py\\", line 52, in app\\n response = await func(request)\\n File \\"/usr/local/lib/python3.9/site-packages/fastapi/routing.py\\", line 214, in app\\n raw_response = await run_endpoint_function(\\n File \\"/usr/local/lib/python3.9/site-packages/fastapi/routing.py\\", line 149, in run_endpoint_function\\n return await dependant.call(**values)\\n File \\"/app/./strider/server.py\\", line 274, in sync_query\\n query_results = await process_query(qid, log_level, redis_client)\\n File \\"/app/./strider/server.py\\", line 188, in process_query\\n await strider.generate_plan()\\n File \\"/app/./strider/fetcher.py\\", line 163, in generate_plan\\n response = await client.get(url)\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1722, in get\\n return await self.request(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1481, in request\\n response = await self.send(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1568, in send\\n response = await self._send_handling_auth(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1604, in _send_handling_auth\\n response = await self._send_handling_redirects(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1640, in _send_handling_redirects\\n response = await self._send_single_request(request, timeout)\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_client.py\\", line 1681, in _send_single_request\\n ) = await transport.handle_async_request(\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py\\", line 278, in handle_async_request\\n (\\n File \\"/usr/local/lib/python3.9/contextlib.py\\", line 135, in __exit__\\n self.gen.throw(type, value, traceback)\\n File \\"/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py\\", line 78, in map_httpcore_exceptions\\n raise mapped_exc(message) from exc\\nhttpx.ReadTimeout\\n"},{"timestamp":"2021-07-15T16:27:41.434240","level":"ERROR","code":null,"message":"Strider error: HTML error status code 500 returned."}],"status":null}",
"size": "5 kB",
"status": "NA",
"version": "1.1.1"
}
}
Works now (not tested via ARS, but both strider and aragorn are producing results)
New PK: 27f98b22-5114-4ffa-9d59-994ac7eb60fa
Odd, I ran it through the ARS (d885fc6e-5d38-4777-a441-55752a46b702) and got results.
https://arax.ncats.io/?source=ARS&id=4b95314d-a91d-45f2-8dd3-4a9dd2af6ab6
KCNMA1