zl程序教程

您现在的位置是:首页 >  工具

当前栏目

CloudFoundry用命令cf login登录失败产生的日志输出

日志输出命令 登录 失败 产生 login CF
2023-09-14 09:03:52 时间

API endpoint: https://api.cf.eu10.hana.ondemand.com

REQUEST: [2018-04-28T21:24:04+08:00]
GET /v2/info HTTP/1.1
Host: api.cf.eu10.hana.ondemand.com
Accept: application/json
Content-Type: application/json
User-Agent: go-cli 6.36.1+e3799ad7e.2018-04-04 / windows

RESPONSE: [2018-04-28T21:24:05+08:00]
HTTP/1.1 200 OK
Connection: close
Content-Length: 550
Content-Type: application/json;charset=utf-8
Date: Sat, 28 Apr 2018 13:24:04 GMT
Server: nginx
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: f284af6f-0ea0-4a8e-5f40-5acbbb474b74::a7e9fafe-b175-4b1f-8470-43b901b2a444

{“name”:"",“build”:"",“support”:"",“version”:0,“description”:“Cloud Foundry at SAP Cloud Platform”,“authorization_endpoint”:“https://login.cf.eu10.hana.ondemand.com”,“token_endpoint”:"[PRIVATE DATA HIDDEN]",“min_cli_version”:null,“min_recommended_cli_version”:null,“api_version”:“2.106.0”,“app_ssh_endpoint”:“ssh.cf.eu10.hana.ondemand.com:2222”,“app_ssh_host_key_fingerprint”:“f3:12:47:b5:3a:19:6e:6c:4e:9d:90:2e:6f:8e:87:cc”,“app_ssh_oauth_client”:“ssh-proxy”,“doppler_logging_endpoint”:“wss://doppler.cf.eu10.hana.ondemand.com:443”}

REQUEST: [2018-04-28T21:24:05+08:00]
GET /login HTTP/1.1
Host: login.cf.eu10.hana.ondemand.com
Accept: application/json
Content-Type: application/json
User-Agent: go-cli 6.36.1+e3799ad7e.2018-04-04 / windows

RESPONSE: [2018-04-28T21:24:06+08:00]
HTTP/1.1 200 OK
Connection: close
Content-Length: 545
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Cache-Control: no-store
Content-Language: en-US
Content-Type: application/json;charset=UTF-8
Date: Sat, 28 Apr 2018 13:24:05 GMT
Expires: 0
Pragma: no-cache
Set-Cookie: X-Uaa-Csrf=2Hr4WFpjhO8QnyiCcIzBRw; Max-Age=86400; Expires=Sun, 29-Apr-2018 13:24:05 GMT; Path=/; Secure; HttpOnly
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Vcap-Request-Id: db3d2b84-57e9-4077-53e4-d6217a4cdac8
X-Xss-Protection: 1; mode=block

{“app”:{“version”:“4.11.0”},“links”:{“uaa”:“https://uaa.cf.eu10.hana.ondemand.com”,“passwd”:“https://accounts.sap.com/ui/createForgottenPasswordMail?spName=eu10.hana.ondemand.com",“login”:“https://login.cf.eu10.hana.ondemand.com”,“register”:“https://accounts.sap.com/ui/public/showRegisterForm?spName=eu10.hana.ondemand.com”},“zone_name”:“uaa”,“entityID”:“login.cf.eu10.hana.ondemand.com”,“commit_id”:“36e3fdf”,“idpDefinitions”:{},“prompts”:{“username”:[“text”,“Email”],“password”:[“password”,“Password”]},“timestamp”:"2018-03-12T14:45:01-0700”}
Authenticating…

REQUEST: [2018-04-28T21:24:06+08:00]
POST /oauth/token HTTP/1.1
Host: login.cf.eu10.hana.ondemand.com
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: go-cli 6.36.1+e3799ad7e.2018-04-04 / windows

grant_type=password&password=[PRIVATE DATA HIDDEN]&scope=&username=jerry.wang%40sap.com

RESPONSE: [2018-04-28T21:24:07+08:00]
HTTP/1.1 401 Unauthorized
Connection: close
Content-Length: 209
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Cache-Control: no-store
Content-Type: application/json;charset=UTF-8
Date: Sat, 28 Apr 2018 13:24:07 GMT
Expires: 0
Pragma: no-cache
Pragma: no-cache
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Www-Authenticate: Basic realm=“UAA/client”, error=“unauthorized”, error_description="[LDAP: error code 48 - Authentication failed]; nested exception is javax.naming.AuthenticationNotSupportedException: [LDAP: error code 48 - Authentication failed]"
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Vcap-Request-Id: fec513a6-7bb6-4edb-7e93-a6582548a3a3
X-Xss-Protection: 1; mode=block

{“error”:“unauthorized”,“error_description”:"[LDAP: error code 48 - Authentication failed]; nested exception is javax.naming.AuthenticationNotSupportedException: [LDAP: error code 48 - Authentication failed]"}
Credentials were rejected, please try again.

Password>
Authenticating…

REQUEST: [2018-04-28T21:24:24+08:00]
POST /oauth/token HTTP/1.1
Host: login.cf.eu10.hana.ondemand.com
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: go-cli 6.36.1+e3799ad7e.2018-04-04 / windows

grant_type=password&password=[PRIVATE DATA HIDDEN]&scope=&username=jerry.wang%40sap.com

RESPONSE: [2018-04-28T21:24:26+08:00]
HTTP/1.1 401 Unauthorized
Connection: close
Content-Length: 61
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Cache-Control: no-store
Content-Type: application/json;charset=UTF-8
Date: Sat, 28 Apr 2018 13:24:25 GMT
Expires: 0
Pragma: no-cache
Pragma: no-cache
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Www-Authenticate: Basic realm=“UAA/client”, error=“unauthorized”, error_description=“Empty Password”
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Vcap-Request-Id: c2c9dbe6-aa61-4681-5c71-221c947f0d27
X-Xss-Protection: 1; mode=block

{“error”:“unauthorized”,“error_description”:“Empty Password”}
Credentials were rejected, please try again.

Password>
Authenticating…

REQUEST: [2018-04-28T21:24:27+08:00]
POST /oauth/token HTTP/1.1
Host: login.cf.eu10.hana.ondemand.com
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: go-cli 6.36.1+e3799ad7e.2018-04-04 / windows

grant_type=password&password=[PRIVATE DATA HIDDEN]&scope=&username=jerry.wang%40sap.com

RESPONSE: [2018-04-28T21:24:28+08:00]
HTTP/1.1 401 Unauthorized
Connection: close
Content-Length: 61
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Cache-Control: no-store
Content-Type: application/json;charset=UTF-8
Date: Sat, 28 Apr 2018 13:24:27 GMT
Expires: 0
Pragma: no-cache
Pragma: no-cache
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Www-Authenticate: Basic realm=“UAA/client”, error=“unauthorized”, error_description=“Empty Password”
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Vcap-Request-Id: 4e3e45c6-1940-421e-6728-452f1592bd88
X-Xss-Protection: 1; mode=block

{“error”:“unauthorized”,“error_description”:“Empty Password”}
Credentials were rejected, please try again.

API endpoint: https://api.cf.eu10.hana.ondemand.com (API version: 2.106.0)
Not logged in. Use ‘cf login’ to log in.
FAILED
Unable to authenticate.