Skip to content

Commit c7cf3b3

Browse files
committed
fix: make provisioning server work again
1 parent fc87e3b commit c7cf3b3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/cosmic-swingset/lib/ag-solo/vats/vat-http.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function build(E, D) {
171171
D(commandDevice).sendResponse(
172172
count,
173173
false,
174-
handler[type](obj, meta),
174+
await handler[type](obj, meta),
175175
);
176176
return;
177177
}

packages/cosmic-swingset/provisioning-server/src/ag_pserver/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class SetConfigOptions(usage.Options):
2929

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

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

4242
class Options(usage.Options):

packages/deployment/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ show-config display the client connection parameters
508508
'/usr/src/app/ve3/bin/ag-pserver',
509509
'add-pubkeys',
510510
'-c',
511-
'http://localhost:8000/vat',
511+
'http://localhost:8000/private/repl',
512512
]),
513513
);
514514

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

0 commit comments

Comments
 (0)