Error: Unable to load summary from remote ...

Dan Nicholson nicholson at endlessm.com
Thu Feb 13 19:08:22 UTC 2020


On Wed, Feb 12, 2020 at 4:38 PM Daniel Kasak <d.j.kasak.dk at gmail.com> wrote:
>
> Hi all.
>
> I've recently moved my flatpak repo to another server, and when I try
> to install from it with:
> flatpak install --from <url of flatpakrepo>
>  ... I get:
>
> error: Unable to load summary from remote <remote>: Server returned
> status 300: Multiple Choices
>
> When I use curl to download that flatpakrepo file, I get a status 200.
> What's going on?

I've never seen a 300 error before and indeed Mozilla's description
suggests it's very rarely used -
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300. In this
case, flatpak install --from uses libsoup for HTTP downloading. I
don't know what soup does with 300 errors, but you can set the
environment variable OSTREE_DEBUG_HTTP to 1 to have flatpak dump out
all the HTTP requests and responses while you run the flatpak command.

That said, this seems like a server issue to me. Can you show the
output of curl -I http://<host>/<path/to/repo>/config? I'm curious to
see what a 300 response actually looks like. You can also use curl -v
to let it continue on and see the whole response chain with a GET
rather than a HEAD.


More information about the Flatpak mailing list