nengo / nengo-gui

Nengo interactive visualizer
Other
97 stars 38 forks source link

Nengo GUI not loading fully in browser possibly due to CORS policy #1041

Open danqiye1 opened 2 years ago

danqiye1 commented 2 years ago

Describe the bug

Recently my nengo UI has stopped loading. It will be stuck at an empty page with only some toolbars loaded (screenshot attached). Looking at the developer console, it seems like there are some CORS restrictions (also in screenshot). I have tried disabling the CORS restriction in browsers but it still cannot load and the developer console still raise the CORS restrictions error.

To reproduce

Steps to reproduce the behavior:

  1. Open vscode and connect to remote host.
  2. Open terminal in vscode and run nengo
  3. View in local browser with the link provided in terminal

Expected behavior

Nengo GUI should load the default example.

Screenshots

image

image

Versions

Additional Context

I am running nengo on a remote ssh server with port 8080 forwarded to my local 8080. This is auto-configured by visual studio code's remote host plugin.