F-Droid client not supporting HTTP Basic Auth?

Hi all,

Sorry if this should be a Gitlab Issue, but I wanted to make sure that I was not doing anything wrong before. I am setting up a private F-Droid repo behind HTTP Basic Auth, and while this thread suggests that the client should ask for a username and password, it looks like my client doesn’t support it. I get the following error:

java.io.IOException: io.ktor.client.plugins.ClientRequestException: Client request(GET ``http://192.168.0.105:8000/fdroid/repo/emtry.jar``) invalid: 401 Unauthorized. Text: “<HTML><head><title>401 Authorization Required</title></head><body>…</body></html>” (I shortened the HTML)

Did anything change with the client? I’m using v1.23.1. Or am I missing something? I can access the repo on my phone’s browser.

Thanks a lot!

Thank you so much, I definitely missed that. It would be useful to add the information to the documentation!