Hi. I recently upgraded to OTP 25 and started getting these warnings when avrora was trying to
fetch schemas from confluent schema registry:
iex(1)> Avrora.HTTPClient.get("https://example.com")
Failed to serialize event. error: {:invalid, &:ssl_logger.format/1}, event: %{"@timestamp": "2022-09-05T14:05:34.391+02:00", depth: 20, message: "Description: 'Authenticity is not established by certificate path validation'\n Reason: 'Option {verify, verify_peer} and cacertfile/cacerts is missing'\n", report_cb: &:ssl_logger.format/1}
Failed to serialize event. error: {:invalid, &:ssl_logger.format/1}, event: %{"@timestamp": "2022-09-05T14:05:34.629+02:00", depth: 20, message: "Description: 'Authenticity is not established by certificate path validation'\n Reason: 'Option {verify, verify_peer} and cacertfile/cacerts is missing'\n", report_cb: &:ssl_logger.format/1}
(Please ignore serializing error part, this is about 'Option {verify, verify_peer} and cacertfile/cacerts is missing path).
In this PR I add missing options to :httpc calls to get rid of these warnings.
Hi. I recently upgraded to OTP 25 and started getting these warnings when avrora was trying to fetch schemas from confluent schema registry:
(Please ignore serializing error part, this is about
'Option {verify, verify_peer} and cacertfile/cacerts is missing
path).In this PR I add missing options to
:httpc
calls to get rid of these warnings.