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

Static Views on Windows cannot be accessed #87

Open
AdaTsche opened this issue Nov 24, 2021 · 4 comments
Open

Static Views on Windows cannot be accessed #87

AdaTsche opened this issue Nov 24, 2021 · 4 comments

Comments

@AdaTsche
Copy link
Collaborator

Visualisations like the Timeline (online) cannot be accessed on windows. The w3 button is inactive with the message "webserver could not be started. static views cannot be accessed". Tested on several computers. Windows 10.

@oaubert
Copy link
Owner

oaubert commented Dec 6, 2021

The button is inactive if no webserver could be started. It is often the case when Advene is started multiple times (the first instance can create the webserver, but the 1234 port is busy afterwards for other Advene instances). I have some code in the works to avoid mutiple Advene instances. If this bug happens in the first Advene launch, then please send a advene.log logfile so that I can investigate the issue.

@AdaTsche
Copy link
Collaborator Author

AdaTsche commented Dec 7, 2021

Happens on the first launch and we observed this behavior on multiple different computers. Task Manager shows only one Advene process running.
Log states: "WARNING 2021-12-07 10:48:14,236 advene.core.controller webcherry is not available. Disabling web server
."
advene.log

@oaubert
Copy link
Owner

oaubert commented Dec 7, 2021

Maybe some other application is using the 1234 port Advene is expecting to find available. To determine the application using the 1234 port on windows:

  • Press Windows+R to open the Run dialog box, and then type “powershell” in the text box.
  • In the terminal that opens, enter the command
    Get-Process -Id (Get-NetTCPConnection -LocalPort 1234).OwningProcess

@AdaTsche
Copy link
Collaborator Author

AdaTsche commented Dec 7, 2021

with and without Advene running:
`Get-NetTCPConnection : No MSFT_NetTCPConnection objects found with property 'LocalPort' equal to '1234'. Verify the
value of the property and retry.
At line:1 char:18

  • Get-Process -Id (Get-NetTCPConnection -LocalPort 1234).OwningProcess
  •              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (1234:UInt16) [Get-NetTCPConnection], CimJobException
    • FullyQualifiedErrorId : CmdletizationQuery_NotFound_LocalPort,Get-NetTCPConnection

Get-Process : Cannot bind argument to parameter 'Id' because it is null.
At line:1 char:17

  • Get-Process -Id (Get-NetTCPConnection -LocalPort 1234).OwningProcess
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Get-Process], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.GetProcessC
      ommand`

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

No branches or pull requests

2 participants