oblakstudio / redisinsight

RedisInsight v2 - Better GUI for Redis (amd64/arm64)
https://hub.docker.com/r/oblakstudio/redisinsight
Other
65 stars 7 forks source link

Server not exposed on port 5000 #3

Closed daniel-johns-99 closed 12 months ago

daniel-johns-99 commented 1 year ago

This might be user error, but I have troubleshooted quiet a bit first.

I can't get the server to start on port 5000, I get a connection refused error as if there isn't any thing running. I can run redisinsight v1 fine so I know my docker/OS is working.

Below you can see both containers running and that I can sucessfully request RedisInsight v1

[ec2-user@ip-10-17-1-173 ~]$ docker ps
CONTAINER ID   IMAGE                             COMMAND                  CREATED          STATUS          PORTS                                         NAMES
7ecaceda24e8   oblakstudio/redisinsight:latest   "./docker-entry.sh n…"   21 minutes ago   Up 11 minutes   0.0.0.0:32768->5000/tcp, :::32768->5000/tcp   redisinsight_5000
4f4b25584558   redislabs/redisinsight:latest     "bash ./docker-entry…"   4 hours ago      Up 3 minutes    0.0.0.0:8001->8001/tcp, :::8001->8001/tcp     keen_allen
[ec2-user@ip-10-17-1-173 ~]$ curl localhost:5000
curl: (7) Failed to connect to localhost port 5000 after 0 ms: Couldn't connect to server
[ec2-user@ip-10-17-1-173 ~]$ curl localhost:8001
<!doctype html><html lang="en"><head><title>RedisInsight</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><link rel="icon" href="/static/images/favicon.ico" type="image/x-icon"><script>var RIPROXYPATH = "";
             window.__RIPROXYPATH__ = RIPROXYPATH;</script><script defer="defer" src="/static/app/bundle.e7efa0031208bf65925b.js"></script></head><body><div id="app"></div><script>// Stub for calls to gtag(). If GA is enabled, this function will
            // be replaced with the actual gtag() function.
            window.gtag = function () {}</script></body></html>[ec2-user@ip-10-17-1-173 ~]$ ^C

I've checked the container logs and from all I can see everything is working correctly and it shows the server is running on localhost:5000

[NestWinston] Info      9/27/2023, 10:16:15 AM [GuidesProvider] Checking for updates... - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [TutorialsProvider] Checking for updates... - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [ContentProvider] Checking for updates... - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [FeaturesConfigService] Trying to sync features config... - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [LocalFeaturesConfigRepository] Getting features config entity - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [ServerService] Checking server info. - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [FeaturesConfigService] Fetching remote config... - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [FeaturesConfigService] Fetching remote config... - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [ServerService] First application launch. - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [ServerService] Application started. - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [LocalFeaturesConfigRepository] Getting features config entity - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [NestApplication] Nest application successfully started - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [bootstrap] Server is running on http(s)://localhost:5000 - {"value":{"message":"Server is running on http(s)://localhost:5000","context":"bootstrap"},"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisearch] Successfully updated redisearch commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisjson] Successfully updated redisjson commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisai] Successfully updated redisai commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisearch] Successfully updated redisearch commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisgears] Successfully updated redisgears commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisbloom] Successfully updated redisbloom commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisgraph] Successfully updated redisgraph commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [FeaturesConfigService] Successfully updated stored remote config - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [FeaturesConfigService] Recalculating features flags - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisgears] Successfully updated redisgears commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redistimeseries] Successfully updated redistimeseries commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redistimeseries] Successfully updated redistimeseries commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:triggers_and_functions] Successfully updated triggers_and_functions commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisgears] Successfully updated redisgears commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisjson] Successfully updated redisjson commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisai] Successfully updated redisai commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisgraph] Successfully updated redisgraph commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisbloom] Successfully updated redisbloom commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisai] Successfully updated redisai commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:triggers_and_functions] Successfully updated triggers_and_functions commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisearch] Successfully updated redisearch commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:triggers_and_functions] Successfully updated triggers_and_functions commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisjson] Successfully updated redisjson commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisgraph] Successfully updated redisgraph commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:main] Successfully updated main commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:main] Successfully updated main commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [LocalFeaturesConfigRepository] Getting features config entity - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redisbloom] Successfully updated redisbloom commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:redistimeseries] Successfully updated redistimeseries commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [CommandsJsonProvider:main] Successfully updated main commands - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [LocalFeaturesConfigRepository] Getting features config entity - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [SettingsService] Getting application settings. - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [SettingsService] Succeed to get application settings. - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [FeaturesConfigService] Features flags recalculated. Updated: 3 deleted: 0 - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [FeaturesConfigService] Getting features list - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [LocalFeaturesConfigRepository] Getting features config entity - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [SettingsService] Getting application settings. - {"stack":[]}
[NestWinston] Info      9/27/2023, 10:16:15 AM [SettingsService] Succeed to get application settings. - {"stack":[]}
seebeen commented 1 year ago

Hello.

Can you give me a docker run command, or an example compose file so I can check?

seebeen commented 12 months ago

Version 2 should fix the errors you're having. If not please submit another issue and give us more details.