Open tsoenen opened 6 years ago
Hi @jbonnet @dang03 @felipevicens ,
Since this issue occurs once in a while (see this mornings demo during the call), we need a fix or a workaround to be in a good shape to demo the pilots during the review.
Have we made any progress in locating the source of the issue?
Hello @tsoenen, I'm investigating this issue and haven't been able to reproduce it. If this happens again, I need to know more information about the status of the User Management. Logs can be accessed through http://xx.xx.sonata-nfv.eu:5600/admin/log It is also important to state if the User Management was recently deployed or if it was already running for some time.
I'll keep checking.
Hi, The code for the micro-services login process has been checked from GK API to User Manager component, with no issues found on the code.
I achieved to reproduce the error for one scenario. Apparently the problem is that the SLM micro-service is no longer registered in the Keycloak framework, when it is attempting to login to the platform.
This issue is probably due to a workflow problem related to Jenkins jobs (the GK or UM being re-deployed).
Keycloak manages the accounts and credentials. When bad credentials are provided for an existent account it returns "Invalid client secret"
.
If the account does not exists, it returns "INVALID_CREDENTIALS: Invalid client credentials"
However, the GK API does not make distinctions and returns "No micro-service with basic authentication c29uLXNsbToyMzQ= was found"
.
I haven't been able to reproduce this error for any other scenarios.
Hi guys (@jbonnet @dang03 @felipevicens ),
I noticed that sometimes, the SLM fails to receive a token when requesting one. This is from the GK logs when such an event arises. Its hard to reproduce, it just happens sometimes (during the same SP instantation it is sometimes successful, fails, and is successful again):