Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Cate Desktop reuses service started by another user #577

Closed
forman opened this issue Mar 21, 2018 · 2 comments
Closed

Cate Desktop reuses service started by another user #577

forman opened this issue Mar 21, 2018 · 2 comments
Assignees

Comments

@forman
Copy link
Member

forman commented Mar 21, 2018

Expected behavior

When Cate Desktop is launched, a new Cate WebAPI service instance should be created for every registered user in the OS.

Actual behavior

Cate Desktop will reuse any running Cate WebAPI service even of another user, because it connects to localhost:<port>. It even connects, although the Cate WebAPI service may be incompatible with the required version.

Steps to reproduce the problem

  1. Log in as user 1
  2. Start Cate Desktop 2.0.0.dev1
  3. Log in as user 2
  4. Start Cate Desktop 2.0.0.dev7

--> Cate Desktop 2.0.0.dev7 for user 2 will start and reuse Cate WebAPI 2.0.0.dev1 from user 1.

Specifications

Cate Desktop 1.0 to 2.0.0.dev7

@forman forman self-assigned this Mar 21, 2018
@forman forman changed the title Cate Desktop will reuse running service of another user Cate Desktop reuses service started by another user Mar 21, 2018
@forman
Copy link
Member Author

forman commented Mar 21, 2018

How to fix:

  • Cate WebAPI service to report Cate Core version
  • Cate Desktop to only reuse running service with compatible version
  • Find free port

@forman
Copy link
Member Author

forman commented Apr 17, 2018

Should be fixed in 2.0.0.dev9

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

No branches or pull requests

1 participant