I want to install Flatpak in Ubuntu but when I run this line
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
I encounter this error message, how can I fix this error?
error: Can't load uri https://flathub.org/repo/flathub.flatpakrepo: Peer failed to perform TLS handshake: The TLS connection was non-properly terminated.