Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: TypeError: o.license is null #314

Open
rgl opened this issue Jun 10, 2024 · 0 comments
Open

[BUG]: TypeError: o.license is null #314

rgl opened this issue Jun 10, 2024 · 0 comments
Labels
kind/bug Something is broken.

Comments

@rgl
Copy link

rgl commented Jun 10, 2024

What version of Ratel are you using?

v21.12.0

What you did.

Starting dgraph zero --enterprise_license=/dev/null crashes ratel.

Here's my docker compose file:

services:
  zero:
    image: dgraph/dgraph:v24.0.0
    volumes:
      - zero:/dgraph
    ports:
      - 5080:5080
      - 6080:6080
    restart: on-failure
    command:
      - dgraph
      - zero
      - --telemetry=sentry=false
      - --enterprise_license=/dev/null
      - --my=zero:5080
  alpha:
    image: dgraph/dgraph:v24.0.0
    volumes:
      - alpha:/dgraph
    ports:
      - 8080:8080
      - 9080:9080
    restart: on-failure
    command:
      - dgraph
      - alpha
      - --telemetry=sentry=false
      - --my=alpha:7080
      - --zero=zero:5080
  ratel:
    image: dgraph/ratel:v21.12.0
    ports:
      - 8000:8000
    restart: on-failure
volumes:
  zero:
  alpha:

What happened.

Opening ratel at http://localhost:8000 shows nothing and the browser console shows something like:

 TypeError: o.license is null
    oh ClusterPage.js:136
    oh ClusterPage.js:286
    React 8
    unstable_runWithPriority scheduler.production.min.js:289

What you expect to happen.

Ratel to worl.

Can we reproduce the issue?

use the above docker compose file as:

docker compose up --detach
xdg-open http://localhost:8000
docker compose down --volumes

Additional information

No response

@rgl rgl added the kind/bug Something is broken. label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something is broken.
Development

No branches or pull requests

1 participant