SUSE / Portus

Authorization service and frontend for Docker registry (v2)
http://port.us.org/
Apache License 2.0
3k stars 471 forks source link

error writing events #2294

Closed mitesh-devops closed 4 years ago

mitesh-devops commented 4 years ago

I am using wildcard ssl and using the .crt with a combination of CA bundle file + certificate. The SSL works correctly when I add in portus UI. The push is also working but the webhook call is somehow not working. the registry container has the following error.

registry_1 | time="2020-04-21T15:09:30Z" level=error msg="retryingsink: error writing events: httpSink{https://registry.domain.com/v2/webhooks/events}: error posting: Post https://registry.domain.com/v2/webhooks/events: x509: certificate is valid for *.kinsta.com, kinsta.com, not registry.domain.com, retrying"

We have added appropriate entries with extra_hosts and it works on internal IP correctly but the above error somehow indicated that webhook is being called on a public network.

compose.txt

I have tried the solution given on https://github.com/SUSE/Portus/issues/1496. Please advice.

Jean-Baptiste-Lasselle commented 4 years ago

please close redundant issues you havev an answer and we're waiting .

mitesh-devops commented 4 years ago

were not submitted succesfully last day..