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)

大家都在看

  • 图像搜索、以图搜图测试

    图像搜索、以图搜图测试; Original: https://www.cnblogs.com/chenying99/p/12534633.htmlAuthor: 刺猬的温驯Titl…

    技术杂谈 2023年5月31日
    0144
  • 盘点飞思卡尔i.MX多媒体处理器前世今生 (转)

    现如今,移动处理器领域,大家关注最多的是德州仪器、高通、展讯、MTK,甚至包括Intel,但是请别忘记飞思卡尔,他的i.MX处理器已经发展到第六代。那么我们今天就来盘点下i.MX的…

    技术杂谈 2023年7月11日
    092
  • .NET服务治理之限流中间件-FireflySoft.RateLimit

    FireflySoft.RateLimit自2021年1月发布第一个版本以来,经历了多次升级迭代,目前已经十分稳定,被很多开发者应用到了生产系统中,最新发布的版本是3.0.0。 它…

    技术杂谈 2023年7月10日
    0151
  • 蛋白质基础组成结构

    技术背景 了解蛋白质的基本组成单元和结构,有助于了解蛋白质的特性。对于蛋白质结构的研究,在医药领域是非常核心的重要工作。这里我们仅仅介绍一些蛋白质的基本组成单元——20种氨基酸的种…

    技术杂谈 2023年7月25日
    0117
  • 干货合集│最好用的 python 库都在这

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

    技术杂谈 2023年7月11日
    095
  • 阿里二面算法题

    最长的括号子串 问题描述 给出一个长度为 n 的,仅包含字符 ‘(‘ 和 ‘)’ 的字符串,计算最长的格式正确的括号子串的长度。 示…

    技术杂谈 2023年7月25日
    081
  • 基于多传感器的物联网报警器解决方案市场调研摘要

    前言 报警器作为一个很古老的产品,一直随着技术的进步而不断的改进。古有周幽王烽火戏诸侯,近有日本偷袭珍珠港。 都是领导没用好报警器导致的悲剧啊。 随着电子技术的发展,报警器变得越来…

    技术杂谈 2023年5月31日
    0132
  • Ubuntu21.04安装与配置

    在联想笔记本中安装部署ubuntu 21.04版本时,可真谓是遇到问题不少,首先先把ubuntu版本下来到本地,然后进行静像制作,最后安装。 1、Ubuntu 点击链接下载最新版本…

    技术杂谈 2023年7月11日
    0121
  • 【Excel】公式实现多列依次排序

    1.需求描述 2.使用公式排序 1.需求描述 现在有以下需求,有多个学生的语文、数学、英语成绩,需要先按照语文排序,如果语文成绩相等则按照数学排序,如果数学成绩相等则按照英语排序,…

    技术杂谈 2023年5月31日
    0108
  • 【CompletableFuture】CompletableFuture中join()和get()方法的区别

    一.相同点: join()和get()方法都是用来获取CompletableFuture异步之后的返回值 二.区别: 1.join()方法抛出的是uncheck异常(即未经检查的异…

    技术杂谈 2023年6月1日
    0104
  • 面试题汇总

    JAVA 基础 1.java 性能优化 ①尽量指定类、方法的final 修饰符 ②尽量重用对象 ③尽可能使用局部变量 ④及时关闭流 ⑤尽量减少对变量的重复计算 ⑥尽量采用懒加载的策…

    技术杂谈 2023年6月21日
    095
  • 安装VMware Tools选项显示灰色的正确解决办法

    1.关闭虚拟机; 2.在虚拟机设置分别设置CD/DVD、CD/DVD2和软盘为自动检测三个步骤; 3.再重启虚拟机,灰色字即点亮。 Original: https://www.cn…

    技术杂谈 2023年5月31日
    0104
  • Spring Boot yaml配置文件解析

    1、Spring Boot 配置文件类型和作用 2、yaml 配置文件简介 3、yaml 基础语法 3.1、配置【基本】数据类型 3.2、配置【Object、Map】数据类型 3….

    技术杂谈 2023年7月11日
    0111
  • [极客大挑战 2019]Secret File

    0x01 寻找做题信息 打开环境,查看源代码,发现可疑链接,/Archive_room.php,action.php打开action.php会发生302跳转,查找302跳转无果,百…

    技术杂谈 2023年7月10日
    099
  • vue系列—Vue组件化的实现原理(八)

    上面已经介绍过, 全局注册组件有2种方式; 第一种方式是通过Vue.component 直接注册。第二种方式是通过Vue.extend来注册。 Vue.component 注册组件…

    技术杂谈 2023年6月1日
    0101
  • tar、gzip、zip、jar是什么,怎么查看?

    原创:扣钉日记(微信公众号ID:codelogs),欢迎分享,转载请保留出处。 如果你是后端程序员,我想你一定见过 *.tar.gz、 *.zip、 *.jar后缀的文件吧,这些都…

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