Traceback (most recent call last):
File "/home/user/my-project/.venv/bin/savepagenow", line 10, in <module>
sys.exit(cli())
File "/home/user/my-project/.venv/lib64/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/user/my-project/.venv/lib64/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/user/my-project/.venv/lib64/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/my-project/.venv/lib64/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/user/my-project/.venv/lib64/python3.7/site-packages/savepagenow/api.py", line 127, in cli
archive_url = capture(url, **kwargs)
File "/home/user/my-project/.venv/lib64/python3.7/site-packages/savepagenow/api.py", line 42, in capture
raise WaybackRuntimeError(error_header)
LiveDocumentNotAvailableException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
I presume this is a server side error because I don't think this library is calling Java on my workstation. Strangely, if I post on the Save Page Now form, it actually creates a snapshot of the URL. What is going on?
Got this error when saving a specific page:
The code I'm using:
The same code works for some other URL normally.
I presume this is a server side error because I don't think this library is calling Java on my workstation. Strangely, if I post on the Save Page Now form, it actually creates a snapshot of the URL. What is going on?
The URL I'm trying to archive: https://www.chp.gov.hk/files/pdf/local_situation_covid19_tc.pdf