Forum

Wine packages website is unavailable

Catalina 10.15.6 + PlayOnMac 4.4.1

Författare Svar
thrashy Friday 21 August 2020 at 15:39
thrashyAnonymous

I can't create a 64 bit virtual drive because when I go to manage wine versions I just get a message that says "Wine packages website is unavailable" for both the X86 and 64 bit tabs. Is there a solution? Perhaps a way to manually install a Wine version? As of now I'm completely stuck. Thank you!

 

 

Winnifriedo Saturday 22 August 2020 at 9:49
WinnifriedoAnonymous

I have the same problem.

 

Dadu042 Sunday 23 August 2020 at 6:55
Dadu042
Moderator

Perhaps an overload ?

fabrizioo Monday 24 August 2020 at 0:53
fabriziooAnonymous

I have the same problem

Alex_Montoya Thursday 27 August 2020 at 11:47
Alex_MontoyaAnonymous

I have the same issue.  
OS: Catalina 10.15.6
PlayOnMac: 4.4.1
https://pasteboard.co/JohMZk7.png

 

Ändrat av Alex_Montoya

Dadu042 Thursday 27 August 2020 at 15:36
Dadu042
Moderator

Alex_Montoya, when I have this screen on Linux, it is because the website is overloaded. Just try again later (ie: 1 or 2 hours later).

Alex_Montoya Tuesday 15 September 2020 at 22:00
Alex_MontoyaAnonymous

Dadu042 The problem saves.

Winnifriedo Tuesday 6 October 2020 at 12:37
WinnifriedoAnonymous

No solution so far? The problem persists.

bitone Friday 23 October 2020 at 17:22
bitoneAnonymous

I have the same issue on Linux, POL 4.3.4. I'm trying again and again for one hour now...

bitone Friday 23 October 2020 at 22:28
bitoneAnonymous

I have the same issue on Linux, POL 4.3.4. I'm trying again and again for one hour now...

~$ env PYTHONHTTPSVERIFY=0  playonlinux

The "real" fix:

The source of all these issues is the "Let's Encrypt" SSL certificate of the referred website. To verify this certificate a so called intermediate CA certificate (cacert) is needed, which is missing in the linux distribution.

To solve this we have to do two things:

  1. Install te missing CA certificate
  2. Tell python and wget to use the system wide CA certs

Download the CA certificate from here: https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem and rename it to lets-encrypt-x3-cross-signed.crt

Make a new folder if not available (as root):

sudo mkdir /usr/share/ca-certificates/extra

Move the certificate into this folder.

Update the system wide CA certs:

sudo dpkg-reconfigure ca-certificates

You can start POL now with:

env SSL_CERT_DIR=/etc/ssl/certs playonlinux

We see the list of wine versions, but we still can't install them because wget also needs the intermediate CA certificate.

For some reason wget ignores SSL_CERT_DIR and I found only one way to determine where it looks for certificates:

strace wget -q --prefer-family=IPv4 https://phoenicis.playonlinux.com/index.php/wine?os=linux -O- 2>&1 | grep ssl

stat("/usr/local/ssl/certs/4f06f81d.0"

So, wget looks for the certs in /usr/local/ssl/certs/

To make wget accept the Let's Encryt certificate, we copy intermediate CA cert to this folder:

cp -P /etc/ssl/certs/4f06f81d.0 /etc/ssl/certs/lets-encrypt-x3-cross-signed.pem /usr/local/ssl/certs/

(-P = do not dereference links)

That's it!

At least this how it works on Ubuntu 20.04.

Ändrat av bitone

yaoqb Thursday 29 October 2020 at 18:18
yaoqbAnonymous

same here and i saw this online

https://georgekarapi.com/2020/02/01/fix-playonlinux-wine-package-website-is-unavailable-error/

go to /Applications/PlayOnMac.app/Contents/MacOS/ and edit the playonmac file, add #export PYTHONHTTPSVERIFY=0 to the file after # Setting X11 path after restart the program it will show wine versions again

 

if the wine versions not loaded correctly maybe remind maintainer to check the certificate of this URL:

https://phoenicis.playonlinux.com/index.php/wine?os=darwin

 

 

Ändrat av yaoqb

bitone Thursday 29 October 2020 at 19:25
bitoneAnonymous

if the wine versions not loaded correctly maybe remind maintainer to check the certificate of this URL:

https://phoenicis.playonlinux.com/index.php/wine?os=darwin

They are using a Let's Encrypt certificate. The problem is that some OS (Mac, Linux...) don't contain the corresponding CA certificate. 

yaoqb Friday 30 October 2020 at 18:29
yaoqbAnonymous

 

if the wine versions not loaded correctly maybe remind maintainer to check the certificate of this URL:

https://phoenicis.playonlinux.com/index.php/wine?os=darwin

They are using a Let's Encrypt certificate. The problem is that some OS (Mac, Linux...) don't contain the corresponding CA certificate. 

 

 Is there anyway to package the CA certificate in the .app bundle? It looks stupid but maybe that will make it work.

It seem like not everyone got the problem, and I doubt that this is a CA cert problem because I can open https://phoenicis.playonlinux.com/index.php/wine?os=darwin in safari whitout warning.

bitone Friday 30 October 2020 at 22:19
bitoneAnonymous

 Is there anyway to package the CA certificate in the .app bundle? It looks stupid but maybe that will make it work.

It seem like not everyone got the problem, and I doubt that this is a CA cert problem because I can open https://phoenicis.playonlinux.com/index.php/wine?os=darwin in safari whitout warning.

Yes it's definitely a problem with the CA cert. I did a lot of tests and I know a similar issue in other cases where they use Let's Encrypt.

The browsers use a different configuration than Python and wget. It can be that on OSX the CA cert is already installed, but the python and wget version bundled with POL do not respect the system wide paths. Indeed the POL maintainers could add the certificate to the bundle but they also had to set some pathes.

I have no idea though why some don't have this issue.... 

Ändrat av bitone

illunic Friday 6 November 2020 at 18:35
illunicAnonymous

I've been having similar issues myself. I'm on 10.15.7 and trying to manage wine versions gets me this error in the terminal:

 

<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>

<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>

 

 

Been keeping watch on the site but just in case I missed anything was there an official response to this stuff or maybe even some type of work around that I missed. Any help would be appreciated. 

Ändrat av illunic

phinneas Wednesday 11 November 2020 at 18:46
phinneasAnonymous

I followed the solution provided by yaoqb and am still having the issue.  Watching it launch in terminal I'm still seeing the same error that illunic is reporting.

elfgoh Friday 13 November 2020 at 14:32
elfgohAnonymous

 

I've been having similar issues myself. I'm on 10.15.7 and trying to manage wine versions gets me this error in the terminal:

 


 

 

 /Applications/PlayOnMac.app/Contents/MacOS/playonmac
[main] Message: PlayOnMac (4.4.1) is starting
[clean_tmp] Message: Cleaning temp directory
[install_plugins] Message: Checking plugin: ScreenCap...
[update_check] Message: List is up to date
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
$ env PYTHONHTTPSVERIFY=0  /Applications/PlayOnMac.app/Contents/MacOS/playonmac
[main] Message: PlayOnMac (4.4.1) is starting
[clean_tmp] Message: Cleaning temp directory
[install_plugins] Message: Checking plugin: ScreenCap...
[update_check] Message: List is up to date
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
romanzif Monday 16 November 2020 at 4:55
romanzifAnonymous

I have the same issue.  
OS: Catalina 11.01.1
PlayOnMac: 4.4.1

Please help