question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Print an explicit error message when the URI is too long (414)

See original GitHub issue

I’m using wiki.js with the kroki add-in enabled. I can get a ton of diagrams working, but this one will not render. It was created using the excalidraw website itself (https://excalidraw.com). But when I try to render it using the kroki excalidraw docker image… it fails. All of my other excalidraw diagrams work using the same docker… just this one doesn’t.

Don’t know where to find logs to help unfortunately, I just know I get nothing back from the docker for this one diagram. Anyone have an idea?

It should look like this: image

{
  "type": "excalidraw",
  "version": 2,
  "source": "https://excalidraw.com",
  "elements": [
    {
      "type": "rectangle",
      "version": 225,
      "versionNonce": 1853436299,
      "isDeleted": false,
      "id": "CdryXxdlyp0bEv-RruvYs",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 486.5,
      "y": 124,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 531,
      "height": 467.49999999999994,
      "seed": 170682219,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": null
    },
    {
      "type": "text",
      "version": 218,
      "versionNonce": 907329701,
      "isDeleted": false,
      "id": "Q0zUrV9fr3qBkrHRxiCnu",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 491,
      "y": 121.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 131,
      "height": 46,
      "seed": 1691559595,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": null,
      "fontSize": 36,
      "fontFamily": 1,
      "text": "Square1",
      "baseline": 32,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "rectangle",
      "version": 324,
      "versionNonce": 1930479659,
      "isDeleted": false,
      "id": "vBDlA7J7amrCBS8Ae6xYV",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 500,
      "y": 181.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 507.49999999999994,
      "height": 401.00000000000006,
      "seed": 1497755781,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": null
    },
    {
      "type": "text",
      "version": 384,
      "versionNonce": 425681925,
      "isDeleted": false,
      "id": "IRMRZ6Hth5GF9qygN4yWA",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 505.5,
      "y": 187,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 114,
      "height": 36,
      "seed": 1283427269,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 28,
      "fontFamily": 1,
      "text": "Square2",
      "baseline": 25,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "rectangle",
      "version": 305,
      "versionNonce": 968657611,
      "isDeleted": false,
      "id": "bfMhaQ_Of2zrxK2PNv1o5",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 511.5,
      "y": 224.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 123.49999999999994,
      "height": 339.5,
      "seed": 1068374123,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": null
    },
    {
      "type": "text",
      "version": 438,
      "versionNonce": 910072677,
      "isDeleted": false,
      "id": "6grrNBMzw_UADWDt8LpZ7",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 522,
      "y": 231,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 81,
      "height": 25,
      "seed": 427232747,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 20,
      "fontFamily": 1,
      "text": "Square3",
      "baseline": 18,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "ellipse",
      "version": 413,
      "versionNonce": 1192687979,
      "isDeleted": false,
      "id": "HklzwikqLtC7z3AS5Zz__",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 518.5,
      "y": 265.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 450216165,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": null
    },
    {
      "type": "text",
      "version": 773,
      "versionNonce": 117667819,
      "isDeleted": false,
      "id": "hUu6vHfObplRcYX3YWdLb",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 556.5,
      "y": 269,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1566720965,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "ellipse",
      "version": 443,
      "versionNonce": 678073355,
      "isDeleted": false,
      "id": "TA9Us-16g_mjFXXwigZzW",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 517.5,
      "y": 304,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 290987941,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 447,
      "versionNonce": 1571936939,
      "isDeleted": false,
      "id": "lKTWkIrXR9tkK_vdu7BiR",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 516,
      "y": 345,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 1182889611,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 452,
      "versionNonce": 60247371,
      "isDeleted": false,
      "id": "4lqS7PWwNbWQp1qdVs9ro",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 518.5,
      "y": 513.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 162675461,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 440,
      "versionNonce": 1031105515,
      "isDeleted": false,
      "id": "FUbzMA5RFaT5TxuXT3vvh",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 519,
      "y": 470.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 710550411,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 488,
      "versionNonce": 1599518347,
      "isDeleted": false,
      "id": "c36J3FSFrykZbd51qUQic",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 517.5,
      "y": 383.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 1042092997,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [
        "H5ewrqmoUWcE_8wTZ1gxg"
      ]
    },
    {
      "id": "YtdBHXvgVpoR4MM6OJIE_",
      "type": "line",
      "x": 570.5,
      "y": 420.25,
      "width": 1,
      "height": 44.5,
      "angle": 0,
      "strokeColor": "#000000",
      "backgroundColor": "#868e96",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "dotted",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "strokeSharpness": "round",
      "seed": 118152165,
      "version": 94,
      "versionNonce": 1836266091,
      "isDeleted": false,
      "boundElementIds": null,
      "points": [
        [
          0,
          0
        ],
        [
          -1,
          44.5
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": null
    },
    {
      "type": "text",
      "version": 806,
      "versionNonce": 1034540453,
      "isDeleted": false,
      "id": "KkWxyGtKoxUsNZb_PGVfx",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 555.5,
      "y": 308.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1996525637,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 792,
      "versionNonce": 1851496811,
      "isDeleted": false,
      "id": "NhPWjh2sT-gWEJPPNFVDO",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 552.5,
      "y": 347.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 717456171,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 793,
      "versionNonce": 1932898891,
      "isDeleted": false,
      "id": "vCV09famFqr0gLW6cC0E2",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 556,
      "y": 387.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1775584965,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 819,
      "versionNonce": 83427659,
      "isDeleted": false,
      "id": "-L6KvSE-NM_D8MEdeIiz5",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 555,
      "y": 477.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1240312805,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 788,
      "versionNonce": 2037635045,
      "isDeleted": false,
      "id": "R9dQGmnUzrR26p9t7ZprF",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 558,
      "y": 515.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 604687589,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "rectangle",
      "version": 342,
      "versionNonce": 513103557,
      "isDeleted": false,
      "id": "gQ8ZVLgyxq1VNAi2HYVpy",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 656.25,
      "y": 224.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 123.49999999999994,
      "height": 339.5,
      "seed": 114269099,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "text",
      "version": 475,
      "versionNonce": 1092887563,
      "isDeleted": false,
      "id": "1LetJZFAPYNzs9Ow9Um1J",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 666.75,
      "y": 231,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 81,
      "height": 25,
      "seed": 1145669765,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 20,
      "fontFamily": 1,
      "text": "Square3",
      "baseline": 18,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "ellipse",
      "version": 450,
      "versionNonce": 1839740453,
      "isDeleted": false,
      "id": "XUmq58dh6dZHv-GRvATfL",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 663.25,
      "y": 265.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 626323019,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "text",
      "version": 810,
      "versionNonce": 1220111019,
      "isDeleted": false,
      "id": "fwj_uvKsYkdAHxDiTAPfS",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 701.25,
      "y": 269,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 963653605,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "ellipse",
      "version": 480,
      "versionNonce": 1239951749,
      "isDeleted": false,
      "id": "DmSSIsg-2BsffJ9gVGs_A",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 662.25,
      "y": 304,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 2027351275,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 484,
      "versionNonce": 1194122571,
      "isDeleted": false,
      "id": "JCS_FWxNRPD-aNAWZcN8X",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 660.75,
      "y": 345,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 1443556165,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 489,
      "versionNonce": 882028773,
      "isDeleted": false,
      "id": "int3lHRQaQsriVAO76phH",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 663.25,
      "y": 513.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 350230411,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 477,
      "versionNonce": 400096235,
      "isDeleted": false,
      "id": "S58WxnjZ2vmqdMFFKR-PA",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 663.75,
      "y": 470.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 980892325,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 526,
      "versionNonce": 724913221,
      "isDeleted": false,
      "id": "USmwntUhCl10GOzjLrrmr",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 662.25,
      "y": 383.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 933948971,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [
        "H5ewrqmoUWcE_8wTZ1gxg"
      ]
    },
    {
      "type": "line",
      "version": 131,
      "versionNonce": 1187530379,
      "isDeleted": false,
      "id": "edV9aoAxfro8kNOF11mRK",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "dotted",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 715.25,
      "y": 420.25,
      "strokeColor": "#000000",
      "backgroundColor": "#868e96",
      "width": 1,
      "height": 44.5,
      "seed": 526556677,
      "groupIds": [],
      "strokeSharpness": "round",
      "boundElementIds": [],
      "startBinding": null,
      "endBinding": null,
      "lastCommittedPoint": null,
      "startArrowhead": null,
      "endArrowhead": null,
      "points": [
        [
          0,
          0
        ],
        [
          -1,
          44.5
        ]
      ]
    },
    {
      "type": "text",
      "version": 843,
      "versionNonce": 497908645,
      "isDeleted": false,
      "id": "QMpmuICZHJ2MV2YKDqmz-",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 700.25,
      "y": 308.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1948381387,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 829,
      "versionNonce": 2058698027,
      "isDeleted": false,
      "id": "dL_IOm45edrZdPx34PVrd",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 697.25,
      "y": 347.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1271567717,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 830,
      "versionNonce": 606650117,
      "isDeleted": false,
      "id": "7pvHpkuSTUeB6MR0d_Wsp",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 700.75,
      "y": 387.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 467640171,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 856,
      "versionNonce": 520773579,
      "isDeleted": false,
      "id": "F7sDzPK1emIRaMArxMCr4",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 699.75,
      "y": 477.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1258070213,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 825,
      "versionNonce": 1965332069,
      "isDeleted": false,
      "id": "T_L-m7kGXVB9p-ppw_dWZ",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 702.75,
      "y": 515.25,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1764653579,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "rectangle",
      "version": 360,
      "versionNonce": 347781029,
      "isDeleted": false,
      "id": "dY3_LtOOlZBWJLTS2xx61",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 872.25,
      "y": 226,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 123.49999999999994,
      "height": 339.5,
      "seed": 1306668651,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "text",
      "version": 493,
      "versionNonce": 858374443,
      "isDeleted": false,
      "id": "7IZVOVUkyosvBesOqg5fp",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 882.75,
      "y": 232.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 81,
      "height": 25,
      "seed": 460227013,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 20,
      "fontFamily": 1,
      "text": "Square3",
      "baseline": 18,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "ellipse",
      "version": 468,
      "versionNonce": 1043233541,
      "isDeleted": false,
      "id": "699ywVx433DloSVxNLVUQ",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 879.25,
      "y": 267,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 2047289611,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "text",
      "version": 828,
      "versionNonce": 1582195659,
      "isDeleted": false,
      "id": "m33uc0TO_5UnLZUVfPxpH",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 917.25,
      "y": 270.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1814298917,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "ellipse",
      "version": 498,
      "versionNonce": 1058198117,
      "isDeleted": false,
      "id": "aCPEj5hA9EdKpEgZetQi-",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 878.25,
      "y": 305.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 1492373419,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 502,
      "versionNonce": 235254379,
      "isDeleted": false,
      "id": "F4LHJRqzZ1M5etFRQ82cG",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 876.75,
      "y": 346.5,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 1018336389,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 507,
      "versionNonce": 70598085,
      "isDeleted": false,
      "id": "SR7g4pqO3NYWqXt-0n9TC",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 879.25,
      "y": 515,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 215130699,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 495,
      "versionNonce": 1931095307,
      "isDeleted": false,
      "id": "qmGNgdyhuKG9PgxHH0m7D",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 879.75,
      "y": 472,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 1490533349,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": []
    },
    {
      "type": "ellipse",
      "version": 544,
      "versionNonce": 78855461,
      "isDeleted": false,
      "id": "yrXBkivWzHxHJ0cNvPAjN",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 878.25,
      "y": 385,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 109.00000000000004,
      "height": 31,
      "seed": 243146987,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [
        "H5ewrqmoUWcE_8wTZ1gxg"
      ]
    },
    {
      "type": "line",
      "version": 149,
      "versionNonce": 1090933675,
      "isDeleted": false,
      "id": "TMT1BlTvnK5RNd0jNWmRb",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "dotted",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 931.25,
      "y": 421.75,
      "strokeColor": "#000000",
      "backgroundColor": "#868e96",
      "width": 1,
      "height": 44.5,
      "seed": 950073157,
      "groupIds": [],
      "strokeSharpness": "round",
      "boundElementIds": [],
      "startBinding": null,
      "endBinding": null,
      "lastCommittedPoint": null,
      "startArrowhead": null,
      "endArrowhead": null,
      "points": [
        [
          0,
          0
        ],
        [
          -1,
          44.5
        ]
      ]
    },
    {
      "type": "text",
      "version": 861,
      "versionNonce": 2012893317,
      "isDeleted": false,
      "id": "GwNQ8fvqk2DkrK3ck_SFm",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 916.25,
      "y": 309.75,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1468058507,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 847,
      "versionNonce": 1475651147,
      "isDeleted": false,
      "id": "YaAxLMOz1i-C11Elu95Sh",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 913.25,
      "y": 348.75,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1986774693,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 848,
      "versionNonce": 1271396325,
      "isDeleted": false,
      "id": "fhf3mfLPCROyO6DAh74Zv",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 916.75,
      "y": 388.75,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1276453419,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 874,
      "versionNonce": 784311531,
      "isDeleted": false,
      "id": "BSpq9v9SdueryNZ4V0IXA",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 915.75,
      "y": 478.75,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 82160133,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "version": 843,
      "versionNonce": 1512682309,
      "isDeleted": false,
      "id": "wg38fTYvEL7nzUKuD38Ul",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 918.75,
      "y": 516.75,
      "strokeColor": "#000000",
      "backgroundColor": "transparent",
      "width": 32,
      "height": 20,
      "seed": 1696965835,
      "groupIds": [],
      "strokeSharpness": "sharp",
      "boundElementIds": [],
      "fontSize": 16,
      "fontFamily": 1,
      "text": "oval",
      "baseline": 14,
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "line",
      "version": 227,
      "versionNonce": 1080860517,
      "isDeleted": false,
      "id": "OXg9hG7bIEbpMIjBoGcE5",
      "fillStyle": "hachure",
      "strokeWidth": 1,
      "strokeStyle": "dotted",
      "roughness": 1,
      "opacity": 100,
      "angle": 1.5782815586334058,
      "x": 826.5,
      "y": 353,
      "strokeColor": "#000000",
      "backgroundColor": "#868e96",
      "width": 1,
      "height": 44.5,
      "seed": 616932907,
      "groupIds": [],
      "strokeSharpness": "round",
      "boundElementIds": [],
      "startBinding": null,
      "endBinding": null,
      "lastCommittedPoint": null,
      "startArrowhead": null,
      "endArrowhead": null,
      "points": [
        [
          0,
          0
        ],
        [
          -1,
          44.5
        ]
      ]
    }
  ],
  "appState": {
    "gridSize": null,
    "viewBackgroundColor": "#ffffff"
  }
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lindcommented, Aug 9, 2021

It’s probably because Excalidraw is a verbose textual format. You got an HTTP Error 414 (URI Too Long) from kroki.io (or your kroki instance) right?

You can change the max uri length using the KROKI_MAX_URI_LENGTH environment variable. See: Kroki Documentation - Max URI length

I tried your diagram on an local Kroki instance with KROKI_MAX_URI_LENGTH=64000 and the diagram renders like your example in the issue.

0reactions
Mogzttercommented, Aug 9, 2021

Glad you figured it out! 👏🏻

Unfortunately, I think we cannot log an explicit message because the max URI length check is somehow “low level”. I think the exception is thrown by Netty (the underlying network library used by Vert.x):

https://github.com/eclipse-vertx/vert.x/blob/53f15094f251717bbbcf47b0b16b64472b66ca49/src/main/java/io/vertx/core/http/HttpServerRequest.java#L64-L86

I will dig a bit further to see if we somehow can catch the 414 error in order to print a friendly error message (we could even suggest to increase the max URI length using the KROKI_MAX_URI_LENGTH environment variable in the error message).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the 414 Request-URI Too Large Error - Kinsta
The 414 Request-URL Too Large error is a critical configuration issue somewhere between your browser and a server. Here's how to fix it....
Read more >
414 URI Too Long - HTTP - MDN Web Docs
The HTTP 414 URI Too Long response status code indicates that the URI requested by the client is longer than the server is...
Read more >
HTTP 414: Request-URI too large · Issue #1575 · cli/cli - GitHub
This problem might be caused by the Apache limits the set a size of a client's HTTP request-line and the HTTP request header...
Read more >
How to Fix the 414 Request-URI Too Large Error - YouTube
Ever seen the " 414 Request- URI Too Large " error pop up? Tackle it with no fear thanks to this guide Subscribe: ......
Read more >
414 HTTP error (Request-URI Too Large) from ServiceNow API
They're getting 414 HTTP error when calling sys_user table (cf above) because they are sending too much info inside the query (700+ sys_id...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found