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

Connection failed on initial login and every second refresh behind reverse proxy #21438

Open
danielkinahan opened this issue Dec 15, 2024 · 0 comments
Labels

Comments

@danielkinahan
Copy link

danielkinahan commented Dec 15, 2024

Explain what happens

  1. Setup cockpit in a rootful podman container, enable the podman socket, publish port 9090 and open the firewall. Cockpit should work as expected accessing it via https://IP:PORT
  2. Setup caddy in a podman container and include the following in the Caddyfile to proxy to cockpit.
cockpit.mydomain.lan {
	reverse_proxy host.containers.internal:9090
}
  1. Login to the site via firefox, brave or edge. You will be greeted with the connection failed screen
    image
  2. Refresh the website and cockpit will load normally.
  3. The next refresh will bring you to the connection failed screen and the next will load the overview correctly again.

Note: On iOS Safari, cockpit behaves completely normally and never shows the connection failed. On iOS Firefox, the Connection failed screen appears all the time, even with refreshing.

Version of Cockpit

329.1

Where is the problem in Cockpit?

Overview

Server operating system

Fedora CoreOS (uCore)

Server operating system version

41.20241109.3.0

What browsers are you using?

Firefox, Brave, Edge, Safari on iPhone, Other

System log

Dec 15 14:15:34 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:15:34.136: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:06 server ws[1497129]: 
Dec 15 14:17:06 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:06.251: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:09 server ws[1497129]: 
Dec 15 14:17:09 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:09.465: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:09 server ws[1497129]: 
Dec 15 14:17:09 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:09.466: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:09 server ws[1497129]: 
Dec 15 14:17:09 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:09.466: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:09 server ws[1497129]: 
Dec 15 14:17:09 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:09.466: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:09 server ws[1497129]: 
Dec 15 14:17:09 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:09.467: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:09 server ws[1497129]: 
Dec 15 14:17:09 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:09.467: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:09 server ws[1497129]: 
Dec 15 14:17:09 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:09.851: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:11 server ws[1497129]: 
Dec 15 14:17:11 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:11.645: g_hash_table_lookup: assertion 'hash_table != NULL' failed
Dec 15 14:17:11 server ws[1497129]: 
Dec 15 14:17:11 server ws[1497129]: (cockpit-ws:1497131): GLib-CRITICAL **: 19:17:11.646: g_hash_table_lookup: assertion 'hash_table != NULL' failed
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

1 participant