Hi,
I found solution. 
Too old docker image I built (10 months...).

I updated all components .

Sorry I wirite wrong code I previous message. it wasn't 207, but 307.

My working dockerfile: 

FROM python:alpine3.17

RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> 
/etc/apk/repositories

RUN apk add --update alpine-sdk
RUN apk add --update --no-cache bash mariadb-client tar restic rclone 
ca-certificates fuse tzdata shellinabox msmtp mongodb-tools openssl curl 
vim python3-dev libc-dev gcc libffi-dev 
RUN pip3 install --no-cache-dir PyMySQL ansible python-consul python-nomad 
hvac pyopenssl
RUN ansible-galaxy collection install community.general


Thanks for your help Dick!
Le dimanche 23 avril 2023 à 09:28:52 UTC+2, Dick Visser a écrit :

> On Sat, 22 Apr 2023 at 15:33, Frédéric GAUTHIER BESNARD <
> [email protected]> wrote:
>
>> Hi,I installed pyopenssl
>>
> I tried with validate_certs: no, error 207.
>>
>>
>
> I'm thinking that the SSL verification error could be caused by ansible 
> not having access to the CA certificate, perhaps the path inside your 
> container is different from the path outside the container? I would check 
> that.
> Once you disable verification, you can reach the API, and that "error 207" 
> looks like it is the HTTP response from the API.
> What that exactly means depends on the API that you're calling. 
> I would check the logs of the system at 172.17.0.1 that implements the API 
> and see what that says.
>
> Dick
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d3a6c9ca-ceac-4392-8a95-d197e2c39145n%40googlegroups.com.

Reply via email to