Spacebrew / spacebrew

A dynamic re-routable software toolkit for choreographing interactive spaces.
MIT License
222 stars 50 forks source link

Error when trying spacebrew: the server responded with a status of 426 (Upgrade Required)? #66

Closed arthursw closed 8 years ago

arthursw commented 8 years ago

Note: Stackoverflow question here.

  1. I cloned the Spacebrew repo
  2. I installed the websocket and the forever modules (npm install ws and npm install forever-monitor)
  3. I started Spacebrew (node node_server_forever.js)
  4. I went to http://localhost:9000/ or http://localhost:9000/admin/index.html on my browser and the page displays:

Upgrade Required

There are two errors on the console:

http://localhost:9000/favicon.ico
 Failed to load resource: the server responded with a status of 426 
 (Upgrade Required)
http://localhost:9000/
 Failed to load resource: the server responded with a status of 426
 (Upgrade Required)

Did I miss something?

quinkennedy commented 8 years ago

The admin interface is not hosted by the SB Server. It is a static page. There is a copy accessible at http://spacebrew.github.io/spacebrew/admin/admin.html which will attempt to connect to a localhost SB server on port 9000. you can provide querystrings to connect to a remote server or different port: http://spacebrew.github.io/spacebrew/admin/admin.html?server=specialdoma.in&port=9999

arthursw commented 8 years ago

Ok, I didn't understand this part + I run into this issue because I was using an old version of node.js. Spacebrew is great, thanks!! You could just add a link to the tutorials in the readme to welcome new users even more warmly :-)