error [03:10:02.393] [warning][process] Error: Request Timeout after 30000ms

1、启动kibana报错,如下所示:

1 [elsearch@master kibana-7.2.1-linux-x86_64]$ ./bin/kibana
  2   log   [03:09:30.348] [info][status][plugin:kibana@7.2.1] Status changed from uninitialized to green - Ready
  3   log   [03:09:30.362] [info][status][plugin:elasticsearch@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  4   log   [03:09:30.368] [info][status][plugin:xpack_main@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  5   log   [03:09:30.406] [info][status][plugin:graph@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  6   log   [03:09:30.436] [info][status][plugin:monitoring@7.2.1] Status changed from uninitialized to green - Ready
  7   log   [03:09:30.440] [info][status][plugin:spaces@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  8   log   [03:09:30.451] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
  9   log   [03:09:30.457] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.

 10   log   [03:09:30.492] [info][status][plugin:security@7.2.1] Status changed from uninitialized to green - Ready
 11   log   [03:09:30.499] [info][status][plugin:searchprofiler@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 12   log   [03:09:30.503] [info][status][plugin:ml@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 13   log   [03:09:30.586] [info][status][plugin:tilemap@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 14   log   [03:09:30.588] [info][status][plugin:watcher@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 15   log   [03:09:30.607] [info][status][plugin:grokdebugger@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 16   log   [03:09:30.619] [info][status][plugin:dashboard_mode@7.2.1] Status changed from uninitialized to green - Ready
 17   log   [03:09:30.621] [info][status][plugin:logstash@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 18   log   [03:09:30.632] [info][status][plugin:beats_management@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 19   log   [03:09:30.657] [info][status][plugin:apm_oss@7.2.1] Status changed from uninitialized to green - Ready
 20   log   [03:09:30.675] [info][status][plugin:apm@7.2.1] Status changed from uninitialized to green - Ready
 21   log   [03:09:30.678] [info][status][plugin:code@7.2.1] Status changed from uninitialized to green - Ready
 22   log   [03:09:30.681] [info][status][plugin:tile_map@7.2.1] Status changed from uninitialized to green - Ready
 23   log   [03:09:30.684] [info][status][plugin:task_manager@7.2.1] Status changed from uninitialized to green - Ready
 24   log   [03:09:30.695] [info][status][plugin:maps@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 25   log   [03:09:30.719] [info][status][plugin:interpreter@7.2.1] Status changed from uninitialized to green - Ready
 26   log   [03:09:30.757] [info][status][plugin:canvas@7.2.1] Status changed from uninitialized to green - Ready
 27   log   [03:09:30.766] [info][status][plugin:license_management@7.2.1] Status changed from uninitialized to green - Ready
 28   log   [03:09:30.768] [info][status][plugin:cloud@7.2.1] Status changed from uninitialized to green - Ready
 29   log   [03:09:30.772] [info][status][plugin:index_management@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 30   log   [03:09:30.797] [info][status][plugin:console@7.2.1] Status changed from uninitialized to green - Ready
 31   log   [03:09:30.806] [info][status][plugin:console_extensions@7.2.1] Status changed from uninitialized to green - Ready
 32   log   [03:09:30.813] [info][status][plugin:notifications@7.2.1] Status changed from uninitialized to green - Ready
 33   log   [03:09:30.815] [info][status][plugin:index_lifecycle_management@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 34   log   [03:09:30.837] [info][status][plugin:metrics@7.2.1] Status changed from uninitialized to green - Ready
 35   log   [03:09:30.879] [info][status][plugin:infra@7.2.1] Status changed from uninitialized to green - Ready
 36   log   [03:09:30.881] [info][status][plugin:rollup@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 37   log   [03:09:30.897] [info][siem] Plugin initializing
 38   log   [03:09:30.940] [info][siem] Plugin done initializing
 39   log   [03:09:30.941] [info][status][plugin:siem@7.2.1] Status changed from uninitialized to green - Ready
 40   log   [03:09:30.945] [info][status][plugin:remote_clusters@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 41   log   [03:09:30.957] [info][status][plugin:cross_cluster_replication@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 42   log   [03:09:30.972] [info][status][plugin:translations@7.2.1] Status changed from uninitialized to green - Ready
 43   log   [03:09:30.988] [info][status][plugin:upgrade_assistant@7.2.1] Status changed from uninitialized to green - Ready
 44   log   [03:09:31.008] [info][status][plugin:uptime@7.2.1] Status changed from uninitialized to green - Ready
 45   log   [03:09:31.012] [info][status][plugin:oss_telemetry@7.2.1] Status changed from uninitialized to green - Ready
 46   log   [03:09:31.016] [warning][encrypted_saved_objects] Generating a random key for xpack.encrypted_saved_objects.encryptionKey. To be able to decrypt encrypted saved objects attributes after restart, please set xpack.encrypted_saved_objects.encryptionKey in kibana.yml
 47   log   [03:09:31.017] [info][status][plugin:encrypted_saved_objects@7.2.1] Status changed from uninitialized to green - Ready
 48   log   [03:09:31.035] [info][status][plugin:snapshot_restore@7.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
 49   log   [03:09:31.043] [info][status][plugin:data@7.2.1] Status changed from uninitialized to green - Ready
 50   log   [03:09:31.258] [info][status][plugin:timelion@7.2.1] Status changed from uninitialized to green - Ready
 51   log   [03:09:31.263] [info][status][plugin:ui_metric@7.2.1] Status changed from uninitialized to green - Ready
 52   log   [03:09:32.365] [info][status][plugin:elasticsearch@7.2.1] Status changed from yellow to green - Ready
 53   log   [03:09:32.909] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active
 54   log   [03:09:32.964] [info][status][plugin:xpack_main@7.2.1] Status changed from yellow to green - Ready
 55   log   [03:09:32.965] [info][status][plugin:graph@7.2.1] Status changed from yellow to green - Ready
 56   log   [03:09:32.970] [info][status][plugin:searchprofiler@7.2.1] Status changed from yellow to green - Ready
 57   log   [03:09:32.976] [info][status][plugin:ml@7.2.1] Status changed from yellow to green - Ready
 58   log   [03:09:32.979] [info][status][plugin:tilemap@7.2.1] Status changed from yellow to green - Ready
 59   log   [03:09:32.986] [info][status][plugin:watcher@7.2.1] Status changed from yellow to green - Ready
 60   log   [03:09:32.988] [info][status][plugin:grokdebugger@7.2.1] Status changed from yellow to green - Ready
 61   log   [03:09:32.989] [info][status][plugin:logstash@7.2.1] Status changed from yellow to green - Ready
 62   log   [03:09:32.991] [info][status][plugin:beats_management@7.2.1] Status changed from yellow to green - Ready
 63   log   [03:09:32.992] [info][status][plugin:index_management@7.2.1] Status changed from yellow to green - Ready
 64   log   [03:09:32.993] [info][status][plugin:index_lifecycle_management@7.2.1] Status changed from yellow to green - Ready
 65   log   [03:09:32.994] [info][status][plugin:rollup@7.2.1] Status changed from yellow to green - Ready
 66   log   [03:09:32.996] [info][status][plugin:remote_clusters@7.2.1] Status changed from yellow to green - Ready
 67   log   [03:09:32.997] [info][status][plugin:cross_cluster_replication@7.2.1] Status changed from yellow to green - Ready
 68   log   [03:09:32.998] [info][status][plugin:snapshot_restore@7.2.1] Status changed from yellow to green - Ready
 69   log   [03:09:33.000] [info][kibana-monitoring][monitoring] Starting monitoring stats collection
 70   log   [03:09:33.029] [info][status][plugin:maps@7.2.1] Status changed from yellow to green - Ready
 71   log   [03:09:36.580] [warning][browser-driver][reporting] Enabling the Chromium sandbox provides an additional layer of protection.

 72   log   [03:09:36.627] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
 73   log   [03:09:36.696] [info][status][plugin:reporting@7.2.1] Status changed from uninitialized to green - Ready
 74  error  [03:10:02.387] [warning][process] UnhandledPromiseRejectionWarning: Error: Request Timeout after 30000ms
 75     at /data/kibana-7.2.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:362:15
 76     at Timeout. (/data/kibana-7.2.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:391:7)
 77     at ontimeout (timers.js:436:11)
 78     at tryOnTimeout (timers.js:300:5)
 79     at listOnTimeout (timers.js:263:5)
 80     at Timer.processTimers (timers.js:223:10)
 81     at emitWarning (internal/process/promises.js:81:15)
 82     at emitPromiseRejectionWarnings (internal/process/promises.js:120:9)
 83     at process._tickCallback (internal/process/next_tick.js:69:34)
 84  error  [03:10:02.393] [warning][process] Error: Request Timeout after 30000ms
 85     at /data/kibana-7.2.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:362:15
 86     at Timeout. (/data/kibana-7.2.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:391:7)
 87     at ontimeout (timers.js:436:11)
 88     at tryOnTimeout (timers.js:300:5)
 89     at listOnTimeout (timers.js:263:5)
 90     at Timer.processTimers (timers.js:223:10)
 91   log   [03:10:06.696] [warning][reporting] Reporting plugin self-check failed. Please check the Kibana Reporting settings. Error: Request Timeout after 30000ms
 92   log   [03:10:06.784] [warning][task_manager] PollError Request Timeout after 30000ms
 93   log   [03:10:06.787] [warning][maps] Error scheduling telemetry task, received NotInitialized: Tasks cannot be scheduled until after task manager is initialized!

 94   log   [03:10:06.790] [warning][telemetry] Error scheduling task, received NotInitialized: Tasks cannot be scheduled until after task manager is initialized!

 95   log   [03:10:36.807] [error][status][plugin:spaces@7.2.1] Status changed from yellow to red - Request Timeout after 30000ms
 96   log   [03:10:36.813] [fatal][root] { Error: Request Timeout after 30000ms
 97     at /data/kibana-7.2.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:362:15
 98     at Timeout. (/data/kibana-7.2.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:391:7)
 99     at ontimeout (timers.js:436:11)
100     at tryOnTimeout (timers.js:300:5)
101     at listOnTimeout (timers.js:263:5)
102     at Timer.processTimers (timers.js:223:10)
103   status: undefined,
104   displayName: 'RequestTimeout',
105   message: 'Request Timeout after 30000ms',
106   body: undefined,
107   isBoom: true,
108   isServer: true,
109   data: null,
110   output:
111    { statusCode: 503,
112      payload:
113       { statusCode: 503,
114         error: 'Service Unavailable',
115         message: 'Request Timeout after 30000ms' },
116      headers: {} },
117   reformat: [Function],
118   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/esUnavailable' }
119
120  FATAL  Error: Request Timeout after 30000ms

2、解决方法。

2.1、第一种解决方法,可以将kibana请求es的请求时长调大,如下所示:

2.2、调整/data/elasticsearch-7.2.1/config/jvm.options的jvm参数。将内存调大,如下所示:

默认是1gb的,如果想要把自己虚拟机的改成2gb的话,至少需要给虚拟机3gb,我这个给的是4gb内存,然后如果给2gb内存,这两个参数调整为2gb的话,启动直接报内存不足的错误。

Original: https://www.cnblogs.com/biehongli/p/15136709.html
Author: 别先生
Title: error [03:10:02.393] [warning][process] Error: Request Timeout after 30000ms

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/551250/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

  • 聊一聊Redis事务

    没错,Redis也有事务管理,但是功能很简单,在正式开发中也并不推荐使用。但是面试中有可能会问到,所以本文简单谈一谈Redis的事务。 通过这篇文章,你会了解 Redis为什么要提…

    技术杂谈 2023年7月23日
    082
  • Java 的JAR包、EAR包、WAR包区别

    WAR(Web Archive file) 网络应用程序文件,是与平台无关的文件格式,它允许将许多文件组合成一个压缩文件。WAR专用于Web方面。大部分的JAVA WEB工程,都是…

    技术杂谈 2023年7月11日
    058
  • Jenkins发布SpringBoot项目

    第二步:Configure System (系统设置) 我们只需要设置最后面的一项,配置远程服务SSH: 配置完成后点击保存即可,为后面我们配置自动化部署做准备,配置如下图: 第三…

    技术杂谈 2023年7月11日
    079
  • MySQL — 数据控制语言

    DCL 全称 Data Control Language。数据控制语言,用来创建数据库用户、控制数据库的访问权限。 1、用户管理 select * from user; 只能在指定…

    技术杂谈 2023年7月11日
    0108
  • 如何保持自己 fork 的项目和原始项目同步

    ============================================================================== 本博客已经废弃,不在维…

    技术杂谈 2023年6月1日
    0110
  • bloomrpc 安装 —rpc 软件安装

    404. 抱歉,您访问的资源不存在。 可能是网址有误,或者对应的内容被删除,或者处于私有状态。 代码改变世界,联系邮箱 contact@cnblogs.com 园子的商业化努力-困…

    技术杂谈 2023年5月31日
    084
  • SRE网站可靠性工程师

    SRE网站可靠性工程师 SRE需要做什么? 故障模式,尤其是SPOF(单点故障)。消除SPOFs是你作为SRE最大的挑战和乐趣。 基础设施组件,从应用程序到硬件(服务器、交换机、路…

    技术杂谈 2023年5月31日
    076
  • Vue.JS React 精彩文章汇总

    posted @2017-10-23 00:26 最骚的就是你 阅读(1590 ) 评论() 编辑 Original: https://www.cnblogs.com/libin-…

    技术杂谈 2023年5月31日
    0106
  • Hexo博客Next v7.X 主题升级,美化警示录

    前言 经历了好几天(懒癌晚期懒得数了)的与主题升级斗争后,我终于完成基本上完成了next主题的升级!升到了V7.3!哈哈哈哈哈哈隔,我一个小白干这事干嘛呀我….这不是自…

    技术杂谈 2023年6月21日
    0118
  • 批量执行失败的Power Automate 流程

    概述 Power Automate 是一个云端的服务,它可以让我们很方便地定义流程,这些流程可以根据事件触发、手工运行、被程序调用、定时运行等,设计这种流程不需要编程能力,它内置了…

    技术杂谈 2023年5月31日
    0100
  • react新手demo——TodoList

    今天我们就使用 react 来实现一个简易版的 todolist ,我们可以使用这个 demo 进行 list 的增删改差,实际效果如上图所示。大家可以 clone下来查看:rea…

    技术杂谈 2023年5月31日
    0116
  • [ios]CGContext 函数说明

    CGContextRef context = UIGraphicsGetCurrentContext(); 设置上下文 CGContextMoveToPoint 开始画线 CGCo…

    技术杂谈 2023年5月30日
    0101
  • mac 快速安装watchman

    有时候homebrew在国内不太友好,安装软件有时候会。。。你懂的。。 快速安装法: 指南: 然后: Original: https://www.cnblogs.com/loade…

    技术杂谈 2023年5月31日
    081
  • Flask中的request和response

    Flask的request和response Flask中的request 每个框架中都有处理请求的机制(request),但是每个框架的处理方式不同但机制都是大同小异。 requ…

    技术杂谈 2023年7月24日
    080
  • Html5+Css3BannerAnimation多方位移动特效

    背景:朋友问我小米官网的mi4的特效会做吗,可能新接的一个小网站需要用到。一直有打算研究H5C3的一些效果,趁此机会,赶紧学习一下! 效果:如图 素材 HTML: STYLE: J…

    技术杂谈 2023年7月24日
    082
  • 笔记:linux 总结

    1.开始 Linux,全称GNU/Linux,是一种免费使用和自由传播的类UNIX操作系统,其内核由林纳斯·本纳第克特·托瓦兹于1991年10月5日首次发布,它主要受到Minix和…

    技术杂谈 2023年7月25日
    0119
亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球