Problem:
When opening the Webhooks page in Foreman, I’m getting an error message and the page does not load the Webhooks contents.
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=null&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.,
in p
in Button
in d
in div
in ToolbarItem
in div
in u
in ForwardRef
in div
in div
in ToolbarContent
in div
in GenerateId
in Toolbar
in section
in PageSection
in div
in w
in b
in t
in t
in u
in f
in d
in div
in c
in p
in y
in t
in n
in a
in C
in s
in div
in b
in IntlProvider
in I18nProviderWrapper(b)
in d
in StoreProvider(I18nProviderWrapper(b))
in DataProvider(StoreProvider(I18nProviderWrapper(b)))
Expected outcome:
Webhooks page loads correctly.
Foreman and Proxy versions:
foreman 3.3.0-1
foreman-proxy 3.3.0-1
Foreman and Proxy plugin versions:
foreman-tasks 6.0.2
foreman_ansible 7.1.2
foreman_host_reports 1.0.2
foreman_puppet 4.0.1
foreman_remote_execution 7.1.1
foreman_webhooks 3.0.4
foreman_xen 1.0.1
katello 4.5.0
Distribution and version:
CentOS Stream 8
Other relevant data:
Foreman production.log looks good to me when loading the page:
2022-09-01T13:21:01 [I|app|4f369e5f] Started GET "/webhooks" for fd00::ffff:c0a8:e5 at 2022-09-01 13:21:01 -0700
2022-09-01T13:21:01 [I|app|4f369e5f] Processing by ReactController#index as HTML
2022-09-01T13:21:01 [I|app|4f369e5f] Rendering react/index.html.erb within layouts/react_application
2022-09-01T13:21:01 [I|app|4f369e5f] Rendered react/index.html.erb within layouts/react_application (Duration: 3.6ms | Allocations: 5657)
2022-09-01T13:21:01 [I|app|4f369e5f] Rendering layouts/base.html.erb
2022-09-01T13:21:01 [I|app|4f369e5f] Rendered layouts/base.html.erb (Duration: 21.6ms | Allocations: 26030)
2022-09-01T13:21:01 [I|app|4f369e5f] Completed 200 OK in 37ms (Views: 27.6ms | ActiveRecord: 2.2ms | Allocations: 40336)
2022-09-01T13:21:02 [I|app|d25aba13] Started GET "/notification_recipients" for fd00::ffff:c0a8:e5 at 2022-09-01 13:21:02 -0700
2022-09-01T13:21:02 [I|app|d25aba13] Processing by NotificationRecipientsController#index as JSON
2022-09-01T13:21:02 [I|app|d25aba13] Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 1.5ms | Allocations: 2245)
2022-09-01T13:21:03 [I|app|c70ce32e] Started GET "/api/v2/webhooks?include_permissions=true" for fd00::ffff:c0a8:e5 at 2022-09-01 13:21:03 -0700
2022-09-01T13:21:03 [I|app|7e4c2a39] Started GET "/api/v2/webhooks?include_permissions=true" for fd00::ffff:c0a8:e5 at 2022-09-01 13:21:03 -0700
2022-09-01T13:21:03 [I|app|c70ce32e] Processing by Api::V2::WebhooksController#index as JSON
2022-09-01T13:21:03 [I|app|c70ce32e] Parameters: {"include_permissions"=>"true", "apiv"=>"v2"}
2022-09-01T13:21:03 [I|app|7e4c2a39] Processing by Api::V2::WebhooksController#index as JSON
2022-09-01T13:21:03 [I|app|7e4c2a39] Parameters: {"include_permissions"=>"true", "apiv"=>"v2"}
2022-09-01T13:21:03 [I|app|c70ce32e] Rendering /usr/share/gems/gems/foreman_webhooks-3.0.4/app/views/api/v2/webhooks/index.json.rabl within api/v2/layouts/index_layout
2022-09-01T13:21:03 [I|app|7e4c2a39] Rendering /usr/share/gems/gems/foreman_webhooks-3.0.4/app/views/api/v2/webhooks/index.json.rabl within api/v2/layouts/index_layout
2022-09-01T13:21:03 [I|app|c70ce32e] Rendered /usr/share/gems/gems/foreman_webhooks-3.0.4/app/views/api/v2/webhooks/index.json.rabl within api/v2/layouts/index_layout (Duration: 17.1ms | Allocations: 14448)
2022-09-01T13:21:03 [I|app|7e4c2a39] Rendered /usr/share/gems/gems/foreman_webhooks-3.0.4/app/views/api/v2/webhooks/index.json.rabl within api/v2/layouts/index_layout (Duration: 17.2ms | Allocations: 14452)
2022-09-01T13:21:03 [I|app|c70ce32e] Completed 200 OK in 31ms (Views: 22.2ms | ActiveRecord: 1.8ms | Allocations: 23423)
2022-09-01T13:21:03 [I|app|7e4c2a39] Completed 200 OK in 30ms (Views: 21.7ms | ActiveRecord: 1.8ms | Allocations: 23440)
2022-09-01T13:21:04 [I|app|0dc84bfc] Started GET "/api/v2/webhooks?include_permissions=true" for fd00::ffff:c0a8:e5 at 2022-09-01 13:21:04 -0700
2022-09-01T13:21:04 [I|app|0dc84bfc] Processing by Api::V2::WebhooksController#index as JSON
2022-09-01T13:21:04 [I|app|0dc84bfc] Parameters: {"include_permissions"=>"true", "apiv"=>"v2"}
2022-09-01T13:21:04 [I|app|0dc84bfc] Rendering /usr/share/gems/gems/foreman_webhooks-3.0.4/app/views/api/v2/webhooks/index.json.rabl within api/v2/layouts/index_layout
2022-09-01T13:21:04 [I|app|0dc84bfc] Rendered /usr/share/gems/gems/foreman_webhooks-3.0.4/app/views/api/v2/webhooks/index.json.rabl within api/v2/layouts/index_layout (Duration: 17.4ms | Allocations: 14448)
2022-09-01T13:21:04 [I|app|0dc84bfc] Completed 200 OK in 31ms (Views: 22.0ms | ActiveRecord: 2.5ms | Allocations: 23423)
Nothing in ausearch to indicate an SELinux permissions issue.