Hi, everyone! I am struggling with json parsing er...
# tls
a
Hi, everyone! I am struggling with json parsing error during using TLS logger plugin. Maybes someone can help me with this. Details in the thread.
Error:
Copy code
Jun 23 15:46:05 ubuntu osqueryd[30443]: I0623 15:46:05.730775 30469 buffered.cpp:90] Error sending status to logger: Cannot parse JSON: Invalid value. Offset: 0
I am not using fleet or similar server-service, but custom proxy service have written on go.
s
Your server is probably not returning json. (Or is mingling headers into the body, or something)
You’ll need to see the actual http response to tell. Can you curl it?
Basically, I’m saying there’s a bug in your http server.
Ah. We do have a
-tls_dump
debugging flag. https://osquery.readthedocs.io/en/stable/deployment/debugging/ so that might be simplest
a
Hi, @seph. You was right. The problem was in incorrect server settings, and the error on the osquery side arises when it receives NOT json response from server.
thank you