spring-cloud-gateway-demo icon indicating copy to clipboard operation
spring-cloud-gateway-demo copied to clipboard

error

Open Gondagar opened this issue 5 years ago • 3 comments

how can I fix it?

:~/spring-cloud-gateway-demo/security-gateway$ docker-compose up Pulling uaa (scg-demo-uaa:latest)... ERROR: pull access denied for scg-demo-uaa, repository does not exist or may require 'docker login'

Gondagar avatar Feb 07 '20 12:02 Gondagar

The docs point to running the build.sh script in the gateway folder first, so that your local Docker registry will contain the required images. https://github.com/benwilcock/spring-cloud-gateway-demo/blob/master/security-gateway/build.sh

benwilcock avatar Mar 18 '20 11:03 benwilcock

@benwilcock hey, the build process is not working correctly. because in uaa image step, there is a broken link (in step of getting war file from maven.) there is no "central.maven.org" url so you need to change link to "https://search.maven.org/remotecontent?filepath=org/cloudfoundry/identity/cloudfoundry-identity-uaa/4.30.0/cloudfoundry-identity-uaa-4.30.0.war".


(one more addition; i was getting below error message due to docker time issue. my time was behind 2 days from current. (If you are using Docker, a bug that causes time drift when the host computer goes to sleep https://askubuntu.com/a/1208252) i synchronized ntp and it's gone.

Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 1d 21h 16min 59s). Updates for this repository will not be applied.

dgempiuc avatar Mar 18 '20 12:03 dgempiuc

@Gondagar I've created a PR for this :)

dlehammer avatar Apr 16 '20 16:04 dlehammer