标签:info apach 关于 use cti 方式安装 worker 访问 zip
错误如下
2019-09-17 16:42:21,547 ERROR [OpenTSDB I/O Worker #5] RpcHandler: [id: 0x6fd975b6, /127.0.0.1:52204 => /127.0.0.1:4242] Received an unsupported chunked request: DefaultHttpRequest(chunked: true) POST /api/put HTTP/1.1 Content-Length: 10811 Content-Type: application/json; charset=UTF-8 Host: localhost:4242 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.5.10 (Java/1.8.0_211) Accept-Encoding: gzip,deflate 2019-09-17 16:42:21,547 WARN [OpenTSDB I/O Worker #5] HttpQuery: [id: 0x6fd975b6, /127.0.0.1:52204 => /127.0.0.1:4242] Bad Request on /api/put: Chunked request not supported. 2019-09-17 16:42:21,547 INFO [OpenTSDB I/O Worker #5] HttpQuery: [id: 0x6fd975b6, /127.0.0.1:52204 => /127.0.0.1:4242] HTTP /api/put done in 0ms
解决办法
在opentsdb.conf 这个配置文件中加上
tsd.http.request.max_chunk=4096000
tsd.http.request.enable_chunked=true
关于文件位置,不同的方式安装,位置不同。我的在
/etc/opentsdb/opentsdb.conf
重新起动服务
访问/api/config能看到对应的改变
OpenTSDB http写数据报400 (Received an unsupported chunked)
标签:info apach 关于 use cti 方式安装 worker 访问 zip
原文地址:https://www.cnblogs.com/zhangyy3/p/11535453.html