Skip to content

Commit

Permalink
fix: make provisioning server work again
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Apr 3, 2020
1 parent fc87e3b commit c7cf3b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cosmic-swingset/lib/ag-solo/vats/vat-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function build(E, D) {
D(commandDevice).sendResponse(
count,
false,
handler[type](obj, meta),
await handler[type](obj, meta),
);
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class SetConfigOptions(usage.Options):

class AddPubkeysOptions(usage.Options):
optParameters = [
["controller", "c", "http://localhost:8002/vat", "controller's listening port for us to send control messages"],
["controller", "c", "http://localhost:8002/private/repl", "controller's listening port for us to send control messages"],
]

class StartOptions(usage.Options):
optParameters = [
["mountpoint", "m", "/", "controller's top level web page"],
["listen", "l", "tcp:8001", "client-visible HTTP listening port"],
["controller", "c", "http://localhost:8002/vat", "controller's listening port for us to send control messages"],
["controller", "c", "http://localhost:8002/private/repl", "controller's listening port for us to send control messages"],
]

class Options(usage.Options):
Expand Down
4 changes: 2 additions & 2 deletions packages/deployment/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ show-config display the client connection parameters
'/usr/src/app/ve3/bin/ag-pserver',
'add-pubkeys',
'-c',
'http://localhost:8000/vat',
'http://localhost:8000/private/repl',
]),
);

Expand All @@ -529,7 +529,7 @@ show-config display the client connection parameters
pserverPassword === ''
? ''
: ` -m ${shellEscape(`/provision-${pserverPassword}`)}`;
const execline = `/usr/src/app/ve3/bin/ag-pserver start${pserverFlags}${mountpoint} -c http://localhost:8000/vat`;
const execline = `/usr/src/app/ve3/bin/ag-pserver start${pserverFlags}${mountpoint} -c http://localhost:8000/private/repl`;
await guardFile(`${CONTROLLER_DIR}/service.stamp`, () =>
needReMain([
'play',
Expand Down

0 comments on commit c7cf3b3

Please sign in to comment.