Open gravidThoughts opened 5 years ago
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
Apologies but the tutorial that you are referencing is presenting the wrong url
. The correct one to use is in fact the one that shows up on the splash message. Please do this instead:
cf login -a https://api.dev.cfdev.sh --skip-ssl-validation
Thanks for the rapid reply.
e:\>cf login -a https://api.dev.cfdev.sh --skip-ssl-validation
API endpoint: https://api.dev.cfdev.sh
FAILED
Server error, status code: 404, error code: 0, message:
It looks like the DNS is properly set up.
e:\>ping api.dev.cfdev.sh
Pinging api.dev.cfdev.sh [10.144.0.34] with 32 bytes of data:
Reply from 10.144.0.34: bytes=32 time<1ms TTL=128
Reply from 10.144.0.34: bytes=32 time<1ms TTL=128
Reply from 10.144.0.34: bytes=32 time<1ms TTL=128
Reply from 10.144.0.34: bytes=32 time<1ms TTL=128
Are these 10.x addresses obtained using our internal DHCP server?
It looks like something is listening on that IP (10.144.0.34) for you to get a 404
there. Do you think you're having an IP conflict with something else on your network? Either that or your instance of CF Dev has been compromised.
Are these 10.x addresses obtained using our internal DHCP server?
No, we have a route registered for that domain that resolves to that private IP.
Similar issue happens on my Ubuntu v18.10 virtualbox machine:
osboxes@osboxes:~/workstation/pcf-dev-deploy$ sudo cf dev start -f pcfdev-v1.2.0-linux.tgz CF Dev is already running...
osboxes@osboxes:~/workstation/pcf-dev-deploy$ cf login -a https://api.dev.cfdev.sh --skip-ssl-validation API endpoint: https://api.dev.cfdev.sh FAILED Error performing request: Get https://api.dev.cfdev.sh/v2/info: dial tcp 10.144.0.34:443: i/o timeout TIP: If you are behind a firewall and require an HTTP proxy, verify the https_proxy environment variable is correctly set. Else, check your network connection.
I do not have any firewall or so blocking the mentioned IP.
@seymurfarziyev It looks like you had a failed startup, please try re-initializing with cf dev stop && cf dev start
Moreover, you shouldn't be using virtualbox. If not already, please consider the newest CF Dev offering that stands up a VM via native hypervisors. https://github.com/cloudfoundry-incubator/cfdev
I am able to start the local pcfdev environment
cf dev start -f E:\pcfdev-v1.2.0-windows.tgz
Output
I noticed that the url in the above output does not match what you have in your getting started tutorial. I used what you have in the tutorial
https://api.local.pcfdev.io
. The following error occurs.As you can see, it appears to translates properly to 192.168.11.11:443. Interestingly, when I ping the url i get the following output.
Networking is not my strong suit. Where is
24.249.237.25
coming from? Is this causing the issue with the login?To be clear, I am not using a proxy.