Kenichi Nakamura
10/04/2024, 8:36 PMKenichi Nakamura
10/04/2024, 8:39 PMSrikanth Chekuri
10/05/2024, 1:13 PMKenichi Nakamura
10/07/2024, 4:22 PMSrikanth Chekuri
10/07/2024, 4:47 PMKenichi Nakamura
10/07/2024, 5:01 PM/traces-explorer
:Kenichi Nakamura
10/07/2024, 5:01 PMSrikanth Chekuri
10/08/2024, 1:32 PMKenichi Nakamura
10/08/2024, 4:08 PMKenichi Nakamura
10/08/2024, 4:25 PMKenichi Nakamura
10/08/2024, 4:26 PMSrikanth Chekuri
10/08/2024, 4:26 PMKenichi Nakamura
10/08/2024, 4:27 PMNo response data available for this request
Kenichi Nakamura
10/08/2024, 4:27 PMSrikanth Chekuri
10/08/2024, 4:28 PMKenichi Nakamura
10/08/2024, 4:30 PMquery_range
POST, which doesn't appear to have a status. it looks like it wasn't even attempted.Kenichi Nakamura
10/08/2024, 4:31 PMKenichi Nakamura
10/08/2024, 4:32 PMError: API responded with 500
, but i don't see that request in the network tab anywhere 🤷🏽♂️Srikanth Chekuri
10/08/2024, 4:34 PMKenichi Nakamura
10/08/2024, 4:50 PM/traces-explorer
is this:
2024/10/08 16:47:02 [error] 7428#0: *13258 connect() failed (111: Connection refused) while connecting to upstream, client: 97.120.109.238, server: <http://signoz.example.com|signoz.example.com>, request: "GET /src_hooks_queryBuilder_useGetExplorerQueryRange_ts.1c3db49acf4bfaebf30a.js.map HTTP/2.0", upstream: "http://[::1]:3301/src_hooks_queryBuilder_useGetExplorerQueryRange_ts.1c3db49acf4bfaebf30a.js.map", host: "<http://signoz.example.com|signoz.example.com>"
a number of successful requests appear in the regular access_log, that mirror the query-service logs i've pasted above. i will grab clickhouse logs now.Kenichi Nakamura
10/08/2024, 4:52 PM{
"date_time": "1728406269.895175",
"thread_name": "TCPServerConnection ([#1])",
"thread_id": "48",
"level": "Error",
"query_id": "",
"logger_name": "ServerErrorHandler",
"message": "Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below):\n\n0. Poco::Net::SocketImpl::error(int, String const&) @ 0x00000000153a1b5f in /usr/bin/clickhouse\n1. Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x00000000153a2bbd in /usr/bin/clickhouse\n2. Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x00000000153a5296 in /usr/bin/clickhouse\n3. Poco::Net::HTTPSession::write(char const*, long) @ 0x00000000153908b3 in /usr/bin/clickhouse\n4. Poco::Net::HTTPHeaderIOS::~HTTPHeaderIOS() @ 0x000000001538bbdb in /usr/bin/clickhouse\n5. Poco::Net::HTTPHeaderOutputStream::~HTTPHeaderOutputStream() @ 0x000000001538bf1f in /usr/bin/clickhouse\n6. DB::HTTPServerResponse::send() @ 0x0000000012942988 in /usr/bin/clickhouse\n7. DB::HTTPServerConnection::sendErrorResponse(Poco::Net::HTTPServerSession&, Poco::Net::HTTPResponse::HTTPStatus) @ 0x000000001293ecda in /usr/bin/clickhouse\n8. DB::HTTPServerConnection::run() @ 0x000000001293e97b in /usr/bin/clickhouse\n9. Poco::Net::TCPServerConnection::start() @ 0x00000000153a5a72 in /usr/bin/clickhouse\n10. Poco::Net::TCPServerDispatcher::run() @ 0x00000000153a6871 in /usr/bin/clickhouse\n11. Poco::PooledThread::run() @ 0x000000001549f047 in /usr/bin/clickhouse\n12. Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001549d67d in /usr/bin/clickhouse\n13. ? @ 0x00007f76e3bad609\n14. ? @ 0x00007f76e3ad2353\n (version 24.1.2.5 (official build))",
"source_file": "src/Common/Exception.cpp; void DB::tryLogCurrentExceptionImpl(Poco::Logger *, const std::string &)",
"source_line": "222"
}
let me restart it and and see how it boots...Kenichi Nakamura
10/08/2024, 5:02 PM/traces-explorer
again results in the above problem.
the Poco::Exception
seems to happen every minute. there are no other messages in the compose logs other than clickhouse startup.
$ docker compose logs -f clickhouse
signoz-clickhouse | Processing configuration file '/etc/clickhouse-server/config.xml'. signoz-clickhouse | Merging configuration file '/etc/clickhouse-server/config.d/cluster.xml'. signoz-clickhouse | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
signoz-clickhouse | Cannot set max size of core file to 1073741824 signoz-clickhouse | Logging information to /var/log/clickhouse-server/clickhouse-server.log signoz-clickhouse | Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log
signoz-clickhouse | {"date_time":"1728406519.169952","thread_name":"","thread_id":"1","level":"Information","query_id":"","logger_name":"SentryWriter","message":"Sending crash reports is disabled","source_file":"src\/Daemon\/SentryWriter.cpp; void SentryWriter::initialize(Poco::Util::LayeredConfiguration &)","source_line":"131"} signoz-clickhouse | {"date_time":"1728406519.321808","thread_name":"","thread_id":"1","level":"Information","query_id":"","logger_name":"Application","message":"Starting ClickHouse 24.1.2.5 (revision
: 54482, git hash: b2605dd4a5a30131444dba7e6149a1412e83b8eb, build id: 10E44DD06215CD8F54CEB01CC942EE9BAC9B41E1), PID 1","source_file":"","source_line":"0"} signoz-clickhouse | {"date_time":"1728406519.322189","thread_name":"","thread_id":"1","level":"Information","query_id":"","logger_name":"Application","message":"starting up","source_file":"","source_line":"0"}
signoz-clickhouse | {"date_time":"1728406519.322264","thread_name":"","thread_id":"1","level":"Information","query_id":"","logger_name":"Application","message":"OS name: Linux, version: 6.2.9-x86_64-linode160, architecture: x86_64","source_file":"programs\/server\/Server.cpp; virtual void DB::Server::initialize(Poco::Util::Application &)","source_line":"425"}
...
Kenichi Nakamura
10/08/2024, 5:03 PM/var/log/clickhouse-server/*
files inside the container.Srikanth Chekuri
10/08/2024, 5:05 PMKenichi Nakamura
10/08/2024, 8:22 PMReferer
header value was quite large, and removing it made the request go through. I have another nginx
that reverse proxies to the signoz-frontend
service.
The fix was to add these lines to the nginx config of the reverse proxy server {}
block.Kenichi Nakamura
10/08/2024, 8:22 PMclient_max_body_size 24M;
large_client_header_buffers 8 128k;
Kenichi Nakamura
10/08/2024, 8:23 PMSigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.
Powered by