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

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

Open
belonesox opened this issue Feb 11, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@belonesox
Copy link

belonesox commented Feb 11, 2025

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 nokey@localhost.run

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

@belonesox belonesox added the bug Something isn't working label Feb 11, 2025
@belonesox belonesox changed the title 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 — this connections absent. 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. Feb 11, 2025
@prajwal-pai77
Copy link
Collaborator

Hey @belonesox Thanks for reporting this, We will work on this in the upcoming release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants