Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

cf login FAILED #98

Closed
ShwetaD1 opened this issue Jul 8, 2016 · 10 comments
Closed

cf login FAILED #98

ShwetaD1 opened this issue Jul 8, 2016 · 10 comments

Comments

@ShwetaD1
Copy link

ShwetaD1 commented Jul 8, 2016

Hi,
I am new to PCF.
I have installed pcf dev as well as virtualbox and cf cli in my local machine and i successfully did it.
When i am trying to login, getting failed error.
that is
$ cf login -a api.local.pcfdev.io --skip-ssl-validation
API endpoint: api.local.pcfdev.io
FAILED
Server error, status code: 502, error code: 0, message:

screenshot from 2016-07-08 14-28-06

Any Help

-Shweta

@sclevine
Copy link
Contributor

sclevine commented Jul 8, 2016

Hi @ShwetaD1,

You cannot login because your VM did not start successfully. Are you running PCF Dev 0.17.0? (0.17.0 should have 50 services, not 49.)

-Stephen

@ShwetaD1
Copy link
Author

ShwetaD1 commented Jul 11, 2016

Hi Stephen,

Thanks for the reply.
But I am running PCF Dev 0.16.0.

-Shweta

@sclevine
Copy link
Contributor

Can you upgrade to 0.17.0 and see if the VM starts successfully?

@ShwetaD1
Copy link
Author

Hi @sclevine,
thanks for the reply.
May I know why it is not working on 0.16.0 .
-Shweta

@sclevine
Copy link
Contributor

There are a number of reasons why you might receive that error. The 0.17.0 release provides the same PCF components as 0.16.0 and includes bug fixes that might fix your issue.

@sclevine
Copy link
Contributor

Closing. Feel free to re-open if you experience the same issue on 0.17.0 (or newer).

@parthasarathi204
Copy link

same issue .
cf dev start
Using existing image.
Starting VM...
Provisioning VM...
Waiting for services to start...
8 out of 56 running
8 out of 56 running
8 out of 56 running
8 out of 56 running
39 out of 56 running
56 out of 56 running


| || || | | | | || | | |
| _ || || | | _ || || || |
| |
| || || |
| | | || |
__ | |
| || || | | || || || |
| | | |
| | | || |
| |
|
| |
||| || || ||
is now running.
To begin using PCF Dev, please run:
cf login -a https://api.local.pcfdev.io --skip-ssl-validation
Apps Manager URL: https://local.pcfdev.io
Admin user => Email: admin / Password: admin
Regular user => Email: user / Password: pass
partha@partha-Latitude-E7440:[/Downloads/dhiraj/pcfdev] $ cf login -a https://api.local.pcfdev.io --skip-ssl-validation
API endpoint: https://api.local.pcfdev.io
FAILED
Server error, status code: 502, error code: 0, message:
partha@partha-Latitude-E7440:[
/Downloads/dhiraj/pcfdev] $ cf login -a https://api.local.pcfdev.io --skip-ssl-validation
API endpoint: https://api.local.pcfdev.io
FAILED
Server error, status code: 502, error code: 0, message:
partha@partha-Latitude-E7440:[~/Downloads/dhiraj/pcfdev] $ cf login -a https://api.local.pcfdev.io
API endpoint: https://api.local.pcfdev.io

@parthasarathi204
Copy link

sudo /var/vcap/bosh/bin/monit summary
The Monit daemon 5.2.5 uptime: 19m

Process 'pcfdev-api' running
Process 'pcfdev-nginx' running
Process 'uaa' running
Process 'tps_listener' running
Process 'tps_watcher' running
Process 'tcp_router' running
Process 'tcp_emitter' running
Process 'syslog_drain_binder' running
Process 'syslog-configurator' running
Process 'stager' running
Process 'ssh_proxy' running
Process 'routing-api' running
Process 'route_registrar' running
Process 'route_emitter' running
Process 'rep' running
Process 'rabbitmq-server' running
Process 'rabbitmq-broker' running
Process 'rabbitmq-broker-route-registrar' running
Process 'rabbitmq-management-route-registrar' running
Process 'nsync_listener' running
Process 'nsync_bulker' running
Process 'nats' running
Process 'mariadb_ctrl' running
Process 'galera-healthcheck' running
Process 'gra-log-purger-executable' running
Process 'cluster_health_logger' running
Process 'metron_agent' running
Process 'loggregator_trafficcontroller' running
Process 'localdriver' running
Process 'localbroker' running
Process 'gorouter' running
Process 'garden' running
Process 'file_server' running
Process 'etcd' running
Process 'etcd_consistency_checker' running
Process 'doppler' running
Process 'consul_agent' running
Process 'cloud_controller_worker_1' running
Process 'cloud_controller_ng' running
Process 'cloud_controller_worker_local_1' running
Process 'cloud_controller_worker_local_2' running
Process 'nginx_cc' running
Process 'cloud_controller_clock' running
Process 'process-watcher' running
Process 'process-destroyer' running
Process 'cf-redis-broker' running
Process 'broker-nginx' running
Process 'cf-mysql-broker' running
Process 'cf-mysql-route-registrar' running
Process 'quota-enforcer' running
Process 'cc_uploader' running
Process 'blobstore_nginx' running
Process 'blobstore_url_signer' running
Process 'bbs' running
Process 'auctioneer' running
System 'system_localhost' running

@aemengo
Copy link
Contributor

aemengo commented May 30, 2017

Inside of the PCF Dev VM, could you run 'tail /var/pcfdev/provision.log' and submit the output?

@sclevine
Copy link
Contributor

Are you behind a corporate HTTP proxy? Have you followed these steps?
https://docs.pivotal.io/pcf-dev/proxy.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants