Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Post request --> 301 Moved Permanently

Avatar

Not applicable

Hello,

 

Since a couple of days, on the integration server of my customer, we are facing an issue.

When we edit the properties of a component on the author, the user is facing an error, the browser told him : Your request could not be completed because you have been signed out.

In firebug :

       
301 Moved Permanently
 70ms

The HTML of the response (the 301) is :

Forbidden

Cannot serve request to /content/customer/fr/master-page-agenda/jcr%3acontent/content/summaryeventslist_d1/ in org.apache.sling.servlets.get.DefaultGetServlet

Request Progress:

0 (2014-04-14 20:47:57) TIMER_START{Request Processing} 0 (2014-04-14 20:47:57) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message> 0 (2014-04-14 20:47:57) LOG Method=GET, PathInfo=/content/customer/fr/master-page-agenda/jcr:content/content/summaryeventslist_d1/ 0 (2014-04-14 20:47:57) TIMER_START{ResourceResolution} 0 (2014-04-14 20:47:57) TIMER_END{0,ResourceResolution} URI=/content/customer/fr/master-page-agenda/jcr%3acontent/content/summaryeventslist_d1/ resolves to Resource=JcrNodeResource, type=customer/customer/components/content/multimedia/summaryeventslist, superType=null, path=/content/customer/fr/master-page-agenda/jcr:content/content/summaryeventslist_d1 0 (2014-04-14 20:47:57) LOG Resource Path Info: SlingRequestPathInfo: path='/content/customer/fr/master-page-agenda/jcr:content/content/summaryeventslist_d1', selectorString='null', extension='null', suffix='/' 0 (2014-04-14 20:47:57) TIMER_START{ServletResolution} 0 (2014-04-14 20:47:57) TIMER_START{resolveServlet(JcrNodeResource, type=customer/customer/components/content/multimedia/summaryeventslist, superType=null, path=/content/customer/fr/master-page-agenda/jcr:content/content/summaryeventslist_d1)} 0 (2014-04-14 20:47:57) TIMER_END{0,resolveServlet(JcrNodeResource, type=customer/customer/components/content/multimedia/summaryeventslist, superType=null, path=/content/customer/fr/master-page-agenda/jcr:content/content/summaryeventslist_d1)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet 0 (2014-04-14 20:47:57) TIMER_END{0,ServletResolution} URI=/content/customer/fr/master-page-agenda/jcr%3acontent/content/summaryeventslist_d1/ handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet 0 (2014-04-14 20:47:57) LOG Applying Requestfilters 0 (2014-04-14 20:47:57) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter 0 (2014-04-14 20:47:57) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter 0 (2014-04-14 20:47:57) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.adobe.cq.history.impl.HistoryRequestFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet 0 (2014-04-14 20:47:57) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter 0 (2014-04-14 20:47:57) LOG RedirectFilter did not redirect (request extension does not match) 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl 0 (2014-04-14 20:47:57) LOG Applying Componentfilters 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter 0 (2014-04-14 20:47:57) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter 0 (2014-04-14 20:47:57) TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0} 0 (2014-04-14 20:47:57) LOG Using org.apache.sling.servlets.get.impl.helpers.StreamRendererServlet to render for extension=null 0 (2014-04-14 20:47:57) LOG Applying Error filters 0 (2014-04-14 20:47:57) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 0 (2014-04-14 20:47:57) TIMER_START{handleError:status=403} 0 (2014-04-14 20:47:57) TIMER_END{0,handleError:status=403} Using handler /libs/sling/servlet/errorhandler/default.jsp 0 (2014-04-14 20:47:57) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=JcrPropertyMap [node=node /libs/cq/config/rewriter/default/transformer-mobile, values={component-optional=true, jcr:primaryType=nt:unstructured}]), Config(type=mobiledebug, config=JcrPropertyMap [node=node /libs/cq/config/rewriter/default/transformer-mobiledebug, values={component-optional=true, jcr:primaryType=nt:unstructured}]), Config(type=contentsync, config=JcrPropertyMap [node=node /libs/cq/config/rewriter/default/transformer-contentsync, values={component-optional=true, jcr:primaryType=nt:unstructured}]), serializer=Config(type=htmlwriter, config={}))} 0 (2014-04-14 20:47:57) TIMER_END{0,Request Processing} Dumping SlingRequestProgressTracker Entries

 

I a little bit concerned to see that the defaultGetServlet answer my request instead of the SlingPostServlet..

 

This doesn't happened on my local instance.

Nothing seems to be displayed in a log file.

In the recent request of the Felix console, I can't see a POST on my component URL.

 

I hope that someone could have an idea of where I can look to figure out the solution..

 

 

Thanks in advance

 

MisterJpa

2 Replies

Avatar

Level 8

Are you operating in a clustered environment? If so are you using sticky sessions? 

Avatar

Not applicable

No, we are not operating in clustered environment.