The difference between the "request Time" and "the" is too large.

Source: Internet
Author: User
Tags aop aliyun

error message:

[Error code]:requesttimetooskewed, [message]:the difference between the ' request time ' and ' the ' current ' time ' is too large.
At Com.aliyun.openservices.oss.internal.OSSExceptionFactory.create (ossexceptionfactory.java:15)
At Com.aliyun.openservices.oss.internal.OSSErrorResponseHandler.handle (osserrorresponsehandler.java:39)
At Com.aliyun.common.comm.ServiceClient.handleResponse (serviceclient.java:284)
At Com.aliyun.common.comm.ServiceClient.sendRequestImpl (serviceclient.java:177)
At Com.aliyun.common.comm.ServiceClient.sendRequest (serviceclient.java:136)
At Com.aliyun.openservices.oss.internal.OSSOperation.send (ossoperation.java:60)
At Com.aliyun.openservices.oss.internal.OSSObjectOperation.putObject (ossobjectoperation.java:76)
At Com.aliyun.openservices.oss.OSSClient.putObject (ossclient.java:302)
At Com.fuerda.user.tools.UpLoadToOss.uploadFile (uploadtooss.java:156)
At Com.fuerda.user.tools.UpLoadToOss.upload (uploadtooss.java:67)
At COM.FUERDA.USER.SERVICE.UPLOADIMGSERIVCE.UPLOADIMG (uploadimgserivce.java:59)
At Com.fuerda.user.business.user.UploadImgService.operate (uploadimgservice.java:44)
At COM.FUERDA.USER.CONTROLLER.USERCONTROLLER.UPLOADIMG (usercontroller.java:137)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:62)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:498)
At Com.jfinal.aop.Invocation.invoke (invocation.java:73)
At Com.fuerda.user.interceptor.MD5APIInterceptor.intercept (md5apiinterceptor.java:42)
At Com.jfinal.aop.Invocation.invoke (invocation.java:67)
At Com.fuerda.user.interceptor.customexceptioninterceptor$exceptionhandler.dointercept ( CUSTOMEXCEPTIONINTERCEPTOR.JAVA:100)
At Com.fuerda.user.interceptor.CustomExceptionInterceptor.intercept (customexceptioninterceptor.java:47)
At Com.jfinal.aop.Invocation.invoke (invocation.java:67)
At Com.jfinal.core.ActionHandler.handle (actionhandler.java:74)
At Com.jfinal.core.JFinalFilter.doFilter (jfinalfilter.java:72)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:240)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:207)
At Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:212)
At Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:106)
At Org.apache.catalina.authenticator.AuthenticatorBase.invoke (authenticatorbase.java:502)
At Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:141)
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:79)
At Org.apache.catalina.valves.AbstractAccessLogValve.invoke (abstractaccesslogvalve.java:616)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:88)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:509)
At Org.apache.coyote.http11.AbstractHttp11Processor.process (abstracthttp11processor.java:1104)
At Org.apache.coyote.abstractprotocol$abstractconnectionhandler.process (abstractprotocol.java:684)
At Org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun (nioendpoint.java:1520)
At Org.apache.tomcat.util.net.nioendpoint$socketprocessor.run (nioendpoint.java:1476)
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1142)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:617)
At Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (taskthread.java:61)
At Java.lang.Thread.run (thread.java:745)
[2017-01-06 02:51:39] status:7008 picture upload failed, please upload it again


The reason for the error: inconsistent timing or time zone problems, I mainly encountered a time zone problem, Linux system time is not Hongkong or Shanghai time zone, even if the time has changed to the same error.

Workaround: Sync Linux system time, change time zone for Hongkong or Shanghai.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.