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 NotFound errors in choose_metric action #334

Open
danielkza opened this issue Apr 8, 2016 · 0 comments
Open

Intermittent NotFound errors in choose_metric action #334

danielkza opened this issue Apr 8, 2016 · 0 comments
Labels

Comments

@danielkza
Copy link
Contributor

Sometimes selecting a Metric in the metric addition page leads to 404s. Me and @dread-uo noticed that in mezuro.org, but the error disappeared by itself after a few minutes.

Excerpt from the mezuro.org logs (the configuration with id 16 does exist):

Started GET "/pt/kalibro_configurations/16/metric_configurations/choose_metric" for 143.107.45.24 at 2016-04-08 14:28:04 -0300
I, [2016-04-08T14:28:04.314611 #3781]  INFO -- : Processing by MetricConfigurationsController#choose_metric as JS
I, [2016-04-08T14:28:04.314748 #3781]  INFO -- :   Parameters: {"locale"=>"pt", "kalibro_configuration_id"=>"16"}
I, [2016-04-08T14:28:04.318236 #18932]  INFO -- : Started POST "/pt/kalibro_configurations/16/metric_configurations/new" for 143.107.45.24 at 2016-04-08 14:28:04 -0300
D, [2016-04-08T14:28:04.318876 #3781] DEBUG -- :   User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1  ORDER BY "users"."id" ASC LIMIT 1  [["id", 40]]
I, [2016-04-08T14:28:04.322068 #18932]  INFO -- : Processing by MetricConfigurationsController#new as HTML
I, [2016-04-08T14:28:04.322276 #18932]  INFO -- :   Parameters: {"utf8"=>"<E2><9C><93>", "authenticity_token"=>"HztAGFuplgGXXWvOekLrsFt1hlKl+6QwDBgV3FNkrkbIQ4Z8N1Svq2aJL/wbEyBoRw+FCL2+DSH4Ec35R93r3A==", "metric_
collector_name"=>"Analizo", "metric_code"=>"cbo", "locale"=>"pt", "kalibro_configuration_id"=>"16"}
D, [2016-04-08T14:28:04.327423 #18932] DEBUG -- :   User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1  ORDER BY "users"."id" ASC LIMIT 1  [["id", 40]]
D, [2016-04-08T14:28:04.330216 #3781] DEBUG -- :   KalibroConfigurationAttributes Load (3.0ms)  SELECT  "kalibro_configuration_attributes".* FROM "kalibro_configuration_attributes" WHERE "kalibro_configuration_a
ttributes"."user_id" = $1 AND "kalibro_configuration_attributes"."kalibro_configuration_id" = $2 LIMIT 1  [["user_id", 40], ["kalibro_configuration_id", 16]]
D, [2016-04-08T14:28:04.332715 #18932] DEBUG -- :   KalibroConfigurationAttributes Load (0.6ms)  SELECT  "kalibro_configuration_attributes".* FROM "kalibro_configuration_attributes" WHERE "kalibro_configuration_
attributes"."user_id" = $1 AND "kalibro_configuration_attributes"."kalibro_configuration_id" = $2 LIMIT 1  [["user_id", 40], ["kalibro_configuration_id", 16]]
D, [2016-04-08T14:28:04.350005 #18932] DEBUG -- :   ReadingGroupAttributes Load (0.6ms)  SELECT "reading_group_attributes".* FROM "reading_group_attributes" WHERE "reading_group_attributes"."public" = $1  [["pub
lic", "t"]]
D, [2016-04-08T14:28:04.351271 #18932] DEBUG -- :   ReadingGroupAttributes Load (0.6ms)  SELECT "reading_group_attributes".* FROM "reading_group_attributes" WHERE "reading_group_attributes"."user_id" = $1 AND "reading_group_attributes"."public" = $2  [["user_id", 40], ["public", "f"]]
I, [2016-04-08T14:28:05.968254 #18932]  INFO -- :   Rendered public/404.html (0.1ms)
I, [2016-04-08T14:28:05.968725 #18932]  INFO -- : Completed 404 Not Found in 1646ms (Views: 1.3ms | ActiveRecord: 3.9ms)
@rafamanzo rafamanzo added the bug label Apr 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants