Advertisement
tecoholic

oxd uma rs protect failing

Nov 27th, 2017
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2017-11-27 11:43:35,572 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0226, commandSize: 226
  2. 2017-11-27 11:43:35,572 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"params": {"oxd_id": "caf3f950-46ce-43a5-9d4f-90352b7a9b90", "resources": [{"path": "/photo", "conditions": [{"httpMethods": ["GET"], "scopes": ["http://photoz.example.com/dev/actions/view"]}]}]}, "command": "uma_rs_protect"}', m_leftString=''}
  3. 2017-11-27 11:43:35,573 TRACE [org.xdi.oxd.server.Processor] Command: {"params": {"oxd_id": "caf3f950-46ce-43a5-9d4f-90352b7a9b90", "resources": [{"path": "/photo", "conditions": [{"httpMethods": ["GET"], "scopes": ["http://photoz.example.com/dev/actions/view"]}]}]}, "command": "uma_rs_protect"}
  4. 2017-11-27 11:43:35,575 TRACE [org.xdi.oxd.server.license.LicenseService] Updating statistic ... , request: StatisticUpdateRequest{type=CLIENT, licenseId='null', properties={license_id=b9d9140e-0732-4a96-b4be-215597377a10, mac_address=E0-AC-CB-70-20-12, oxd_id=caf3f950-46ce-43a5-9d4f-90352b7a9b90, client_name=null, client_id=@!F883.6E9D.177D.C240!0001!66BB.B79A!0008!4BE8.0B1C.9637.535D, is_client_local=true}, appMetadata=AppMetadata{appName='oxd', appVersiom='3.1.1', programmingLanguage='null', data={server_name=oxD Python Test Client, git.tags=, git.commit.user.name=Yuriy Zabrovarnyy, git.commit.id.abbrev=3f336ea, git.branch=origin/version_3.1.1, git.commit.id.describe-short=3f336ea, git.commit.id.describe=3f336ea, git.commit.id=3f336eac2c7f91a1c14859f16b0c0e3926860a79, git.commit.message.short=removed claims_redirect_uri from tests, git.build.user.email=Unknown, git.commit.user.email=yzabrovarniy@gmail.com, git.commit.time=09.11.2017 @ 05:22:17 EST, git.build.time=09.11.2017 @ 05:28:53 EST, git.build.user.name=Unknown, git.dirty=true, git.commit.message.full=removed claims_redirect_uri from tests
  5. , git.remote.origin.url=https://github.com/GluuFederation/oxD}}}
  6. 2017-11-27 11:43:35,576 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
  7. 2017-11-27 11:43:35,671 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
  8. 2017-11-27 11:43:35,782 ERROR [org.xdi.oxd.server.service.UmaTokenService] Token is blank in response, site: Rp{oxdId='caf3f950-46ce-43a5-9d4f-90352b7a9b90', opHost='https://oxd.example.com', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dummy-uma.client.org', postLogoutRedirectUri='null', applicationType='web', redirectUris=[https://dummy-uma.client.org], claimsRedirectUri=[], responseTypes=[code], clientId='@!F883.6E9D.177D.C240!0001!66BB.B79A!0008!4BE8.0B1C.9637.535D', clientSecret='4044149f-a3a1-4dc6-9537-1ad0f07a521e', clientRegistrationAccessToken='afbbdd33-3b3d-4693-9f0a-51ca8dc15825', clientRegistrationClientUri='https://oxd.example.com/oxauth/restv1/register?client_id=@!F883.6E9D.177D.C240!0001!66BB.B79A!0008!4BE8.0B1C.9637.535D', clientIdIssuedAt=Mon Nov 27 11:43:35 IST 2017, clientSecretExpiresAt=Tue Nov 28 11:43:35 IST 2017, clientName='null', sectorIdentifierUri='null', clientJwksUri='', setupOxdId='null', setupClientId='null', scope=[uma_protection], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, oxdRpProgrammingLanguage=null}
  9. 2017-11-27 11:43:35,782 ERROR [org.xdi.oxd.server.Processor] Failed to obtain PAT.
  10. java.lang.RuntimeException: Failed to obtain PAT.
  11.     at org.xdi.oxd.server.service.UmaTokenService.obtainTokenWithClientCredentials(UmaTokenService.java:209)
  12.     at org.xdi.oxd.server.service.UmaTokenService.obtainToken(UmaTokenService.java:168)
  13.     at org.xdi.oxd.server.service.UmaTokenService.obtainPat(UmaTokenService.java:150)
  14.     at org.xdi.oxd.server.service.UmaTokenService.getPat(UmaTokenService.java:145)
  15.     at org.xdi.oxd.server.op.RsProtectOperation$1.getPatToken(RsProtectOperation.java:48)
  16.     at org.xdi.oxd.rs.protect.resteasy.ResourceRegistrar.register(ResourceRegistrar.java:89)
  17.     at org.xdi.oxd.rs.protect.resteasy.ResourceRegistrar.register(ResourceRegistrar.java:50)
  18.     at org.xdi.oxd.server.op.RsProtectOperation.execute(RsProtectOperation.java:58)
  19.     at org.xdi.oxd.server.op.RsProtectOperation.execute(RsProtectOperation.java:31)
  20.     at org.xdi.oxd.server.Processor.process(Processor.java:76)
  21.     at org.xdi.oxd.server.Processor.process(Processor.java:51)
  22.     at org.xdi.oxd.server.SocketProcessor.run(SocketProcessor.java:55)
  23.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  24.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  25.     at java.lang.Thread.run(Thread.java:745)
  26. 2017-11-27 11:43:35,783 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"error","data":{"error":"internal_error","details":null,"error_description":"Unknown internal server error occurs."}}
  27. 2017-11-27 11:43:35,783 ERROR [org.xdi.oxd.server.SocketProcessor] Quit. Enable to process command.
  28. 2017-11-27 11:43:36,733 TRACE [org.xdi.oxd.server.license.LicenseService] Updated statistic. oxdId: caf3f950-46ce-43a5-9d4f-90352b7a9b90
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement