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

[Metrics ServerApp] - Some endpoints throwing an exception #1663

Closed
Jklawreszuk opened this issue May 17, 2023 · 0 comments
Closed

[Metrics ServerApp] - Some endpoints throwing an exception #1663

Jklawreszuk opened this issue May 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Jklawreszuk
Copy link
Collaborator

Jklawreszuk commented May 17, 2023

Release Type: Official Release/GitHub
Version: Any
Platform(s): Any
Describe the bug: As a title suggests

To Reproduce
Steps to reproduce the behavior:

  1. Run app or just go to metrics.stride3d.net website.
  2. You'll figure out that some plots don't render anything (this is because js hasn't received the data from EP representing that chart).
  3. Make HTTP GET request to any EP where plot's data is missing. Example statistic "quits per month" :
HTTP GET https://metrics.stride3d.net/api/get-quitting-count
  • response:
500 INTERNAL ERROR
{
    "message": "An error has occurred."
}

Additional information
If you take a look at first line of GetQuittingCount() action method:

string getActiveUsers = $"SELECT JsonData from [MetricCache] WHERE Type = 'get-quitting-count-job'";

An author has written raw SQL query to search for json collection in table MetricCache.
Problem is in my opinion that this table does not exists, Purpose of this table is unknown, maybe it was temporary table.

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

1 participant