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

Not able to login #128

@georgifarashev

Description

@georgifarashev

I am trying to run cfdev on my local machine but I am unable to login.
(I have Intel Xeon 6 core cpu and 32gb of ram)

PS C:\WINDOWS\system32> cf dev version
CLI: 0.0.17
BUILD: 14 (b36c82e)

cf: v11.2.0
cf-mysql: 36.19.0

PS C:\WINDOWS\system32> cf dev start
Downloading Resources...
Progress: |====================>| 100.0%
Setting State...
Creating the VM...
Starting VPNKit...
Starting the VM...
Waiting for the VM...
Deploying the BOSH Director...
Deploying CF...
  Done (8m12s)

          ██████╗███████╗██████╗ ███████╗██╗   ██╗
         ██╔════╝██╔════╝██╔══██╗██╔════╝██║   ██║
         ██║     █████╗  ██║  ██║█████╗  ██║   ██║
         ██║     ██╔══╝  ██║  ██║██╔══╝  ╚██╗ ██╔╝
         ╚██████╗██║     ██████╔╝███████╗ ╚████╔╝
          ╚═════╝╚═╝     ╚═════╝ ╚══════╝  ╚═══╝
                     is now running!

        To begin using CF Dev, please run:
            cf login -a https://api.dev.cfdev.sh --skip-ssl-validation

        Admin user => Email: admin / Password: admin
        Regular user => Email: user / Password: pass

        To deploy a particular service, please run:
            cf dev deploy-service <service-name> [Available services: mysql]

PS C:\WINDOWS\system32> cf login -a https://api.dev.cfdev.sh --skip-ssl-validation
API endpoint: https://api.dev.cfdev.sh

Request error: Get https://api.dev.cfdev.sh: dial tcp 10.144.0.34:443: connectex: No connection could be made because the target machine actively refused it.
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.
FAILED

In the deploy-cf.log I see the following:

Task 71 Started  Thu Apr  9 11:34:23 UTC 2020
Task 71 Finished Thu Apr  9 11:42:22 UTC 2020
Task 71 Duration 00:07:59
Task 71 done

Succeeded
Setting api endpoint to api.dev.cfdev.sh...
Request error: Get https://api.dev.cfdev.sh/v2/info: dial tcp 10.144.0.34:443: connectex: No connection could be made because the target machine actively refused it.
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.
FAILED
No API endpoint set. Use 'cf.exe login' or 'cf.exe api' to target an endpoint.
FAILED

I see logs in vpnkit.err.log similar to this one:

vpnkit.exe: [ERROR] Socket.TCPv4.bind: Socket.TCPv4.bind(10.144.0.34, 1035): address not available

and this one:

vpnkit.exe: [ERROR] Socket.Stream: caught Invalid argument
vpnkit.exe: [ERROR] Socket.UDPv4.read: udp -> 192.168.0.1:53 caught Lwt.Resolution_loop.Canceled returning Eof

I am not behind a proxy and I disabled my firewall during the startup and login.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions