Skip to content

On code-server couchbase connections working only one tab/window on one browser, in other windows of same browser, activated connections are disabled, in different browser-session — these connections are absent. #437

@belonesox

Description

@belonesox

Describe the bug
We are working on code-server (VSCode/Code-OSS in browser). code-server started as user service, say code-server@project
When someone open this project in even two separate tabs/windows on same browser:

  • in first window she can activate connection, browse couchbase DB/buckets/scope, run N1QL, etc.
  • in other windows/tabs — these connections are disabled (gray, no reactions).

Image

  • if she open this project in another browser, configured connections are absent:

Image

Steps to reproduce

  • install and run code-server as user service like:
    sudo useradd project
    sudo systemctl enable code-server@oseduconf --now    

Somehow forward port, make it openable in your browser,
easiest and dirty way

sudo -u project ssh -R 80:127.0.0.1:8080 [email protected]

or just open http://localhost:8080/?folder=/home/project

  • open the project in browser, like http://localhost:8080/?folder=/home/project
  • install this extension
  • configure some connection to couchbase, browse a couchbase db
  • open another tab in same browser1
    • you should see, that the connection is present, but disabled
  • open same url in another browser2
    • you should see, that the connection is absent

What did you expect to see?

We expect it will work like other database explorer extensions for CodeOSS/VSCode/code-server
then configured connection available in parallel for all browsers/users, etc

Image

What did you see instead?

described above.

What version did you use?
VSCode Version: code-server-4.96.2-1.x86_64
Extension Version: 2.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions