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

500 internal server error #100

Open
649abhinav opened this issue May 15, 2024 · 1 comment
Open

500 internal server error #100

649abhinav opened this issue May 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@649abhinav
Copy link

649abhinav commented May 15, 2024

Hey tool showing 500 ERROR on loop, i then burp Intercepted my clairvoyance traffic
clairvoyance -H "Authorization: Bearer" -H "X-api-key:" -x "127.1:8080" -k http://example.com/graphql
Body it sending
{"query": "query { reporting essential myself tours platform load affiliate labor immediately admin nursing defense machines designated tags heavy covered recovery joe guys integrated configuration merchant comprehensive expert universal protect drop solid cds presentation languages became orange compliance vehicles prevent theme rich im campaign marine improvement vs guitar finding pennsylvania examples ipod saying spirit ar claims challenge motorola acceptance strategies mo seem affairs touch intended towards sa }"}
Response

HTTP/2 500 Internal Server Error
Content-Type: application/json; charset=utf-8

{"errors":[{"message":"Too many validation errors, error limit reached. Validation aborted.","extensions":{"code":"INTERNAL_SERVER_ERROR"}}]}

but sending manually this it works:
{"query": "query { along among death writing speed }"}

@Privat33r-dev
Copy link
Collaborator

Sorry for late response, but I speculate that it's related to the response length and in this case we should reduce amount of words that the clairvoyance tries. Definitely worth to put on our TODO list. Thank you for the report.

Related links:
graphql/graphql-js#3286
https://github.com/graphql/graphql-js/blob/da5723860e87c97831c02a1137e9431d96c14239/src/validation/validate.ts#L63

@Privat33r-dev Privat33r-dev added the bug Something isn't working label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants