Explorer not showing anything

Moved from GitHub ratel/96

Posted by felixfbecker:

If you suspect this could be a bug, follow the template.

  • What version of Dgraph are you using?
Dgraph version   : v1.0.16
Commit SHA-1     : 0590ee95
Commit timestamp : 2019-07-11 11:52:54 -0700
Branch           : HEAD
Go version       : go1.12.5

I tried in all 3 releases of Ratel (dev, latest, offline)

  • Have you tried reproducing the issue with latest release?
    should be latest

  • What is the hardware spec (RAM, OS)?
    macOS

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

I have a lot of data and predicates, but the explorer doesn’t show anything:

in the console there’s an error:

Unable to fetch schema Could not connect to the server: this.addr.endsWith is not a function
(anonymous) @ index.js:96
u @ runtime.js:45
(anonymous) @ runtime.js:264
e.<computed> @ runtime.js:98
no @ SamplesTable.js:205
c @ SamplesTable.js:205
  • Expected behaviour and actual result.

Would expect to see something

ohenley commented :

Same here.

campoy commented :

It seems there’s a javascript error

Unable to fetch schema Could not connect to the server: this.addr.endsWith is not a function

Please @paulftw, have a look at this issue too.

paulftw commented :

Fixed in fc9f833aaacca7ab4b9f67558110dc12dc5ef65d
I’ve overlooked an open PR again :frowning: