logux/server

HTTP proxy server rejects request with { "version": 3, ... }

Closed this issue · 1 comments

Server info:

 INFO   Logux server is listening at 2020-04-16 15:34:20
        PID:            27948
        Logux server:   0.8.2
        Environment:    development
        Node ID:        server:-0z5HMNO
        Subprotocol:    1.0.0
        Supports:       1.x
        Control listen: http://127.0.0.1:31337/
        Control mask:   127.0.0.1/8
        Backend send:   http://localhost:8000/logux/
        Listen:         ws://127.0.0.1:31337/

Request:

{
  "version": 3,
  "secret": "secret",
  "commands": [
    [
      "action",
      {
        "type": "logux/subscribe",
        "channel": "user/38"
      },
      {
        "id": "1560954012858 38:Y7bysd:O0ETfc 0",
        "time": 1560954012858
      }
    ]
  ]
}

Answer: 400: Unknown version

ai commented

Fixed c367382 and released at 0.8.4