You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe we found another bug while testing our upgrade to EE10 (Java 21) on App Engine Standard.
If we attempt a redirect from a JSP (via HttpServletResponse::sendRedirect(String) like response.sendRedirect("/some-path");), it works properly locally but crashes when running via our deployed App Engine application (with an error like: Request failed: Unexpected Error: java.io.IOException: written 2 > 0 content-length). When sending a redirect from a non-JSP HttpServlet, there are no issues; so it appears to be an issue specific to handling redirects from JSPs.
I believe we found another bug while testing our upgrade to EE10 (Java 21) on App Engine Standard.
If we attempt a redirect from a JSP (via
HttpServletResponse::sendRedirect(String)
likeresponse.sendRedirect("/some-path");
), it works properly locally but crashes when running via our deployed App Engine application (with an error like:Request failed: Unexpected Error: java.io.IOException: written 2 > 0 content-length
). When sending a redirect from a non-JSPHttpServlet
, there are no issues; so it appears to be an issue specific to handling redirects from JSPs.This can be reproduced with my sample web app: https://github.com/MuffinTheMan/appengine-standard-ee10-sample/tree/3-redirects (see the
README.md
for instructions--I have been testing with a custom runtime built from this commit: 0f190e8 due to #316).From the README:
Broken
/redirect-test
/jsp
Request failed: Unexpected Error: java.io.IOException: written 2 > 0 content-length
Working
/redirect
/jsp
/jsp
The text was updated successfully, but these errors were encountered: