Hello ,
In AEM Author after upgrading from AEM 6.2 to AEM 6.3 SP2 CFP1, I'm not able to create a page providing only "title" property.
When I try to create only with title It was loading for long time and throwing "failed to submit the form" error dialog with below errors, However I'm able to create page successfully if I'm providing both title and name property (where name is not mandatory field).
Can someone let me know if you came across this similar issue and got it resolved?
Thanks in advance!
Error Logs:
06.06.2018 03:36:49.233 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [7009, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
06.06.2018 03:39:30.873 *ERROR* [qtp1615485042-41796] org.apache.sling.engine.impl.parameters.ParameterSupport getRequestParameterMapInternal: Error parsing request
org.eclipse.jetty.io.EofException: Early EOF
at org.eclipse.jetty.server.HttpInput$3.noContent(HttpInput.java:519)
at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:125)
at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:110)
at org.apache.sling.engine.impl.parameters.Util.parseNVPairString(Util.java:242)
at org.apache.sling.engine.impl.parameters.Util.parseQueryString(Util.java:215)
at org.apache.sling.engine.impl.parameters.ParameterSupport.getRequestParameterMapInternal(ParameterSupport.java:278)
at org.apache.sling.engine.impl.parameters.ParameterSupport.getParameter(ParameterSupport.java:179)
at org.apache.sling.engine.impl.parameters.ParameterSupportHttpServletRequestWrapper.getParameter(ParameterSupportHttpServletRequestWrapper.java:40)
at org.apache.sling.auth.core.impl.SlingAuthenticator.handleImpersonation(SlingAuthenticator.java:1319)
at org.apache.sling.auth.core.impl.SlingAuthenticator.getResolver(SlingAuthenticator.java:794)
at org.apache.sling.auth.core.impl.SlingAuthenticator.doHandleSecurity(SlingAuthenticator.java:511)
at org.apache.sling.auth.core.impl.SlingAuthenticator.handleSecurity(SlingAuthenticator.java:460)
at org.apache.sling.engine.impl.SlingHttpContext.handleSecurity(SlingHttpContext.java:131)
at org.apache.felix.http.base.internal.whiteboard.PerBundleServletContextImpl.handleSecurity(PerBundleServletContextImpl.java:81)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:57)
at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:127)
at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
06.06.2018 03:39:30.876 *INFO* [10.36.146.158 [1528256370874] POST /libs/wcm/core/content/sites/createpagewizard/_jcr_content HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter isValidRequest: the CSRF token is expired
06.06.2018 03:39:30.876 *INFO* [10.36.146.158 [1528256370874] POST /libs/wcm/core/content/sites/createpagewizard/_jcr_content HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter doFilter: the provided CSRF token is invalid
Regards,
GVK
Solved! Go to Solution.
The cause of the error may network problem. or "close browser window" during the process. The org.eclipse.jetty.io.EofException: Early EOF during org.eclipse.jetty.server.HttpInput.read() means that while actively reading the Request from the Connection, it terminated prematurely, and the complete HTTP Request was not received.
Check the network stability and the user operation. If problem persists, then create a ticket with Support.
-kautuk
Views
Replies
Total Likes
The cause of the error may network problem. or "close browser window" during the process. The org.eclipse.jetty.io.EofException: Early EOF during org.eclipse.jetty.server.HttpInput.read() means that while actively reading the Request from the Connection, it terminated prematurely, and the complete HTTP Request was not received.
Check the network stability and the user operation. If problem persists, then create a ticket with Support.
-kautuk
Views
Replies
Total Likes
I agree with Kautuk -- this does not happen on Fresh AEM installs. Therefore it looks like some sort of upgrade issue.
Views
Replies
Total Likes
Thanks Kautuk,
But I'm able to create a page successfully when providing both title and name property. So not sure if it's related to close browser or network problem.
Regards,
GVK!
Views
Replies
Total Likes
Thanks Scott!
Were there any similar issues seen before after the upgrade ?
Views
Replies
Total Likes
I can see some issues reported internal related to this. Please reach-out to the Support and ask for the fix.
Thanks Kautuk,
Will check with support for the fix.
Regards,
GVK
Views
Replies
Total Likes
Hi All,
We are facing similar error on our Sling servlet hosted on AEM6.3.
The Servlet is invoked to submit an information in POST body and sometime the below exceptions is thrown and our request is lost (we are reading the stream from the Post body from the request).
We tried to set longer timeouts both at servlet and client, but this does not helps and the error pops up often. (we checked with out networking team as well, whether there are abrupt connection closure happening, but the response is negative)
at org.eclipse.jetty.server.HttpInput$3.noContent(HttpInput.java:519)
at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:125)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.Reader.read(Reader.java:140)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2369)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2348)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2325)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2273)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:1041)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:1021)
Is there a plausible solution to this ?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies