-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 13.0.0
-
Fix Version/s: 13.0.0
-
Component/s: UMA
-
Labels:
-
Environment:Centos 7.1
Tomcat 7
Oracle Java 8
Happens on both development PCs and AWS environment
-
Rank:1|hzlii7:
-
Sprint:Sprint 89 - Team Tesla, Sprint 90 - Team Tesla, Sprint 91 - Team Tesla
When making a register resource request like below, an error is sometimes returned:
Request:
curl -sS \
--insecure \
--request POST \
--header "Authorization: Bearer ${PAT}" \
--data \
'{
"name" : "'${NAME}'",
"icon_uri" : "http://www.example.com/icons/flower.png",
"scopes" : [
"http://photoz.example.com/dev/scopes/view",
"http://photoz.example.com/dev/scopes/all"
],
"type" : "http://www.example.com/rsets/photoalbum"
}' \
https://${SSO_HOST}/sso/oauth2/resource_set/
Response:
{"error_description":null,"error":"server_error"}There is an exception in the Entitlement logs and in the Catalina log (see attached).
We are using OpenAM 13.0.0-SNAPSHOT Build 14532 (2015-July-09 03:09)
Once there is an error, there will always be an error. Restarting tomcat often resolves the issue. If there is a successful response, then there will usually be more successful responses. The error seems to happen most often after a re-deploy or restart.
It seems similar to an existing JIRA OPENAM-5786 but this has been marked as fixed.
Please let me know if you need more information