Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400 bad request returned by UI #623

Open
dancaescu opened this issue Dec 20, 2023 · 1 comment
Open

400 bad request returned by UI #623

dancaescu opened this issue Dec 20, 2023 · 1 comment

Comments

@dancaescu
Copy link

Hi there,

Installed the docker version, today, from github (so all packages are at the latest version).

Screenshot 2023-12-20 at 3 55 01 PM

On page:
/api/ds/query?ds_type=loki&requestId=Q100_1

Getting the following errors:

root@homer:# docker logs -f qryn | grep "invalid request"
Couldn't execute script:
Expected [ or 'TAB' ] @1:99 encountered 'p "'.
)"b="heplify-server", src_ip=
".", dst_ip="."} | response="." or type!="sip" |~ . | regexp "Call-ID:\s+(?.+?
{"level":50,"time":1703094838129,"pid":27,"hostname":"6ad051fd9ad6","name":"qryn","reqId":"req-1j","err":"invalid request\nBad Request: invalid request\n at module.exports.transpile (/app/parser/transpiler.js:132:11)\n at scanFingerprints (/app/lib/db/clickhouse.js:243:29)\n at Object.handler (/app/lib/handlers/query_range.js:41:28)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","msg":"invalid request"}
Couldn't execute script:
Expected [ 'ESCSLASH', 'ESCAQUOTE', 'SQUOTE', 'QUOTE', 'CRLF', 'ESCAPE', 'REALPHA', 'DIGIT', or 'ONEWSP' ] @1:99 encountered '0.0.1| '. )"b="heplify-server", src_ip=".*", dst_ip="."} | response=~"." or type!="sip" |[email protected]` | regexp "Call-ID:\s+(?.+?

Screenshot 2023-12-20 at 3 56 14 PM

HTTP request is answered with HTTP code 401 and the following body:
{"results":{"A":{"error":"invalid request","errorSource":"","status":500}}}

Copy link

Please star this repository to motivate the developers and to get higher priority! ⭐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant