question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker-compose setup on MacOS: the microcks service is occured the error

See original GitHub issue

@lbroudoux Hi

  1. using docker run and i was connected microcks service. http://myserver.example.com:8080/#/services
  2. the microcks service is occured the error when i was connected Service List page. i think Registration function is normal, but it can’t find the keycloak’s public key when lookup Serivce List page.
[ERROR] org.keycloak.adapters.rotation.JWKPublicKeyLocator - Error when sending request to retrieve realm keys
org.keycloak.adapters.HttpClientAdapterException: IO error
	at org.keycloak.adapters.HttpAdapterUtils.sendJsonHttpRequest(HttpAdapterUtils.java:58)
	at org.keycloak.adapters.rotation.JWKPublicKeyLocator.sendRequest(JWKPublicKeyLocator.java:99)

or 
[ERROR] org.keycloak.adapters.rotation.AdapterRSATokenVerifier - Didn't find publicKey for kid: 2g_AIcWsxQRBAfWoGJwgknUuf2bFLE8UhKFZQ4.....
  1. Please let me know solution
  • Is it not working with the Keycloak system?
  • Or should I have to register public key in the Keycloak system? or Are there additional interworking tasks?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lbroudouxcommented, Aug 31, 2018

Yes this is the cause.

First I am not sure that Docker engine inherits from your host file. Second if it inherits, it will resolve local host to container itself !

Host name must be resolvable using a regular external DNS.

0reactions
lbroudouxcommented, Sep 2, 2018

Nice ! Do not hesitate using Gitter Microcks/Microcks channel or chat room for joining community and asking help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing with docker-compose | Microcks.io
Docker Compose is a tool for easily testing and running multi-container applications. Microcks offers a simple way to set up the minimal required...
Read more >
Docker Compose failed to build - Filesharing has been ...
Open Docker Desktop Settings and write the address of the folder you are working with in File Sharing: enter image description here.
Read more >
API Design and Mocking Has Became So Much Easier with ...
Installing Microcks. To simply things, I am using Docker-compose approach to install Microcks and run the necessary servers as Docker containers ...
Read more >
didn't find publickey for kid | The Search Engine You Control
"Didn't find publicKey for specified kid" error occurs when deploy spring boot ... microcks/microcksDocker-compose setup on MacOS: the microcks service is ...
Read more >
Getting Started with API Mocking running Microcks with Docker
In this video we go over the getting started guide for API mocking using Microcks running on Docker Compose as stated in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found