Closed botkero closed 1 year ago
Hi @botkero, I need some more info to help you:
/plantuml/png/SoWkIImgAStDuNBAJrBGjLDmpCbCJbMmKiX8pSd9vt98pKi1IW80
, which should render a png diagram (maybe the prefix '/plantuml' is not necessary, depending on how you installed plantuml)/plantuml
, in your case it seems to be at the root url//png/...
, the double slash can interfere with the routing rules on the server (maybe I need to remove the last slash from the server URL if present)WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None))
after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed:
unable to get local issuer certificate (_ssl.c:992)'))':
/png/SoWkIImgAStDuNBCoKnELT2rKt3AJx9IS2mjoKZDAybCJYp9pCzJ24ejB4qjBk42oYde0jM05MDHLLoGdrUSoeLkM5u-K5sHGY9sGo6ARNHr8QeJSQc66kwGcfS2SZ00
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None))
after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed:
unable to get local issuer certificate (_ssl.c:992)'))':
/png/SoWkIImgAStDuNBCoKnELT2rKt3AJx9IS2mjoKZDAybCJYp9pCzJ24ejB4qjBk42oYde0jM05MDHLLoGdrUSoeLkM5u-K5sHGY9sGo6ARNHr8QeJSQc66kwGcfS2SZ00
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None))
after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed:
unable to get local issuer certificate (_ssl.c:992)'))':
/png/SoWkIImgAStDuNBCoKnELT2rKt3AJx9IS2mjoKZDAybCJYp9pCzJ24ejB4qjBk42oYde0jM05MDHLLoGdrUSoeLkM5u-K5sHGY9sGo6ARNHr8QeJSQc66kwGcfS2SZ00 ERROR - Error reading page 'gitlab/gitlab.md':
HTTPSConnectionPool(host='gitlab-plantuml.xxxxxxxxx.de', port=443): Max retries exceeded with url: /png/SoWkIImgAStDuNBCoKnELT2rKt3AJx9IS2mjoKZDAybCJYp9pCzJ24ejB4qjBk42oYde0jM05MDHLLoGdrUSoeLkM5u-K5sHGY9sGo6ARNHr8QeJSQc66kwGcfS2SZ00
(Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))
SSLError: HTTPSConnectionPool(host='gitlab-plantuml.xxxxxxxxx.de', port=443): Max retries exceeded with url: /png/SoWkIImgAStDuNBCoKnELT2rKt3AJx9IS2mjoKZDAybCJYp9pCzJ24ejB4qjBk42oYde0jM05MDHLLoGdrUSoeLkM5u-K5sHGY9sGo6ARNHr8QeJSQc66kwGcfS2SZ00
(Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))
It's definitely a problem related to an SSL certificate that can't be verified, probably because it's self-signed. You can try to generate a valid certificate using Let's Encrypt, for example using a container with Traefik, but maybe it can be a bit complex if you never used it. I think it would be helpful if I add an option to disable certificate validation, useful at least with development configurations. I'll let you know when I made the change.
Hi @botkero, I've just released the version 3.8.1
which adds the insecure
configuration option, which can be used to disable SSL validation checks.
In your case set it to True
to disable checks, as certificates in your server are not valid (they seems self-signed).
Hi @botkero, I've just released the version
3.8.1
which adds theinsecure
configuration option, which can be used to disable SSL validation checks. In your case set it toTrue
to disable checks, as certificates in your server are not valid (they seems self-signed).
Hi @mikitex70, now works flawlessly, thank you! Can I appreciate the work with tip?
You are free to do as you like. I added the section for discussions, it could be useful for other situations as well (I didn't know it existed :smile:). Please close this issue is you think the issue has been resolved.
Hello,
Firstly, thank you for this great work here. However, I have come across a hurdle where I don't quite know what the problem is.
I'm not entirely certain that something is misconfigured from my side. Maybe you have some ideas.
First, I would like to use this extension with mkdocs. More specifically mkdocs-material, but that comes with mermaid by default, which, I think, is inferior to plantuml. If I take the default address, it works fine. However, I have my own plantuml instance and it doesn't work with that. The only difference is that one uses
http
and the otherhttps
.My configuration is simple:
This is the error message I receive: