Skip to content

Session Handler- Tried to get a non-existing Session #21

@richard-mackie

Description

@richard-mackie

Hi. First of all thanks for creating this tool and instructions! I have been able to use the web demo successfully. I am having an issue when I try to run this locally on a Windows machine hosting a VM of Ubuntu.

The issue occurs when I am running the local server and I try to do any inference. (Shift + Click), nothing happens. The console prints out 'We are getting a request that doesn't have an active session'.

Looking at the debugger I can see that I am creating a session id upon creating one in the browser, but it appears that when I am trying to do any inference the Session Handler is looking up a new session id. In this case the originally created session is '3623977b77e3406fb0229c9191889c22' and it is trying to lookup 'b4de581e792b47d7a10a86944cb7873e' in the Session Handler_Session_Map. If I try to do any other inference it creates yet another session that is also not in the Session Handler_Session_Map.

There is a conflicting dataset key in datasets.mine.json, skipping.
There is a conflicting dataset key in datasets.mine.json, skipping.
There is a conflicting dataset key in models.mine.json, skipping.
[2021-02-24 08:05:43,533] - Server initialized
[2021-02-24 08:05:43,533] - Starting session monitor thread
[2021-02-24 08:05:54,032] - We are getting a request that doesn't have an active session
[2021-02-24 08:05:59,034] - We are getting a request that doesn't have an active session
[2021-02-24 08:06:00,926] - There is a conflicting dataset key in models.mine.json, skipping.
[2021-02-24 08:06:01,047] - Haven't connected, attempt 1
[2021-02-24 08:06:01,049] - Made a connection
[2021-02-24 08:06:01,049] - Instantiating a new session object with id: 3623977b77e3406fb0229c9191889c22
[2021-02-24 08:06:01,049] - Created a local worker for (3623977b77e3406fb0229c9191889c22) on CPU
[2021-02-24 08:06:01,324] - Touching session (3623977b77e3406fb0229c9191889c22)
[2021-02-24 08:06:03,555] - SESSION MONITOR - Checking session (3623977b77e3406fb0229c9191889c22) for activity, inactive for 2 seconds
[2021-02-24 08:06:08,558] - SESSION MONITOR - Checking session (3623977b77e3406fb0229c9191889c22) for activity, inactive for 7 seconds
[2021-02-24 08:06:11,502] - We are getting a request that doesn't have an active session
[2021-02-24 08:06:11,504] - We are getting a request that doesn't have an active session
[2021-02-24 08:06:11,514] - We are getting a request that doesn't have an active session
[2021-02-24 08:06:11,517] - We are getting a request that doesn't have an active session
[2021-02-24 08:06:13,561] - SESSION MONITOR - Checking session (3623977b77e3406fb0229c9191889c22) for activity, inactive for 12 seconds
[2021-02-24 08:06:18,568] - SESSION MONITOR - Checking session (3623977b77e3406fb0229c9191889c22) for activity, inactive for 17 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions