启动Cloud Foundry用户帐户和身份验证(UAA)服务器时出错

时间:2018-10-08 14:29:51

标签: spring oauth-2.0 spring-security-oauth2 cargo cloudfoundry-uaa

我正在按照herehere的指示来架起UAA服务器,但是得到了:

> Task :cargoRunLocal FAILED
org.codehaus.cargo.container.ContainerException: Deployable [http://localhost:8080/cargocpc/index.html] failed to finish deploying within the timeout period [540000]. The Deployable state is thus unknown.

FAILURE: Build failed with an exception.

当我按照这些说明中的说明通过./gradlew runUAA_CONFIG_URL=file://$PWD/uaa_config.yml ./gradlew run运行它时:

enter image description here

,因此:

curl http://localhost:8080/uaa/token_keys
curl: (7) Failed to connect to localhost port 8080: Connection refused
  • 是什么原因导致错误?

  • 此外,我如何配置UAA使其监听其他端口,而不是默认配置的8080。该配置在哪里发生?

0 个答案:

没有答案