After deploying the micro-frontends in Tomcat, I can’t go past the login page as I keep getting the Error:
ERROR - GZIPResponseWrapper.finishResponse(60) |2022-11-06 22:38:07,815| Error during closing writer or stream
java.io.IOException: This output stream has already been closed
at org.openmrs.web.filter.GZIPResponseStream.close(GZIPResponseStream.java:55)
at org.openmrs.web.filter.GZIPResponseWrapper.finishResponse(GZIPResponseWrapper.java:55)
at org.openmrs.module.xforms.web.XformsFilter.doFilter(XformsFilter.java:63)
at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
@amugume & @dkayiwa do you think this means that implementers will be required to have Platform version 2.4.0+ in order to use OHRI? Or even O3 in general?
Or was this triggered by a specific, semi-unusual use case…?
Reason I’m asking is that my understanding until now has been that folks only need Platform 2.1+ in order to use O3 (though we recommend >2.3)
Looking at the commits, i have just noticed that it was also applied to the 2.3.x branch and released in platform version 2.3.3. I have added this fix version to the JIRA ticket. Does this automatically fit in our recommendation?
That being said, the fix was was so simple that we can easily back port it all the way to the platform 2.1.x branch.