NCATSTranslator / minihackathons

MIT License
5 stars 5 forks source link

BTE 504 error on Workflow D.1 query #87

Open vgardner-renci opened 3 years ago

vgardner-renci commented 3 years ago

https://arax.ncats.io/?source=ARS&id=580dfdb6-9e6c-4ac0-a937-ef184363f04f

image

vgardner-renci commented 3 years ago

{
  "callback": "http://localhost:8000/ars/api/messages/f56b0541-d617-4404-ba78-f9a7f4242544",
  "message": {
    "query_graph": {
      "edges": {
        "e00": {
          "object": "n01",
          "subject": "n00"
        },
        "e01": {
          "object": "n02",
          "subject": "n01"
        }
      },
      "nodes": {
        "n00": {
          "categories": [
            "biolink:Disease"
          ],
          "ids": [
            "DOID:14330"
          ]
        },
        "n01": {
          "categories": [
            "biolink:NamedThing"
          ]
        },
        "n02": {
          "categories": [
            "biolink:Disease"
          ],
          "ids": [
            "DOID:8778"
          ]
        }
      }
    }
  },
  "validation_result": {
    "message": "",
    "size": "1 kB",
    "status": "PASS",
    "version": "1.1.1"
  }
}```
tursynay commented 3 years ago

There is an active ticket in BTE that this being worked on

andrewsu commented 3 years ago

Standard two-hop explain query. BTE planned fix tracked in https://github.com/biothings/BioThings_Explorer_TRAPI/issues/112

tursynay commented 3 years ago

working on it currently

vgardner-renci commented 3 years ago

@andrewsu Request for update

vgardner-renci commented 3 years ago

https://arax.ncats.io/index.html?source=ARS&id=1e987ea2-5220-46d2-b2e7-e26f6bf00cdc


{
  "callback": "http://0.0.0.0:8000/ars/api/messages/132784d2-8a97-4f66-8bad-f5b799931869",
  "logs": [
    {
      "level": "INFO",
      "message": "ARS info: <html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor="white">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Server: nginx"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Date: Wed, 25 Aug 2021 14:21:03 GMT"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Content-Type: text/html"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Content-Length: 176"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Connection: keep-alive"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.reason: Gateway Time-out"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.url: https://api.bte.ncats.io/v1/query"
    }
  ],
  "message": {
    "query_graph": {
      "edges": {
        "e00": {
          "object": "n01",
          "subject": "n00"
        },
        "e01": {
          "object": "n02",
          "subject": "n01"
        }
      },
      "nodes": {
        "n00": {
          "categories": [
            "biolink:Disease"
          ],
          "ids": [
            "DOID:14330"
          ]
        },
        "n01": {
          "categories": [
            "biolink:NamedThing"
          ]
        },
        "n02": {
          "categories": [
            "biolink:Disease"
          ],
          "ids": [
            "DOID:8778"
          ]
        }
      }
    }
  },
  "validation_result": {
    "message": "Returned response is not TRAPI: <html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n",
    "size": "2 kB",
    "status": "NA",
    "version": "1.1.1"
  },
  "araxui_provider": "ARS",
  "araxui_response": "132784d2-8a97-4f66-8bad-f5b799931869"
}