RedisInsight / Redis-for-VS-Code

Redis GUI extension for Visual Studio Code by Redis
Other
20 stars 1 forks source link

[BUG] Something was wrong! at fresh installation #213

Open JoseGonzalez84 opened 1 week ago

JoseGonzalez84 commented 1 week ago

Preconditions

VSCode

Redis for VS Code

Redis Insight

Steps to reproduce 1) Install Redis for VSCode from marketplace. 2) Reload the window. 3) Open extension. 3) Error message will appear without any interaction

Actual behavior (A short description of what you found)

Screenshots (Paste or drag-and-drop a screenshot or a link to a recording)

I've attached a video with the explanation of failure.

https://github.com/user-attachments/assets/9cc2ddf8-4715-409d-bae8-4b2d63b0eb0f

Extension output

    2024-10-18T09:15:53.283Z - Extension activated
    2024-10-18T09:15:53.799Z - Current version: 1.0.0
    2024-10-18T09:15:53.837Z - Starting at port: 5542
    2024-10-18T09:16:01.844Z - BE started
tsy-pavel commented 1 day ago

This extension doesn't work. Previously worked with redis through another extension, everything works there. Decided to try yours and it shows that my database in redis is empty, but it's not.

ViktarStarastsenka commented 1 day ago

@tsy-pavel , can you share the results of the INFO keyspace command? There is a chance that you do not have any keys in db0, which is a default database index that Redis for VS Code connects to. Currently, it displays only one database index on UI (it will be enhanced with the subsequent releases). A database index can be specified on the form to add/edit a db connection under the "Select Logical Database" setting.

image
tsy-pavel commented 1 day ago

Yes, if I add each index separately, it works. Thank you. But, of course, it would be much more convenient if it would show everything at once. Looking forward to the next releases)