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

Multiple tab #2875

Open
Gildraen opened this issue Aug 28, 2024 · 4 comments
Open

Multiple tab #2875

Gildraen opened this issue Aug 28, 2024 · 4 comments

Comments

@Gildraen
Copy link

Hi,

I'm working on a small task, but I'm running into an issue, and I'm not sure if it's a limitation or if I'm missing something.

I have two different projects, each using Docker, and both include their own instances of Dockerized CloudBeaver. I start both projects and their respective CloudBeaver instances with different host ports (8973 and 8972). Although the projects are on the same network, the CloudBeaver instances are not on the same network.

The problem is that when I connect to one CloudBeaver instance in my browser, the other one disconnects, and vice versa.

Is there a way to run two Dockerized CloudBeaver instances simultaneously and access both from the same browser?

@Gildraen Gildraen added question Further information is requested wait for review labels Aug 28, 2024
@EvgeniaBzzz
Copy link
Contributor

Hi @Gildraen
Do you use the same workspace for both instances?
Could you, please, provide us with logs for the instance with disconnection?

@Gildraen
Copy link
Author

Gildraen commented Aug 28, 2024

Hi @EvgeniaBzzz
Workspace are totally separate, each project has is own config, and all cloudbeaver files
I'll try to gather some log..
Here, i log in one instance, without problem, go on another, then come back to one, and i have :

io.cloudbeaver.DBWebExceptionAccessDenied: Anonymous access restricted

If i try to logout, i have : not logged in

And i can have this one too :
io.cloudbeaver.DBWebException: Connection 'postgres-jdbc-18bdd8d5ff3-6222dcae1bec8374' not found at io.cloudbeaver.model.session.WebSession.getWebConnectionInfo(WebSession.java:579)
So i have to refresh the page, login again, and it works, but my second instance won't work anymore, witht the same errors

@EvgeniaBzzz
Copy link
Contributor

Looks like session cookies are overwritten when you run the second instance. We will think about a solution.

As a workaround, please, try to open different instances in diffrent browsers.
Or add domains to host file, like:
cloudbeaver1 - 127.0.0.1
cloudbeaver2 - 127.0.0.1
and open CB with domain name.

@EvgeniaBzzz EvgeniaBzzz added feature request Let's add something new and removed question Further information is requested wait for response labels Aug 29, 2024
@Gildraen
Copy link
Author

Gildraen commented Sep 5, 2024

Using multiple browser worked
I did not try with multiple domain naim, but i will tell you when i do !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants