benwilcock/spring-cloud-gateway-demo

error

Gondagar opened this issue · 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'

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 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.

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