Flathub GPG verification Not Working

I built flatpak from source on a BLFS/GLFS-12.0 system.
When I try to install any package, this happens:

Looking for matches…

(flatpak install:242436): libsoup-WARNING **: 18:06:18.958: (…/libsoup/soup-session.c:334):soup_session_dispose: runtime check failed: (soup_connection_manager_get_num_conns (priv->conn_manager) == 0)

(flatpak install:242436): libsoup-WARNING **: 18:06:18.958: (…/libsoup/soup-connection-manager.c:84):soup_host_free: runtime check failed: (host->conns == NULL)

(flatpak install:242436): libsoup-WARNING **: 18:06:18.958: Disposing connection 0x556fff0986f0 while still connected

(flatpak install:242436): libsoup-WARNING **: 18:06:19.652: (…/libsoup/soup-session.c:334):soup_session_dispose: runtime check failed: (soup_connection_manager_get_num_conns (priv->conn_manager) == 0)

(flatpak install:242436): libsoup-WARNING **: 18:06:19.652: (…/libsoup/soup-connection-manager.c:84):soup_host_free: runtime check failed: (host->conns == NULL)

(flatpak install:242436): libsoup-WARNING **: 18:06:19.652: Disposing connection 0x556fff33fd30 while still connected
error: Unable to load summary from remote flathub: GPG verification enabled, but no summary found (check that the configured URL in remote config is correct)

And when I try to run ‘flatpak remote-delete flathub’,
error: Rejected send message, 1 matched rules; type=“method_call”, sender=“:1.345” (uid=1001 pid=242323 comm=“flatpak remote-delete flathub” label=“kernel”) interface=“org.freedesktop.Flatpak.SystemHelper” member=“ConfigureRemote” error name=“(unset)” requested_reply=“0” destination=“org.freedesktop.Flatpak.SystemHelper” (bus)