These are chat archives for spring-cloud/spring-cloud

14th
Jun 2017
Patrick Cornelißen
@pcornelissen
Jun 14 2017 06:45
Hmm, I tried to recreate the exact error, but ran into other problems (context creation died because the eurekaclient was null which lead to a nullpoint exception in the library, which shouldn’t happen). Anyway I’ll try to recreate it when I have more time. I still try to create a bugreport for spring-social, maybe I can convince them to to make the JdbcConnectionRepository more proxy friendly
Abhishek Dujari
@abshkd
Jun 14 2017 10:02
reposting from spring-boot
i just setup a starter config-server and there is no /encrypt endpoint when i curl. it rreturns 404
the documentation has me believe that its there by default
Dave Syer
@dsyer
Jun 14 2017 10:02
It would be if you configured a key
Abhishek Dujari
@abshkd
Jun 14 2017 10:03
and i have only encrypt.key @dsyer
Dave Syer
@dsyer
Jun 14 2017 10:06
The endpoint is there then
encrypt.key has to be available in bootstrap IIRC
But even if it wasn't, the endpoint would respond with an error telling you the key was missing.
Works for me anyway
Abhishek Dujari
@abshkd
Jun 14 2017 10:07
i dont get any endpoint, but i am not using bootstrap so let me try that. thanks @dsyer
Dave Syer
@dsyer
Jun 14 2017 10:08
This is what heppens if it's not in bootstrap:
$ curl localhost:8080/encrypt -d foo
{"description":"No key was installed for encryption service","status":"NO_KEY"}
So I think you are doing something else wrong
Abhishek Dujari
@abshkd
Jun 14 2017 10:09
i look at startup logs and dont see any endpoints for encrypt/decrypt
Dave Syer
@dsyer
Jun 14 2017 10:09
What about the other config server endpoints?
Abhishek Dujari
@abshkd
Jun 14 2017 10:09
i am using the initializer with only spring-cloud-config-server
Dave Syer
@dsyer
Jun 14 2017 10:10
You added @EnableConfigServer right?
Otherwise you wouldn't have any endpoints at all (obviously)
Abhishek Dujari
@abshkd
Jun 14 2017 10:10
Ah %^&^$* re right
thanks!
i think its EOD for me
no luck
Dave Syer
@dsyer
Jun 14 2017 10:20
EOD sounds like a plan then
Abhishek Dujari
@abshkd
Jun 14 2017 10:20
u were right though. I forgot to @Enable it
i am just missing some additional items for it to startup
oh well its working
just says invalid secret key.
Abhishek Dujari
@abshkd
Jun 14 2017 10:25
expected. i don t have JCE
Dave Syer
@dsyer
Jun 14 2017 10:26
Right. You are
good then
Abhishek Dujari
@abshkd
Jun 14 2017 10:26
thanks. sorry for asking idiotic questions
Anuj Garg
@KeenWarrior
Jun 14 2017 10:27
No question is idiotic :wink:
Abhishek Dujari
@abshkd
Jun 14 2017 10:27
hah
Marcin Grzejszczak
@marcingrzejszczak
Jun 14 2017 15:04
@/all friendly reminder to everyone to send me feedback :) spring-cloud/spring-cloud-contract#321