fedora-iot / iot-distro

Issue tracking for the Fedora IoT Edition
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Cockpit fails to load in browser with `PR_CONNECT_RESET_ERROR` #20

Closed poperigby closed 10 months ago

poperigby commented 10 months ago

Describe the bug Cockpit has started to fail with PR_CONNECT_RESET_ERROR when navigating to it in Firefox. When I try to navigate to the HTTP version of the site, it just redirects me to the HTTPS one and gives the same error. HTTP-Only Mode is disabled in Firefox.

To Reproduce Please describe the steps needed to reproduce the bug:

  1. Install Cockpit
  2. Start it with sudo systemctl start cockpit.service
  3. Navigate to http://:9090 in browser

Expected behavior Cockpit loads

Screenshots Screenshot_20240110_095217

OS version:

State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 15h ago
BootedDeployment:
● fedora-iot:fedora/stable/x86_64/iot
                  Version: 39.20240105.0 (2024-01-05T14:26:16Z)
               BaseCommit: 5a9c39f47c18ef49633e131da4225229b2f727f89ef4d2fb5a7efdc98e408964
             GPGSignature: Valid signature by E8F23996F23218640CB44CBE75CF5AC418B8E74C
          LayeredPackages: borgmatic btrfs-progs cockpit cockpit-pcp cockpit-podman distrobox fish git ncurses smartmontools wireguard-tools
djach7 commented 10 months ago

Hello @poperigby, I've tried to reproduce this issue but I haven't been able to. Do you have any other steps to reproduce or logs you could share? I will say outside of the steps you listed I did open the cockpit.socket and add the service to my firewall, as found in the cockpit docs here: https://cockpit-project.org/running#fedora

poperigby commented 10 months ago

I don't have any other reproduction steps, sadly. I should mention that besides having cockpit installed, I also have cockpit-pcp, and cockpit-podman.

As for logs, this is all I have for cockpit.service:

Jan 10 09:46:29 haddock systemd[1]: Starting cockpit.service - Cockpit Web Service...
Jan 10 09:46:29 haddock systemd[1]: Started cockpit.service - Cockpit Web Service.
Jan 10 09:48:05 haddock systemd[1]: cockpit.service: Deactivated successfully.
Jan 10 09:50:33 haddock systemd[1]: Starting cockpit.service - Cockpit Web Service...
Jan 10 09:50:33 haddock systemd[1]: Started cockpit.service - Cockpit Web Service.
Jan 10 09:52:53 haddock systemd[1]: cockpit.service: Deactivated successfully.
Jan 12 12:55:59 haddock systemd[1]: Starting cockpit.service - Cockpit Web Service...
Jan 12 12:55:59 haddock systemd[1]: Started cockpit.service - Cockpit Web Service.

cockpit.socket is already enabled, and I have already have the firewall rules setup.

I also might mention this only recently started happening.

djach7 commented 10 months ago

I still haven't been able to reproduce this, unfortunately. I believe I have the exact same packages but everything seems to be working on my end, I've been able to load and login to cockpit without issue. If you have any other steps for reproduction I'd be happy to try them but right now I don't know what else to change.

image

poperigby commented 10 months ago

Hmm, I updated and it seems to work now. Sorry for the trouble, and thank you for your help.