Expired Certificate from runtime.panda3d.org

Hi,

I have a software still runs on Panda3d 1.9 and I updated some of the codes and wishes to deploy it in the old way. However, when I try to pdeploy after packp3d, theres an error from pdeploy about expired certificate on runtime.panda3d.org. how do I get pass this error to get the .exe file?

Besides, is there a schedule for 1.10 installers? Was hoping to have something similar to pdeploy which generates .exe file and easy to use in 1.10. Thanks! https://docs.panda3d.org/1.10/python/distribution/packaging-binaries#installers

Help appreciated! :slight_smile:

:AppRunner: Total Panda3D disk space used: 146 MB
:AppRunner: Configured max usage is: 2048 MB
:HostInfo: Downloading contents file [ https://runtime.panda3d.org/contents.xml?1605273422 ]

:downloader: [03603510] begin GET [ https://runtime.panda3d.org/contents.xml?1605273422 ]
:downloader: [03603510] Expired certificate from runtime.panda3d.org:443
:HostInfo(warning): Could not contact download server at https://runtime.panda3d.org/contents.xml?1605273422
:HostInfo(warning): Status code = 14 SSL invalid server certificate
:HostInfo: Retrying (1)...
:downloader: [03709890] begin GET [ https://runtime.panda3d.org/contents.xml?1605273422 ]
:downloader: [03709890] Expired certificate from runtime.panda3d.org:443
:HostInfo(warning): Could not contact download server at https://runtime.panda3d.org/contents.xml?1605273422
:HostInfo(warning): Status code = 14 SSL invalid server certificate
:HostInfo: Retrying (2)...
:downloader: [03600D48] begin GET [ https://runtime.panda3d.org/contents.xml?1605273422 ]
:downloader: [03600D48] Expired certificate from runtime.panda3d.org:443
:HostInfo(warning): Could not contact download server at https://runtime.panda3d.org/contents.xml?1605273422
:HostInfo(warning): Status code = 14 SSL invalid server certificate
:HostInfo(warning): Unable to download https://runtime.panda3d.org/contents.xml?1605273422
Traceback (most recent call last):
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\showbase\Messenger.py", line 354, in __taskChainDispatch
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\showbase\Messenger.py", line 412, in __dispatch
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\p3d\AppRunner.py", line 718, in __startIfReady
  File "VFSImporter", line 148, in load_module
  File "direct\p3d\pdeploy.py", line 276, in <module>
  File "direct\p3d\DeploymentTools.py", line 559, in __init__
  File "direct\p3d\DeploymentTools.py", line 83, in __init__
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\directnotify\Notifier.py", line 131, in error
StandardError: couldn't read host
:task(error): Exception occurred in PythonTask Messenger-default
Traceback (most recent call last):
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\p3d\AppRunner.py", line 596, in run
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\task\Task.py", line 513, in run
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\task\Task.py", line 470, in step
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\showbase\Messenger.py", line 354, in __taskChainDispatch
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\showbase\Messenger.py", line 412, in __dispatch
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\p3d\AppRunner.py", line 718, in __startIfReady
  File "VFSImporter", line 148, in load_module
  File "direct\p3d\pdeploy.py", line 276, in <module>
  File "direct\p3d\DeploymentTools.py", line 559, in __init__
  File "direct\p3d\DeploymentTools.py", line 83, in __init__
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\directnotify\Notifier.py", line 131, in error
StandardError: couldn't read host
Failure on startup.

I had the same issue which sent me on the path towards porting my code to 1.10.x and it is still a work in progress.

D:\SoKDev>cd makep3d

D:\SoKDev\Makep3d>F:\BackupsFromAugust2019\Panda3D-1.9.4-x64\bin\pdeploy -s -n SoK -N "Shardz of Kontinua" -v 0.2020.10.2 -a com.pbngGames -A "PBNG Games" -t width=1280 -t height=768 -i Crystal1.png -i Crystal255.png -c sok-client-0-2020-10-2.p3d standalone
:AppRunner: Total Panda3D disk space used: 439 MB
:AppRunner: Configured max usage is: 2048 MB

Provided short name should be lowercase, and may not contain spaces!

:HostInfo: Downloading contents file [ https://runtime.panda3d.org/contents.xml?1602816746 ]

:downloader: [04A24438] begin GET [ https://runtime.panda3d.org/contents.xml?1602816746 ]
:downloader: [04A24438] Expired certificate from runtime.panda3d.org:443
:HostInfo(warning): Could not contact download server at https://runtime.panda3d.org/contents.xml?1602816746
:HostInfo(warning): Status code = 14 SSL invalid server certificate
:HostInfo: Retrying (1)...
:downloader: [04A19348] begin GET [ https://runtime.panda3d.org/contents.xml?1602816746 ]
:downloader: [04A19348] Expired certificate from runtime.panda3d.org:443
:HostInfo(warning): Could not contact download server at https://runtime.panda3d.org/contents.xml?1602816746
:HostInfo(warning): Status code = 14 SSL invalid server certificate
:HostInfo: Retrying (2)...
:downloader: [04A1C3E0] begin GET [ https://runtime.panda3d.org/contents.xml?1602816746 ]
:downloader: [04A1C3E0] Expired certificate from runtime.panda3d.org:443
:HostInfo(warning): Could not contact download server at https://runtime.panda3d.org/contents.xml?1602816746
:HostInfo(warning): Status code = 14 SSL invalid server certificate
:HostInfo(warning): Unable to download https://runtime.panda3d.org/contents.xml?1602816746
Traceback (most recent call last):
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\showbase\Messenger.py", line 354, in __taskChainDispatch
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\showbase\Messenger.py", line 412, in __dispatch
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\p3d\AppRunner.py", line 718, in __startIfReady
  File "VFSImporter", line 148, in load_module
  File "direct\p3d\pdeploy.py", line 255, in <module>
  File "direct\p3d\DeploymentTools.py", line 83, in __init__
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\directnotify\Notifier.py", line 131, in error
StandardError: couldn't read host
:task(error): Exception occurred in PythonTask Messenger-default
Traceback (most recent call last):
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\p3d\AppRunner.py", line 596, in run
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\task\Task.py", line 513, in run
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\task\Task.py", line 470, in step
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\showbase\Messenger.py", line 354, in __taskChainDispatch
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\showbase\Messenger.py", line 412, in __dispatch
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\p3d\AppRunner.py", line 718, in __startIfReady
  File "VFSImporter", line 148, in load_module
  File "direct\p3d\pdeploy.py", line 255, in <module>
  File "direct\p3d\DeploymentTools.py", line 83, in __init__
  File "C:\buildslave\rtdist-windows-i386\build\built\direct\directnotify\Notifier.py", line 131, in error
StandardError: couldn't read host
Failure on startup.

D:\SoKDev\Makep3d>

The certificate is fine, but perhaps the runtime’s root certificate file is outdated. If so, we’d need to release a new version of the runtime to remedy this. However, we have discontinued the runtime, so this is unlikely to happen.

I seem to recall that there is a way to force the runtime to use a different host (and then set it to use the http host instead of https), but I don’t remember what the syntax for that is.

The binary produced by 1.10’s deployment system is portable and does not need an installer. But if you want, you can use any installer generation tool to have it installed on the user’s system.

I did a search on the forums and this was your response. Also using -M -u to set a non https doamin but I am little unclear where to do this.

Here is a link to another post on this. If I am understanding this correctly, the domain can be set in the packp3d operation which makes the p3d file before using pdeploy to make the final executable. Sometimes a feel like I know what I am doing here and sometimes I feel like a clueless newb. Thanks for your help rdb.

What would be the correct syntax here to point at the runtime via non-https? Something like this I assume but what should “somethinghere” be replaced by?
-r somethinghere,0.0,http://runtime.panda3d.org/contents.xml?1602816746

The -M option is passed to panda3d.exe, so you run panda3d.exe -M http://... F:\Backups...\bin\pdeploy.p3d -s ...

1 Like