Replies: 3 comments 10 replies
-
@ytk1389 please share the details of the API, request and response you tried along with the exact stack trace you got in the console. It will help us to suggest you better steps. |
Beta Was this translation helpful? Give feedback.
-
API : {user-org-service-url}/v1/user/create "stacktrace":" Exception Occured org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine.invoke(ApacheHttpClient4Engine.java:289)org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:454)org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:105)org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:76)com.sun.proxy.$Proxy54.grantToken(Unknown Source)org.keycloak.admin.client.token.TokenManager.grantToken(TokenManager.java:89)org.keycloak.admin.client.token.TokenManager.getAccessToken(TokenManager.java:69)org.keycloak.admin.client.token.TokenManager.getAccessTokenString(TokenManager.java:64)org.keycloak.admin.client.resource.BearerAuthFilter.filter(BearerAuthFilter.java:52)org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:431)org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:105)org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:76)com.sun.proxy.$Proxy69.create(Unknown Source)org.sunbird.sso.impl.KeyCloakServiceImpl.createUser(KeyCloakServiceImpl.java:281)org.sunbird.util.user.UserUtil.addUser(UserUtil.java:307)org.sunbird.service.user.impl.SSOUserServiceImpl.createUserAndPassword(SSOUserServiceImpl.java:99)org.sunbird.actor.user.SSOUserCreateActor.processSSOUser(SSOUserCreateActor.java:123)org.sunbird.actor.user.SSOUserCreateActor.createSSOUser(SSOUserCreateActor.java:89)org.sunbird.actor.user.SSOUserCreateActor.onReceive(SSOUserCreateActor.java:61)org.sunbird.actor.core.BaseActor.onReceive(BaseActor.java:21)akka.actor.UntypedAbstractActor$$anonfun$receive$1.applyOrElse(AbstractActor.scala:291)akka.actor.Actor$class.aroundReceive$$$capture(Actor.scala:517)akka.actor.Actor$class.aroundReceive(Actor.scala)akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:180)akka.actor.ActorCell.receiveMessage$$$capture(ActorCell.scala:588)akka.actor.ActorCell.receiveMessage(ActorCell.scala)akka.actor.ActorCell.invoke(ActorCell.scala:557)akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258)akka.dispatch.Mailbox.run(Mailbox.scala:225)akka.dispatch.Mailbox.exec(Mailbox.scala:235)akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)","errtype":"api_access","requestid":"092c32ab-fddd-4445-a8fa-c906b316dc2c"}}", |
Beta Was this translation helpful? Give feedback.
-
Closing this as no update. |
Beta Was this translation helpful? Give feedback.
-
Hi team,
We have integrated user-org service with the keycloak server and trying to create a user using the user create api in it.When I am trying to create the user i am getting the below exception "Method threw 'javax.ws.rs.NotFoundException' exception.
HTTP 404 Not Found" ,when I am hitting the same url via webbrowser i am able to see the keycloak console ((http://localhost:8080/auth/)(which shows keycloak server is running successfully) .
Could someone please help me resolve this issue.
Note:Basically we trying to create a new user and later will also try to retrieve it.
Beta Was this translation helpful? Give feedback.
All reactions