ReferenceError: sid is not defined

Elasticsearch/ROR version = 7.2.0

Upon logging into Kibana Enterprise (with credentials ‘admin:dev’), I’m returning 500: Internal server error.

Logs in Kibana show (pretty printed and masked for clarity):

{
“type”:“log”,
@timestamp”:“2019-08-05T15:19:28Z”,
“tags”:[
“error”,
“readonlyrest_kbn:onPreResponse”
],
“pid”:3413,
“message”:“got an error [401] Unauthorized for path /”
}
{
“type”:“error”,
@timestamp”:“2019-08-05T15:19:28Z”,
“tags”:[

],
“pid”:3413,
“level”:“error”,
“error”:{
“message”:“sid is not defined”,
“name”:“ReferenceError”,
“stack”:“ReferenceError: sid is not defined\n at Object.sid [as clearSession] (/usr/share/kibana/plugins/readonlyrest_kbn/server/routes/lib/identityManager.js:1:6024)\n at clearSession (/usr/share/kibana/plugins/readonlyrest_kbn/server/routes/lib/auth.js:1:6922)\n at module.exports.internals.Manager.execute (/usr/share/kibana/node_modules/hapi/lib/toolkit.js:35:106)\n at Request._invoke (/usr/share/kibana/node_modules/hapi/lib/request.js:293:55)\n at process._tickCallback (internal/process/next_tick.js:68:7)”
},
“url”:{
“protocol”:null,
“slashes”:null,
“auth”:null,
“host”:null,
“port”:null,
“hostname”:null,
“hash”:null,
“search”:null,
“query”:{

  },
  "pathname":"/",
  "path":"/",
  "href":"/"

},
“message”:“sid is not defined”
}
{
“type”:“response”,
@timestamp”:“2019-08-05T15:19:28Z”,
“tags”:[

],
“pid”:3413,
“method”:“get”,
“statusCode”:500,
“req”:{
“url”:"/",
“method”:“get”,
“headers”:{
“x-forwarded-for”:“xxx.xxx.xxx.xxx”,
“x-forwarded-proto”:“https”,
“x-forwarded-port”:“443”,
“host”:“myhost.example.com”,
“x-amzn-trace-id”:“Root=1-5d484900-b37a52fb695645bb6859e2ca”,
“user-agent”:“Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0”,
“accept”:“text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8”,
“accept-language”:“en-US,en;q=0.5”,
“accept-encoding”:“gzip, deflate, br”,
“upgrade-insecure-requests”:“1”
},
“remoteAddress”:“xxx.xxx.xxx.xxx”,
“userAgent”:“xxx.xxx.xxx.xxx”
},
“res”:{
“statusCode”:500,
“responseTime”:56,
“contentLength”:9
},
“message”:“GET / 500 56ms - 9.0B”
}

For reference, my readonlyrest.yml rules (I excluded the SSL part):

access_control_rules:
    - name: "::KIBANA-SRV::"
      auth_key: kibana:kibana
      verbosity: error
    - name: "::ADMIN::"
      auth_key: admin:dev
      kibana_access: admin
    - name: "::ALLOW HEALTHCHECK::"
      actions:
      - "cluster:monitor/health"

Hi @craigsands, yes we are preparing a new version, will send you a pre build tomorrow.