Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

unable to connect to keycloak server #70

Open
abhijitgujar86 opened this issue Sep 7, 2022 · 2 comments
Open

unable to connect to keycloak server #70

abhijitgujar86 opened this issue Sep 7, 2022 · 2 comments

Comments

@abhijitgujar86
Copy link

keycloak version :: 19.0.0

requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /realms/RealmOne/.well-known/openid-configuration (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94efdfe610>: Failed to establish a new connection: [Errno 111] Connection refused'))

(
server_url="http://localhost:8080",
client_id="myApp",
client_secret="Y49wuMTCnLbX2bufuasJ73RSR9ivLWLu",
admin_client_secret="admin-cli-secret",
realm="RealmOne",
callback_uri="http://localhost:8080/callback"
)
I cannot find the admin secret anywhere in keycloak .

@cissecedric
Copy link

Hi @abhijitgujar86 did you find a solution, I face the exact same problem, thx!

@CrinitusFeles
Copy link

If you have the server configured by realm-esport.json file, you need to open the administrator's dashboard -> open 'Clients' tab -> choose admin-cli Client id -> there open tab Credentials and copy or generate new admin_client_secret

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants