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

[BUG]Querying through curl /api/v1/sql returns 500 #2187

Open
Benxiaohai001 opened this issue Jun 20, 2024 · 0 comments
Open

[BUG]Querying through curl /api/v1/sql returns 500 #2187

Benxiaohai001 opened this issue Jun 20, 2024 · 0 comments

Comments

@Benxiaohai001
Copy link
Member

Describe the bug

Querying through curl /api/v1/sql returns 500
version: cnosdb 2.3.5, revision d9f0841

deploy: 3meta+ 2querytskv

To Reproduce

  1. start cluster;
  2. load data 2t(500 cloumn);
  3. query

logs

Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying 127.0.0.1:9902...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 9902 (#0)
* Server auth using Basic with user 'root'
> POST /api/v1/sql?db=benchmark&chunked HTTP/1.1
> Host: 127.0.0.1:9902
> Authorization: Basic cm9vdDo=
> User-Agent: curl/7.68.0
> Accept: */*
> Content-Length: 203
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 203 out of 203 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< content-length: 0
< date: Thu, 20 Jun 2024 01:52:52 GMT
<
* Connection #0 to host 127.0.0.1 left intact

cnosdb logs

WARN cnosdb::http::http_service: unhandled rejection: Rejection(InvalidQuery)

Expected behavior

No response

Additional context

No response

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