-
Notifications
You must be signed in to change notification settings - Fork 26
PROXY issues
Rudolph Pienaar edited this page Apr 24, 2020
·
2 revisions
Any CUBE
services that run within the BCH environment must be proxied! In particular this affects pfcon
which needs to speak to some pman
and pfioh
.
pfurl --verb POST --raw \
--http ${HOST_IP}:5005/api/v1/cmd \
--httpResponseBodyParse \
--jsonwrapper 'payload' \
--msg \
'{ "action": "internalctl",
"meta": {
"var": "/self",
"get": "value"
}
}'
pfurl --verb POST --raw \
--http ${HOST_IP}:5005/api/v1/cmd \
--httpResponseBodyParse \
--jsonwrapper 'payload' \
--msg \
'{ "action": "internalctl",
"meta": {
"var": "/self",
"set": {
"httpProxy": {
"httpSpec": "http://proxy.tch.harvard.edu:3128",
"use": true
}
}
}
}'