The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

kkelleher (19) [Avatar] Offline
#1
Hi,

First time user here ...

To start, the MEAP is EXCELLENT. I really mean that! Very well done!


After I launch configurationserver as a spring boot app and enter the following url

http://localhost:8888/licensingservice/default

I get the following error ( or the 500 version of it)

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Fri Feb 03 18:15:24 GMT 2017
There was an unexpected error (type=Not Found, status=404).
No such label: master

Is there any requirement for me re git & my machine?

What is the requirement for

username: native-cloud-apps
password: 0ffended

in the attached?


BTW, the commented out file based configuration works just great.




John Carnell (26) [Avatar] Offline
#2
Hi

Sorry it took so long to get back to you. I have been heads down writing and been a total slack on responding to the posts (Plus I discovered that I am no longer getting email notifications whenever someone posts on the forum).

I will have to dig into the error and see what is going on. I dont think you need git on your box, because the deployed containers do not install git.

Thanks,
John
John Carnell (26) [Avatar] Offline
#3
Hi,

BTW. What chapter were you pulling from. I havent had any problems and the chapter looks correct. One thing you can do is looking at the log output just as the service is starting up and see if it is throwing an error trying to connect to GitHub. That will happen right on service startup. If Spring Cloud Config can not load from Github the service will not startup and more then likely you never had the endpoints loaded by Spring Boot.

Thanks,
John
kkelleher (19) [Avatar] Offline
#4
Hi John,

Dooh! ... figured it out ...

Needed to add "-Dhttps.proxyHost=xx.xx.xx.xx -Dhttps.proxyPort=8080" as Spring boot vm arguments ...

Regards,
Kevin