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

Empty page when running Docker container #8630

Closed
hongbo-miao opened this issue Aug 25, 2024 · 3 comments
Closed

Empty page when running Docker container #8630

hongbo-miao opened this issue Aug 25, 2024 · 3 comments
Assignees
Labels
question The issue is a question. Please use Stack Overflow for questions.

Comments

@hongbo-miao
Copy link

hongbo-miao commented Aug 25, 2024

Describe the bug

I am trying to follow the readme to run local instance.
However, I got an empty page when running a local instance. 🥲
I am using latest v0.35.76 as of today.

To Reproduce

docker run -p 4000:4000 \
  -p 15432:15432 \
  -v ${PWD}:/cube/conf \
  -e CUBEJS_DEV_MODE=true \
  cubejs/cube:v0.35.76

Unable to find image 'cubejs/cube:v0.35.76' locally
v0.35.76: Pulling from cubejs/cube
Digest: sha256:5a555ceb67cb375dc8eba72bc55697812a2d68007484aea200e420a1bafc7085
Status: Downloaded newer image for cubejs/cube:v0.35.76
Warning. There is no cube.js file. Continue with environment variables
🔥 Cube Store (0.35.76) is assigned to 3030 port.
Warning. Option apiSecret is required in dev mode. Cube has generated it as 828f6433e528784aa01d68d3b8b5f6a3
🔓 Authentication checks are disabled in developer mode. Please use NODE_ENV=production to enable it.
🦅 Dev environment available at http://localhost:4000
🔗 Cube SQL (pg) is listening on 0.0.0.0:15432
🚀 Cube API server (0.35.76) is listening on 4000
2024-08-25T03:16:19.675Z INFO  [cubestored] <pid:21> Cube Store version 0.35.73
2024-08-25T03:16:19.679Z INFO  [cubestore::http::status] <pid:21> Serving status probes at 0.0.0.0:3031
2024-08-25T03:16:19.681Z INFO  [cubestore::metastore::rocks_fs] <pid:21> Using existing metastore in /cube/conf/.cubestore/data/metastore
2024-08-25T03:16:19.707Z INFO  [cubestore::mysql] <pid:21> MySQL port open on 0.0.0.0:13306
2024-08-25T03:16:19.707Z INFO  [cubestore::http] <pid:21> Http Server is listening on 0.0.0.0:3030

Here is its log:

Warning. There is no cube.js file. Continue with environment variables
🔥 Cube Store (0.35.76) is assigned to 3030 port.
Warning. Option apiSecret is required in dev mode. Cube has generated it as 828f6433e528784aa01d68d3b8b5f6a3
🔓 Authentication checks are disabled in developer mode. Please use NODE_ENV=production to enable it.
🦅 Dev environment available at http://localhost:4000
🔗 Cube SQL (pg) is listening on 0.0.0.0:15432
🚀 Cube API server (0.35.76) is listening on 4000
2024-08-25T03:16:19.675Z INFO  [cubestored] <pid:21> Cube Store version 0.35.73
2024-08-25T03:16:19.679Z INFO  [cubestore::http::status] <pid:21> Serving status probes at 0.0.0.0:3031
2024-08-25T03:16:19.681Z INFO  [cubestore::metastore::rocks_fs] <pid:21> Using existing metastore in /cube/conf/.cubestore/data/metastore
2024-08-25T03:16:19.707Z INFO  [cubestore::mysql] <pid:21> MySQL port open on 0.0.0.0:13306
2024-08-25T03:16:19.707Z INFO  [cubestore::http] <pid:21> Http Server is listening on 0.0.0.0:3030
2024-08-25T03:16:34.714Z INFO  [cubestore::metastore::rocks_fs] <pid:21> Using existing cachestore in /cube/conf/.cubestore/data/cachestore

Expected behavior

I expect I can open http://localhost:4000/

Screenshots

image

Version:

0.35.76

@igorlukanin igorlukanin added the question The issue is a question. Please use Stack Overflow for questions. label Aug 30, 2024
@igorlukanin igorlukanin self-assigned this Aug 30, 2024
@igorlukanin
Copy link
Member

Hi @hongbo-miao 👋

Were you able to resolve this?

I've tried to reproduce using exactly the command that you've provided but wasn't able to: everything works as expected, Cube starts and it's available at http://localhost:4000.

I guess you might have an issue with Docker networking. Which platform are you on?

@igorlukanin
Copy link
Member

Closing due to inactivity.

@hongbo-miao
Copy link
Author

hongbo-miao commented Nov 1, 2024

Hi @igorlukanin sorry, I missed previous message. Will try again when got time. If I succeed or still failed, will let you know! But based on your info, most likely my end issue. Thanks! ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue is a question. Please use Stack Overflow for questions.
Projects
None yet
Development

No branches or pull requests

2 participants