biobricks / bionet-2

The bionet web app
3 stars 2 forks source link

initial install, stuck on "waiting for server handshake" #149

Closed dominictarr closed 7 years ago

dominictarr commented 7 years ago

not sure if I did something wrong, but I set up the server following the instructions that seemed relavant, and ran. I see logging about peers that it's connecting to (or attempting to)

FAIL FAIL: ws://128.240.225.4:8000/ 1 10 undefined undefined
[peer websocket] ws://128.240.225.4:8000/ read ECONNRESET
_connectFail
FAIL FAIL: ws://128.240.225.4:8000/ 1 10 undefined undefined
GOT { id: 'https://syncti.bionet.io',
  hostname: '107.170.215.107',
  port: 9000,
  name: 'SynCTI',
  position: [ 1.296128, 103.780718 ] }
GOT { id: 'https://sb7.bionet.io',
  hostname: '104.236.148.155',
  port: 9000,
  name: 'sb7-demo',
  position: [ 1.296128, 103.780718 ] }
_connectFail
FAIL FAIL: ws://128.240.225.4:8000/ 1 10 undefined undefined

does "GOT" mean it worked? or is that something else?

loading http://localhost:8000/ gives me the content of www/index.html but it just says "waiting for server handshake"

dominictarr commented 7 years ago

nm, figured it out - www/js/bionet.js was empty...