csantanapr commented on a change in pull request #3182: Fixes to Vagrantfile
URL:
https://github.com/apache/incubator-openwhisk/pull/3182#discussion_r161286143
##########
File path: tools/vagrant/Vagrantfile
##########
@@ -159,7 +159,7 @@ $script_end = <<SCRIPT
touch $HOME/.wskprops
chown -R vagrant:vagrant $HOME
# This allows user to see how to configure the wsk cli outside the VM
- wsk property set --apihost ${WHISK_IP} --namespace guest --auth `cat
${ANSIBLE_HOME}/files/auth.guest`
+ wsk property set --apihost http://${WHISK_IP}:10001 --namespace guest --auth
`cat ${ANSIBLE_HOME}/files/auth.guest`
Review comment:
wait what? WTF
That explains why you tried to change it.
I will give it a try now on Mac. I don't have a Windows machine
Can you help debug:
Can you run `docker ps` and paste that here
That should tell us the containers running and the ports exposed, and we
should see `443` exposed from nginx
For example on native mac:
```
? $ docker ps | grep nginx
86f32aea8538 nginx:1.11 "nginx -g 'daemon ..."
13 hours ago Up 13 hours 0.0.0.0:80->80/tcp,
0.0.0.0:443->443/tcp, 0.0.0.0:8443->8443/tcp nginx
~
? $ curl -k https://0.0.0.0:443/api/v1
? $ curl -k https://localhost:443/api/v1
? $ curl -k https://172.17.0.1:443/api/v1
{"api_version_path":"v1","description":"OpenWhisk
API","swagger_paths":{"ui":"/docs","api-docs":"/api-docs"},"build":"2018-01-12T05:09:21Z","api_version":"1.0.0","buildno":"latest"}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services