Page MenuHomePhabricator

Zlib spec.yaml example produces a bad request response
Closed, ResolvedPublic

Description

When running the zlib end point check, it fails with a 400:

[2019-02-04T22:55:05.172Z] TRACE: mathoid/24026 on istria: incoming request (request_id=e9763410-28cf-11e9-8425-08109f578327, levelPath=trace/req)
    request: {
      "url": "/zlib/texvcinfo/tex/eJxztc1NjjMCAAagAeM=",
      "headers": {
        "user-agent": "curl/7.62.0",
        "x-request-id": "e9763410-28cf-11e9-8425-08109f578327"
      },
      "method": "GET",
      "params": {
        "0": "/zlib/texvcinfo/tex/eJxztc1NjjMCAAagAeM="
      },
      "query": {},
      "remoteAddress": "127.0.0.1",
      "remotePort": 57422
    }
[2019-02-04T22:55:05.186Z]  INFO: mathoid/24026 on istria: 400: bad_request (message="400: bad_request", status=400, type=bad_request, request_id=e9763410-28cf-11e9-8425-08109f578327, levelPath=info/400)
    detail: {
      "error": {},
      "success": false,
      "warnings": [],
      "status": "-",
      "details": "TypeError: e.render_tex is not a function"
    }
    --
    request: {
      "url": "/zlib/texvcinfo/tex/eJxztc1NjjMCAAagAeM=",
      "headers": {
        "user-agent": "curl/7.62.0",
        "x-request-id": "e9763410-28cf-11e9-8425-08109f578327"
      },
      "method": "GET",
      "params": {
        "0": "/zlib/texvcinfo/tex/eJxztc1NjjMCAAagAeM="
      },
      "query": {},
      "remoteAddress": "127.0.0.1",
      "remotePort": 57422
    }

Event Timeline

mobrovac created this task.

What was the input? I can not decode eJxztc1NjjMCAAagAeM= using https://www.base64decode.org/ No printable characters found, try another source charset, or upload your data as a file for binary decoding.

Physikerwelt claimed this task.

@mobrovac I don't know what to do. Closing for now. Maybe the error is not longer present.