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

UKHPI dropping log entries as not JSON #144

Open
andrew-pickin-epi opened this issue Mar 11, 2024 · 0 comments
Open

UKHPI dropping log entries as not JSON #144

andrew-pickin-epi opened this issue Mar 11, 2024 · 0 comments
Assignees
Labels
app/UKHPI Issues affecting the UKHPI service bug Something isn't working

Comments

@andrew-pickin-epi
Copy link

Example:

Error during failsafe response: undefined method `user_selections' for nil:NilClass
  /usr/src/app/app/views/common/_header.html.haml:35:in `_app_views_common__header_html_haml___3779532199475364022_70137252717360'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/base.rb:247:in `public_send'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/base.rb:247:in `_run'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/template.rb:154:in `block in render'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/template.rb:345:in `instrument_render_template'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/template.rb:152:in `render'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/partial_renderer.rb:271:in `render'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/renderer.rb:27:in `render_to_object'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/renderer.rb:22:in `render'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/helpers/rendering_helper.rb:38:in `block in render'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/base.rb:273:in `in_rendering_context'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/helpers/rendering_helper.rb:34:in `render'
  /usr/local/bundle/gems/haml-5.2.2/lib/haml/helpers/action_view_mods.rb:13:in `block in render'
  /usr/local/bundle/gems/haml-5.2.2/lib/haml/helpers.rb:93:in `non_haml'
  /usr/local/bundle/gems/haml-5.2.2/lib/haml/helpers/action_view_mods.rb:13:in `render'
  /usr/src/app/app/views/layouts/application.html.haml:28:in `_app_views_layouts_application_html_haml___3730931410445109817_70137247250400'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/base.rb:247:in `public_send'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/base.rb:247:in `_run'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/template.rb:154:in `block in render'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/template.rb:345:in `instrument_render_template'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/template.rb:152:in `render'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/template_renderer.rb:72:in `block in render_with_layout'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/template_renderer.rb:70:in `render_with_layout'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/template_renderer.rb:55:in `render_template'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/template_renderer.rb:11:in `render'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/rendering.rb:117:in `block in _render_template'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/base.rb:273:in `in_rendering_context'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/rendering.rb:116:in `_render_template'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/streaming.rb:218:in `_render_template'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/rendering.rb:103:in `render_to_body'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/abstract_controller/rendering.rb:25:in `render'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:36:in `render'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'
  /usr/local/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/core_ext/benchmark.rb:14:in `ms'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:46:in `block in render'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:45:in `render'
  /usr/src/app/app/controllers/exceptions_controller.rb:14:in `render_error'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:228:in `process_action'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/rendering.rb:30:in `process_action'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
  /usr/src/app/app/controllers/application_controller.rb:14:in `log_request_result'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/callbacks.rb:137:in `run_callbacks'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/abstract_controller/callbacks.rb:41:in `process_action'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/rescue.rb:22:in `process_action'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `block in instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/notifications.rb:203:in `instrument'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/abstract_controller/base.rb:165:in `process'
  /usr/local/bundle/gems/actionview-6.1.5/lib/action_view/rendering.rb:39:in `process'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal.rb:190:in `dispatch'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_controller/metal.rb:238:in `block in action'
  /usr/src/app/config/initializers/exceptions.rb:6:in `block in <top (required)>'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:53:in `render_exception'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:36:in `rescue in call'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
  /usr/local/bundle/gems/lograge-0.12.0/lib/lograge/rails_ext/rack/logger.rb:18:in `call_app'
  /usr/local/bundle/gems/railties-6.1.5/lib/rails/rack/logger.rb:28:in `call'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
  /usr/local/bundle/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
  /usr/local/bundle/gems/json_rails_logger-1.0.3/lib/json_rails_logger/request_id_middleware.rb:15:in `call'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/request_id.rb:26:in `call'
  /usr/local/bundle/gems/rack-2.2.7/lib/rack/method_override.rb:24:in `call'
  /usr/local/bundle/gems/rack-2.2.7/lib/rack/runtime.rb:22:in `call'
  /usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/executor.rb:14:in `call'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/static.rb:24:in `call'
  /usr/local/bundle/gems/rack-2.2.7/lib/rack/sendfile.rb:110:in `call'
  /usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
  /usr/local/bundle/gems/railties-6.1.5/lib/rails/engine.rb:539:in `call'
  /usr/local/bundle/gems/rack-2.2.7/lib/rack/urlmap.rb:74:in `block in call'
  /usr/local/bundle/gems/rack-2.2.7/lib/rack/urlmap.rb:58:in `each'
  /usr/local/bundle/gems/rack-2.2.7/lib/rack/urlmap.rb:58:in `call'
  /usr/local/bundle/gems/prometheus-client-4.0.0/lib/prometheus/middleware/exporter.rb:33:in `call'
  /usr/local/bundle/gems/prometheus-client-4.0.0/lib/prometheus/middleware/collector.rb:32:in `block in call'
  /usr/local/bundle/gems/prometheus-client-4.0.0/lib/prometheus/middleware/collector.rb:61:in `block in trace'
  /usr/local/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
  /usr/local/bundle/gems/prometheus-client-4.0.0/lib/prometheus/middleware/collector.rb:61:in `trace'
  /usr/local/bundle/gems/prometheus-client-4.0.0/lib/prometheus/middleware/collector.rb:32:in `call'
  /usr/local/bundle/gems/puma-6.3.1/lib/puma/configuration.rb:270:in `call'
  /usr/local/bundle/gems/puma-6.3.1/lib/puma/request.rb:100:in `block in handle_request'
  /usr/local/bundle/gems/puma-6.3.1/lib/puma/thread_pool.rb:344:in `with_force_shutdown'
  /usr/local/bundle/gems/puma-6.3.1/lib/puma/request.rb:99:in `handle_request'
  /usr/local/bundle/gems/puma-6.3.1/lib/puma/server.rb:443:in `process_client'
  /usr/local/bundle/gems/puma-6.3.1/lib/puma/server.rb:245:in `block in run'
  /usr/local/bundle/gems/puma-6.3.1/lib/puma/thread_pool.rb:151:in `block in spawn_thread
@andrew-pickin-epi andrew-pickin-epi added bug Something isn't working app/UKHPI Issues affecting the UKHPI service labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app/UKHPI Issues affecting the UKHPI service bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants