pepkit / caravel

A web GUI for pipeline job submission and management
http://caravel.databio.org
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

ERROR: Other instance of caravel is running elsewhere. #44

Closed nsheff closed 5 years ago

nsheff commented 5 years ago

Related to #40, but different. When clicking 'start over', in some situations, I get this error:

Caravel server encountered exception(s):

    Other instance of caravel is running elsewhere. Log in using the URL printed to the terminal when it was started.

Steps to reproduce:

  1. start caravel with example file.
  2. choose the second project and click "Go"
  3. Try to "ACTIVATE" a subproject (which fails, see #43)
  4. click on the "caravel" logo, or on the "start over" logo

It returns this error.

It seems that the session is getting killed. Solving #43 will fix this exact issue, but there's another underlying issue having to do with the session not being kept.

nsheff commented 5 years ago

We need to make sure session information is kept more rigorously.

nsheff commented 5 years ago

In addition to that, the start_over link could just include the token.

nsheff commented 5 years ago

I"m still seeing this behavior in dev

stolarczyk commented 5 years ago

We need to make sure session information is kept more rigorously.

Just realized that we've been explicitly not preserving session data on errors. This should fix this. Closing

nsheff commented 5 years ago

confirmed.