Stream: finnish PHR
Topic: Sandbox UI error
Mikael Rinnetmäki (Dec 08 2019 at 08:49):
I ran into an error with the GUI interface of the sandbox. I tried searching for observations for patient ccb7c719-0526-4e51-a0df-0c2845bd0755
, which resulted in url
http://fhirsandbox.kanta.fi/phr-resourceserver-ui/search?serverId=home&pretty=true&resource=Observation¶m.0.0=¶m.0.1=ccb7c719-0526-4e51-a0df-0c2845bd0755¶m.0.name=patient¶m.0.type=reference&sort_by=&sort_direction=&resource-search-limit= and an error:
Error 500: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "requestHeaders.length" (template: "result" - line 68, col 13)
Mikael Rinnetmäki (Dec 08 2019 at 08:51):
I did succeed on the second try, with the same URL.
Juuso Oksanen (Dec 19 2019 at 08:39):
The Sandbox UI's error message seems to be related to the request being timed out. Most likely the request took too long while searching for profiles that weren't cached yet. The sandbox UI is based on the HAPI test-overlay so we will have to check what we can do to configurate it to allow longer lasting requests, or at least return a more coherent response reflecting what happened.
For now I would suggest sending the request again if you encounter this error. If this keeps occurring and retrying doesn't help, be sure to keep us posted.
Last updated: Apr 12 2022 at 19:14 UTC