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

UI errors on prd02 on 5/15; errors not getting to opensearch #1905

Open
terrywbrady opened this issue May 15, 2024 · 0 comments
Open

UI errors on prd02 on 5/15; errors not getting to opensearch #1905

terrywbrady opened this issue May 15, 2024 · 0 comments
Assignees

Comments

@terrywbrady
Copy link
Contributor

terrywbrady commented May 15, 2024

Errors started until puma was restarted.

{"method":"GET","path":"/api/presign-file/ark%253A%252F13030%252Fm5m048d5/5/producer%252FONeill_ucsb_0035D_11379_DATA.xml","format":"xml","controller":"FileController","action":"presign","status":500,"error":"MerrittRetryMixin::RetryException: undefined method `user_can_download?' for nil:NilClass","allocations":11382,"duration":5043.88,"view":0.0,"db":1.26,"time":680333.268220748,"@timestamp":"2024-05-15T19:31:10.614Z","@version":"1","message":"[500] GET /api/presign-file/ark%253A%252F13030%252Fm5m048d5/5/producer%252FONeill_ucsb_0035D_11379_DATA.xml (FileController#presign)"}
  • Can we prevent/handle this error?
  • Why did these errors not make it to OpenSearch UI logs?
  • Errors did make it into the ELB logs

Logstash error (from logstash journal file)

May 15 15:07:44 uc3-opslogstash01x2-stg logstash[7043]: [2024-05-15T15:07:44,523][WARN ][logstash.outputs.opensearch][opensearch-uc3][891ea1d6949ab94e687c284e33501033384175ae642113b316c5b44ea6fdd65e] Could not index event to OpenSearch. ..."error"=>{"type"=>"mapper_parsing_exception", "reason"=>"object mapping for [json.error] tried to parse field [error] as object, but found a concrete value"}}}}

@terrywbrady terrywbrady self-assigned this May 15, 2024
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