首页 > 其他分享 >MinIO上传文件The difference between the request time and the server's time is too large.异常

MinIO上传文件The difference between the request time and the server's time is too large.异常

时间:2023-03-23 15:13:53浏览次数:36  
标签:MinIO ntpdate request hwclock 时间 too time date

问题

向MinIO上传文件时,抛出异常:The difference between the request time and the server‘s time is too large.
使用date命令修改CentOS时间后,异常依然存在。

相关Linux命令

查看系统时间:date
查看硬件时间:hwclock

原因

只修改了系统时间,硬件时间未修改。

解决方法

方法1

1. 手动修改系统时间

date -s 20210127
date -s 16:01:32
date -s "20210127 16:01:32"

2. 将系统时间写入硬件时间

hwclock --systohc

方法2

1. 安装ntp ntpdate

yum -y install ntp ntpdate

2. 与时间服务器同步时间

ntpdate cn.pool.ntp.org

3. 将系统时间写入硬件时间

hwclock --systohc

标签:MinIO,ntpdate,request,hwclock,时间,too,time,date
From: https://www.cnblogs.com/kisshappyboy/p/17247497.html

相关文章

  • minio的使用
    minio介绍1.1.minio是什么?MinIO是一个基于ApacheLicensev2.0开源协议的对象存储服务。它兼容亚马逊S3云存储服务接口,非常适合于存储大容量非结构化的数据,例如图片、......
  • minio
    二.minio介绍minio是什么?MinIO是一个基于ApacheLicensev2.0开源协议的对象存储服务。它兼容亚马逊S3云存储服务接口,非常适合于存储大容量非结构化的数据,例如图片、视......
  • Python中使用requests和parsel爬取喜马拉雅电台音频
    场景喜马拉雅电台:https://www.ximalaya.com/找到一步小说音频,这里以下面为例https://www.ximalaya.com/youshengshu/16411402/关注公众号霸道的程序猿获取编程相关电子书......
  • 4 步缩减 Script Evaluation Time
    4步缩减ScriptEvaluationTime 4步缩减脚本评估时间(ScriptEvaluationTime)https://touch.marfeel.com/resources/blog/reduce-script-evaluation-time#:~:t......
  • 请求对象HttpServletRequest——获取请求头信息的方法
      @OverrideprotectedvoiddoGet(HttpServletRequestreq,HttpServletResponseresp)throwsServletException,IOException{Stringconnecti......
  • 生产环境minio 部署
    minio分布式集群的详细搭建1,准备工作4台服务器,每台服务器,挂载一个硬盘以下不重启识别硬盘echo"---">/sys/class/scsi_host/host0/scanecho"---">/sys/class/......
  • iOS 永久解决NSTimer/CADisplayLink循环引用的问题
    在iOS中定时器的循环引用会导致定时器无法正常关闭,页面无法正常释放导致内存泄漏。正常来讲我们的vc强引用定时器定时器强引用vc从而导致引用环无法结束,通过中间人的方......
  • SQlServer 日期格式 varchar 转 datetime格式
    以下是一个示例查询,将VARCHAR类型的时间字符串20230118.132626转换为日期和时间格式:SELECTDATE_ADD('2023-01-1812:00:00',INTERVAL'1'hour,INTERVAL'1'm......
  • Nginx异常信息 upstream timed out (110: Connection timed out) while reading respo
    upstreamtimedout(110:Connectiontimedout)whilereadingresponseheaderfromupstreamNginx代理配置如下:###proxysettingsstartproxy_http_version1.1;p......
  • 用System.currentTimeMillis()统计代码运行时间?说明你还是新手
    用System.currentTimeMillis()统计代码运行时间?说明你还是新手原创2023-03-2116:31·Java编程世界 今日有人问我开发中是怎么统计代码执行时长的,在本文中,我们将介绍......