Skip to content

Health endpoint doesn't show a version when built from master #5721

@MichelDiz

Description

@MichelDiz

Health endpoint doesn't show a version (at 8080/health) when built from master - This causes a block on Ratel UI. Also, any Dgraph version will get blocked by this. Not sure if this needs to be fixed on Dgraph itself or Ratel. Pinging @paulftw.

2 potential bugs (both true, not sure if both can be solved at Dgraph side)
1 - When using master, ratel thinks I'm using an old version.
2 - Got "Unsupported Content-Type".

What version of Dgraph are you using?

Master

Have you tried reproducing the issue with the latest release?

yes

What is the hardware spec (RAM, OS)?

Darwin 32GB

Steps to reproduce the issue (command/config used to run Dgraph).

  1. Build Dgraph from master or any PR.
  2. Start Dgraph's cluster built from master and run Ratel.
  3. Connect Ratel to http://localhost:8080

Captura de Tela 2020-06-24 às 11 55 45

Captura de Tela 2020-06-24 às 11 58 24

  1. Now open the console (F12)

You might see in some moment an error like:

Login Failed http://localhost:8080 Error: Pre v1.1 clients do not support Login methods

Also several errors like:

serverAclState error t: Unsupported Content-Type. Supported content types are application/json, application/graphql+-

This is a normal health endpoint

Captura de Tela 2020-06-24 às 11 45 27

And this is the one from master/PR builds.

Captura de Tela 2020-06-24 às 11 45 17

Expected behaviour and actual result.

That it should work with master builds.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions