thilojaeggi / WinGetty

An open source REST Backend for creating a private WinGet Repo without having to rely on cloud dependencies.
https://wingetty.dev
GNU Affero General Public License v3.0
168 stars 15 forks source link

Failed to open the added source #39

Closed demanuPL closed 2 months ago

demanuPL commented 6 months ago

Winget refuses to add wingetty source, returns: Failed to open the added source.

the same behaviour with --verbose option, no additional information

Steps to reproduce the behavior: winget source add -n WinGetty -t "Microsoft.Rest" -a https://wingetty.mylab.lab/wg/

I've enabled TLS 1.2 and SSL 3.0 in internet settings but it didn't fix it

excelsi commented 6 months ago

I have the samue issue after finally configuring Nginx correctly:

image

And the Setup Command looks fine too:

image

Api looks running (added packages already before):

image

It is Version 0.0.9 In a previous release this already worked for me.

Thanks!

LordPanduu commented 4 months ago

Same problem here. I am Running WinGetty in WLS 2 Ubtunu on a Windows Server 2022. I have IIS configured to work as a reverse proxy. image

Access to the website works with the certificate. However on the setup is is written: winget source add -n WinGetty -t "Microsoft.Rest" -a https://localhost:8080/wg/

As it is a server, installing winget is a bit troublesome. But also how i connect to the website, doenst work as it says "tailed to open the source"

image (i fixed the certificate in the meanwhile) Api seems to be working too.

Logs of the source add: image

any fixes?

thanks

LordPanduu commented 3 months ago

I found a solution for me. I Created a self signed certfiticate on my reverse proxy. and installed it on my reverseproxy and the windows clients as trusted people. Hope it helps