New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3auth response timeout and load failure every ~90m #329

Closed
dhezl opened this Issue Jul 25, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@dhezl

dhezl commented Jul 25, 2016

Every 90-120m, s3auth hangs when requesting the s3 bucket. Site will freeze (loading) for ~2m and then generate the following error:


java.io.IOException: failed to fetch <subdirectory and page> from '<url.com>' (key=<KEY>): ["'<subdirectory and page>': Status Code: 404, AWS Service: Amazon S3, AWS Request ID: null, AWS Error Code: null, AWS Error Message: null", "'<subdirectory and page>': Status Code: 404, AWS Service: Amazon S3, AWS Request ID: null, AWS Error Code: null, AWS Error Message: null"]
    at com.s3auth.hosts.DefaultHost.fetch_aroundBody2(DefaultHost.java:228)
    at com.s3auth.hosts.DefaultHost$AjcClosure3.run(DefaultHost.java:1)
    at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
    at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:200)
    at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
    at com.jcabi.aspects.aj.MethodLogger.wrapMethod(MethodLogger.java:156)
    at com.s3auth.hosts.DefaultHost.fetch_aroundBody4(DefaultHost.java:166)
    at com.s3auth.hosts.DefaultHost$AjcClosure5.run(DefaultHost.java:1)
    at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
    at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:126)
    at com.s3auth.hosts.DefaultHost.fetch(DefaultHost.java:166)
    at com.s3auth.hosts.SmartHost.fetch_aroundBody6(SmartHost.java:115)
    at com.s3auth.hosts.SmartHost$AjcClosure7.run(SmartHost.java:1)
    at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
    at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:200)
    at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
    at com.jcabi.aspects.aj.MethodLogger.wrapMethod(MethodLogger.java:156)
    at com.s3auth.hosts.SmartHost.fetch_aroundBody8(SmartHost.java:100)
    at com.s3auth.hosts.SmartHost$AjcClosure9.run(SmartHost.java:1)
    at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
    at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:126)

[2:57]  
at com.s3auth.hosts.SmartHost.fetch(SmartHost.java:100)
    at com.s3auth.relay.SecuredHost.secured(SecuredHost.java:199)
    at com.s3auth.relay.SecuredHost.fetch_aroundBody0(SecuredHost.java:103)
    at com.s3auth.relay.SecuredHost$AjcClosure1.run(SecuredHost.java:1)
    at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
    at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:200)
    at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
    at com.jcabi.aspects.aj.MethodLogger.wrapMethod(MethodLogger.java:156)
    at com.s3auth.relay.SecuredHost.fetch_aroundBody2(SecuredHost.java:102)
    at com.s3auth.relay.SecuredHost$AjcClosure3.run(SecuredHost.java:1)
    at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
    at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:126)
    at com.s3auth.relay.SecuredHost.fetch(SecuredHost.java:102)
    at com.s3auth.relay.HttpThread.resource(HttpThread.java:247)
    at com.s3auth.relay.HttpThread.dispatch(HttpThread.java:169)
    at com.s3auth.relay.HttpFacade$HttpThreadRunnable.run(HttpFacade.java:261)
    at com.jcabi.log.VerboseRunnable.run(VerboseRunnable.java:201)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at com.jcabi.log.VerboseThreads$Wrap.run(VerboseThreads.java:223)
    at java.lang.Thread.run(Thread.java:701)
@dhezl

This comment has been minimized.

Show comment
Hide comment
@dhezl

dhezl Jul 25, 2016

Closing inadvertent duplicate

dhezl commented Jul 25, 2016

Closing inadvertent duplicate

@dhezl dhezl closed this Jul 25, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment