Hi team, I'm unable to view the live logs in Signoz ( fetching the logs of Spring Boot application).
c
Hi team, I'm unable to view the live logs in Signoz ( fetching the logs of Spring Boot application).
s
1. inspect n/w tab from dev tools and share if there is mode detail in response 2. share query service error logs
c
GET net::ERR_CONTENT_DECODING_FAILED 200 (OK) (anonymous)@
Copy code
{
  "level": "INFO",
  "timestamp": "2024-10-07T06:37:46.735Z",
  "caller": "app/server.go:394",
  "msg": "/api/v3/logs/livetail",
  "timeTaken": 10035,
  "path": "/api/v3/logs/livetail"
}
s
Please share more info. This is not very useful.
c
ErrorResponseHandler.ts:56 any a @ ErrorResponseHandler.ts:56Understand this error :3301/api/v3/logs/livetail?q=%7B%22start%22%3A1728344083000%2C%22end%22%3A1728365683000%2C%22step%22%3A60%2C%22variables%22%3A%7B%7D%2C%22compositeQuery%22%3A%7B%22queryType%22%3A%22builder%22%2C%22panelType%22%3A%22list%22%2C%22fillGaps%22%3Afalse%2C%22builderQueries%22%3A%7B%22A%22%3A%7B%22dataSource%22%3A%22logs%22%2C%22queryName%22%3A%22A%22%2C%22aggregateOperator%22%3A%22noop%22%2C%22aggregateAttribute%22%3A%7B%22id%22%3A%22------false%22%2C%22dataType%22%3A%22%22%2C%22key%22%3A%22%22%2C%22isColumn%22%3Afalse%2C%22type%22%3A%22%22%2C%22isJSON%22%3Afalse%7D%2C%22timeAggregation%22%3A%22rate%22%2C%22spaceAggregation%22%3A%22sum%22%2C%22functions%22%3A%5B%5D%2C%22filters%22%3A%7B%22items%22%3A%5B%5D%2C%22op%22%3A%22AND%22%7D%2C%22expression%22%3A%22A%22%2C%22disabled%22%3Atrue%2C%22stepInterval%22%3A60%2C%22having%22%3A%5B%5D%2C%22limit%22%3Anull%2C%22orderBy%22%3A%5B%7B%22columnName%22%3A%22timestamp%22%2C%22order%22%3A%22desc%22%7D%5D%2C%22groupBy%22%3A%5B%5D%2C%22legend%22%3A%22%22%2C%22reduceTo%22%3A%22avg%22%2C%22pageSize%22%3A10%7D%7D%7D%7D:1 Failed to load resource: net::ERR_CONTENT_DECODING_FAILEDUnderstand this error eventsource.js:913 TypeError: network error F @ eventsource.js:913 (anonymous) @ eventsource.js:566 Show 2 more frames Show lessUnderstand this error eventsource.js:571 Uncaught (in promise) TypeError: network error
Copy code
{"level":"INFO","timestamp":"2024-10-08T05:36:56.014Z","caller":"app/server.go:394","msg":"/api/v3/autocomplete/attribute_keys","timeTaken":3,"path":"/api/v3/autocomplete/attribute_keys"
}                                                                                                                                                                                         
{"level":"INFO","timestamp":"2024-10-08T05:36:56.125Z","caller":"querier/helper.go:122","msg":"cache misses for logs query","misses":[{"Start":1728344215000,"End":1728365815000}]}       
{"level":"INFO","timestamp":"2024-10-08T05:36:56.151Z","caller":"utils/time.go:17","msg":"Elapsed time","func_name":"GetTimeSeriesResultV3","duration":25,"client":"browser","viewName":""
,"servicesTab":"","query":"SELECT toStartOfInterval(fromUnixTimestamp64Nano(timestamp), INTERVAL 60 SECOND) AS ts, toFloat64(count(*)) as value from signoz_logs.distributed_logs_v2 where
 (timestamp >= 1728344215000000000 AND timestamp <= 1728365815000000000) AND (ts_bucket_start >= 1728342415 AND ts_bucket_start <= 1728365815) group by ts order by value DESC","path":"/l
ogs/logs-explorer/live","dashboardID":"","alertID":"","source":"logs-explorer"}                                                                                                           
{"level":"INFO","timestamp":"2024-10-08T05:36:56.152Z","caller":"app/server.go:394","msg":"/api/v3/query_range","timeTaken":38,"path":"/api/v3/query_range"}                              
{"level":"INFO","timestamp":"2024-10-08T05:37:05.715Z","caller":"app/server.go:394","msg":"/api/v1/health","timeTaken":0,"path":"/api/v1/health"}                                         
{"level":"INFO","timestamp":"2024-10-08T05:37:06.499Z","caller":"app/server.go:394","msg":"/api/v3/logs/livetail","timeTaken":10488,"path":"/api/v3/logs/livetail"}
s
Sorry this is still not useful for me to understand what is the actual error. Please crate an issue here https://github.com/SigNoz/signoz with more details.
c
No problem, thanks for your help.
@Srikanth Chekuri It seems like a browser-related issue. When I switched to another web browser it's working fine.
s
Oh that's strange