holochain / holoscape

A complete end-user deployment of a Holochain conductor with UI for administration and a run-time for hApp UIs
63 stars 8 forks source link

Mac never finishes installing. #14

Closed philipbeadle closed 5 years ago

philipbeadle commented 5 years ago
Screen Shot 2019-10-22 at 1 07 58 pm
philipbeadle commented 5 years ago

The issue is that

let port = await getPort({port: getPort.makeRange(10000, 31000)})

returns 10000 each time and thus

await call('admin/interface/add')({id,admin,type,port})

never returns.

I swapped in

let port = Math.floor(Math.random() * (31000 - 10000 + 1)) + 10000

and it now completes the install.

philipbeadle commented 5 years ago

Fixed :)