"error while loading user profile metadata" with WSO2 API Manager 4.1 - wso2

I have added an Active Directory to the carbon console to connect to WSO2 API Manager , i have successfully read the users list but when i try to get the informations of each user i got error error while loading user profile metadata .

Related

WSO2 Identity Server 5.10.0 - Error message not shown in IS Management Console while creating already existing User

We are using WSO2 Identity Server 5.10.0.
when creating users through Identity Server Management console, If user is already exists we are getting below error in logs and User is not getting added:
ERROR {org.wso2.carbon.user.mgt.ui.UserAdminClient} - UserAlreadyExisting:Username already exists in the system. Please pick another username. org.wso2.carbon.user.mgt.stub.UserAdminUserAdminException: UserAdminUserAdminException
However error message is not shown in IS management console
What is the WUM version of the WSO2IS-5.10 you are using? To find the WUM version of your WSO2IS use the WUM (WSO2 Update Manager)
[https://www.chakray.com/how-install-wso2-update-manager-wum-tool-apply-wso2-patches/]
I tried adding two same users named users in WSO2IS-5.10 but it seems to give me the error message in the admin console. check this image,
To check that there are any other issues is happening and blocking the display of error messages, can enable the debug mode in Log4J.properties file in < IS-HOME >/repository/conf folder. And check the link below to see how to set up Log4j.properties file.
[https://medium.com/identity-beyond-borders/enable-logging-in-wso2-identity-server-with-log4j2-4b2ef1374656]

unable to login for customuserstore users in wso2IS

I created a jar based from the link https://svn.wso2.org/repos/wso2/people/pushpalanka/SampleCustomeUserStoreManager-5.0.0/
a)Copied the jar into dropin folder and mysql driver in lib folder,
b)Started the server and clicked on Add UserStore, Selected CustomUserStore from the drop down and created it with all mysql connection details
c)When i clicked on Users and saw the test.com/dinuka and test.com/malinda user, changed the permission to login and logged out as admin.
d)When i am trying to login as test.com/dinuka-dinuka, I get there error as [2020-02-25 17:08:53,712] ERROR {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} - System error while Authenticating/Authorizing User : Error when handling event : PRE_AUTHENTICATION.
I am using wso2is 5.3
Subhash

Dataservices not getting executed in WSO2 ESB 5.0.0 tenants

I have couple of dataservices to be run on wso2 esb. I have created a tenant instance and placed these dataservices in repository/tenants/[tenant_id]/dataservices. when I login into wso2 management console with tenant user and try to run any of the dataservice- I’m getting an error saying
the input stream of an incoming message is null
On the other hand the dataservices placed for the master user under folder repository/deployment/server/dataserivice is getting executed and fetching desired results when ran through admin master user. can I get some help to resolve this issue with tenant.

WSO2 Cannot login API-M carbon when use IS as Key Manager

I setup IS as Key Manager for API-M. Then I tried to create new tenant
Login IS carbon console with super tenant
Create new tenant with domain and admin user
Login IS carbon console with new tenant's admin successfully
Try to login API-M carbon console with new tenant's admin.
Console of API-M shows: CarbonAuthenticationUtil Failed Administrator login attempt 'newuser[3]'
However, i can login in API Publisher with new user
What additional configuration that i should do ?
It looks like you haven't shared user store and permission DB correctly across APIM and IS. Please check user-mgt.xml in both products. If possible attache user-mgt.xml and master-datasources.xml in both products by removing sensitive information like database, LDAP passwords ...etc.

WSO2 bpmn-explorer - "Username or password invalid!"

We are running WSO2 IDS, ESB, BPS in Docker containers. All components are using Identity Server and all works great, but when I'm trying to login to bpmn-explorer I'm getting "Username or password invalid!" I tried with default admin credentials, and also I have created new user directly in BPS but nothing works. Could you please tell me where can I find bpmn-explorer logs or what files I need to modify.
Had the same problem, and the solution is allowing more privileges to the admin account role on the carbon console of the BPS.
Adding more permissions on BPS to the associated admin role
And the internal exception throwed with the problem was registered on the BPS carbon.log file:
Caused by: org.wso2.carbon.user.core.UserStoreException: Invalid Permission root
path provided
Now you can enter to the bpmn-explorer console.