Problem: : cockpit webconsole not worki. it is showing try again
Expected outcome:: Get cockpit webpage.
I’m using custom ssl and ca for Katello server.
Please help me
Foreman and Proxy versions:: foreman -3.13
Foreman and Proxy plugin versions:
Distribution and version:: rocky linux9.5
Thanks
Laxman
What does /var/log/foreman/production.log
say?
2025-01-02T09:31:02 [I|app|6bf2988d] Rendered api/v2/config_reports/create.json.rabl (Duration: 2.4ms | Allocations: 984)
2025-01-02T09:31:02 [I|app|6bf2988d] Completed 201 Created in 165ms (Views: 3.8ms | ActiveRecord: 106.4ms | Allocations: 24849)
2025-01-02T09:31:26 [I|app|c8c55e0c] Started GET “/notification_recipients” for 192.168.0.100 at 2025-01-02 09:31:26 -0500
2025-01-02T09:31:26 [I|app|c8c55e0c] Processing by NotificationRecipientsController#index as JSON
2025-01-02T09:31:26 [I|app|c8c55e0c] Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.0ms | Allocations: 2339)
2025-01-02T09:31:30 [I|app|8126fcf6] Started GET “/cockpit/redirect?redirect_uri=https%3A%2F%2Fkatello.sstech.com%2Fwebcon%2F%3Dkatello.sstech.com” for 192.168.0.100 at 2025-01-02 09:31:30 -0500
2025-01-02T09:31:30 [I|app|8126fcf6] Processing by CockpitController#redirect as HTML
2025-01-02T09:31:30 [I|app|8126fcf6] Parameters: {“redirect_uri”=>“https://katello.sstech.com/webcon/=katello.sstech.com”}
2025-01-02T09:31:30 [I|app|8126fcf6] Redirected to https://katello.sstech.com/webcon/=katello.sstech.com?error_description=Sorry
2025-01-02T09:31:30 [I|app|8126fcf6] Completed 302 Found in 9ms (ActiveRecord: 1.8ms | Allocations: 3242)
That’s all? Are there no followup requests?
What does /var/log/foreman-proxy/proxy.log
say? What does journalctl -u foreman-cockpit
give you?
[root@katello ~]# cat /var/log/foreman-proxy/proxy.log
2025-01-03T00:00:05 [I] Logging file reopened via USR1 signal
2025-01-03T00:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T00:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T01:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T01:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T02:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T02:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T03:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T03:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T04:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T04:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T05:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T05:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T06:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T06:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T07:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T07:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T08:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T08:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T09:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T09:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T10:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T10:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T11:07:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T11:37:53 [I] Execution plan cleaner removing 0 execution plans.
2025-01-03T12:07:53 [I] Execution plan cleaner removing 0 execution plans.
[root@katello ~]# journalctl -u foreman-cockpit
Jan 02 09:04:00 katello systemd[1]: Started Foreman authentication service for Cockpit.
[root@katello ~]#
The logs were rotated on the 3rd of January, the previous logs snippet shows you attempting to use the webconsole on the 2nd. Could you either paste logs from 2nd of January or just try to use it again and then post the latest logs?