arthur.sw
arthur.sw

Reputation: 11639

How to solve spacebrew error: the server responded with a status of 426 (Upgrade Required)?

  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?

Upvotes: 1

Views: 2572

Answers (1)

Quin
Quin

Reputation: 26

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

Upvotes: 1

Related Questions