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

Intermittent 504 from /logs + query params #12

Open
robcxyz opened this issue Jul 15, 2022 · 3 comments
Open

Intermittent 504 from /logs + query params #12

robcxyz opened this issue Jul 15, 2022 · 3 comments

Comments

@robcxyz
Copy link
Contributor

robcxyz commented Jul 15, 2022

Per title - getting intermittent 504 from

https://tracker.icon.community/api/v1/logs?method=Remove&limit=100&score_address=cxa0af3165c08318e988cb30993b3048335b94af6c

@robcxyz
Copy link
Contributor Author

robcxyz commented Jul 17, 2022

Issue seems to be that score_address was used instead of address as query param but this doesn't fully make sense as score_address should not return valid data. Thinking this as monitoring the endpoint from the status page has not returned an error in the last couple days.

Keeping this open as I think I need to be parsing the query strings better and returning better errors when the query string is not valid.

@0xrpj
Copy link

0xrpj commented Jul 17, 2022

Also, I would like to add that replacing score_address with any string works. I don't know how.

https://tracker.icon.community/api/v1/logs?method=Remove&limit=100&randomstring=cxa0af3165c08318e988cb30993b3048335b94af6c

Notice the "randomstring", it still gives relevant response. Super weird.

@itsshashank
Copy link
Contributor

The query ignoring the keys that are not recognized, and providing default values for any keys that are missing. we can enforce the with config change #38

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

3 participants