Setuptools: certificate verification failing

I’m attempting to create a new build of Night River, but there seems to be a problem with the build system retrieving the Panda wheel.


I’m running the build-system with the following terminal command:

python3 bdist_apps

The system indicates that it’s gathering wheels, and that it’s collecting panda3d. However, at this point it starts producing the following error:

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)'),)': /simple/opt/panda3d/

This repeats until the value after “total=” has reached “0”, at which point it uses a cached wheel; looking at the output from attempting to update Panda, it looks like it’s using the 1.10.2 wheel that I installed via “pip3”.

This does appear to work, producing the following output:

  Using cached
  Saved ./build/__whl_cache__/panda3d-1.10.2-cp36-cp36m-manylinux1_x86_64.whl
Successfully downloaded panda3d
Could not find an optimized wheel (using index for platform: manylinux1_x86_64
Building runtime for platform: manylinux1_x86_64

Before continuing on.

But of course, as it notes, the wheel that it’s using is presumably not an optimised one.

Ouch, looks like the cert expired yesterday.

As it happens, I was in the process of moving over the files to the new server, which happens to already have the new cert; I’ll just have to expedite that process.

In the meantime, you could explicitly add the non-SSL version of the index by adding --extra-index-url in a new line to your requirements.txt.

Ah, fair enough, and thank you! :slight_smile:

There’s no hurry on my end, I think–I’ll just wait for the move to the new server to be done. :slight_smile:

I’m now seeing a “ReadTimeoutError”. Is the move to the new server still underway, or is this a new problem?

The full error:

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='', port=443): Read timed out. (read timeout=15)",)': /simple/opt/panda3d/

(Unlike the last error, it seems to show this one only once.)

I think it was just taking a while to regenerate all the md5 hashes.

I do see there are no optimized wheels listed for v1.10.2 yet though. I’ll take care of that and report back.

Fair enough, and thank you for doing so! I appreciate it! :slight_smile:

I think this should be sorted now. Let me know if not.

It looks like it’s working! (I haven’t done a full build yet, as I’m partway through work on a new feature. However, I let the build-system start, and the download seemed to start successfully begin before I cancelled it.)

Thank you very much for your work, and for letting me know that this was working again! :slight_smile: