Le 06/07/2019 à 23:02, Aleksandar Lazic a écrit :
Hi.
I use HAP 2.0.1 with haproxy service with my image.
After some times (~several hours) the ssl handshake stops working for the https
frontend which offers the prom service.
The config is mainly the same as showing at the blog post
https://www.me2digital.com/blog/2019/05/haproxy-sni-routing/
I have just added this line.
```
http-request use-service prometheus-exporter if { path /mymetrics }
```
This is the prometheus config snipplet.
```
- job_name: 'me2d-prom'
metrics_path: '/mymetrics'
scheme: 'https'
static_configs:
- targets: ['cloud.domain']
```
The lines in the logs does not show too much
```
::ffff:85.10.XXX.XXX:40276 [05/Jul/2019:13:53:33.532] https-in/1: SSL handshake
failure
```
Have someone used this service in the main https config?
Which data (show ...) should I provide to debug this topic?
Hi Aleks,
Could you check with the latest 2.0 snapshot ? An issue about Prometheus was
fixed (#151 on GitHub). And some others about connections.
--
Christopher Faulet