Azure / Azure/azure-linux-extensions

SSL Issue

Open
#1,379 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

Hi

I have this error

```
Jun 10 13:54:13 lveulnx4053q MDM[315199]: Error AggregatedMetricsPublisher CUSTOMMETRIC_xxxxxxxxxxxxxxxxxxxxx_westeurope[westeurope.monitoring.azure.com] /source/src/NativeMetricsExtension/Lib/AggregatedMetricsPublisher.cpp(747) Metrics data publication failed with an HTTP exception after receiving a server response. PublicationEndpoint: "https://40.113.176.130/api/v1/ingestion/ingest[westeurope.monitoring.azure.com]", Trace GUID: "{xxxxxxxxxxxxxxxxxxx}", HandlingServer: "Unknown", AuthContext: "BearerToken:/var/lib/waagent/Microsoft.Azure.Monitor.AzureMonitorLinuxAgent-1.6.2/config/metrics_configs/AuthToken-MSI.json", TaskCancelled: false, Exception: "Error in SSL handshake"
```

The SSL certificate is not configured for a Server IP but for prod.hot.ingest.monitor.core.windows.net

Best regards

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported error in NativeMetricsExtension/Lib/AggregatedMetricsPublisher.cpp at line 747 and compare the publication endpoint with the certificate hostname described in the issue. Reproduce or trace the SSL handshake and endpoint configuration; done means identifying the cause of the certificate mismatch and documenting or implementing the appropriate fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.