We are getting this error in prometheus while connecting to an endpoint
Get "
https://10.14.0.42:443/health": stream error: stream ID 7; HTTP_1_1_REQUIRED; received from peer
When checked manually: curl
https://10.14.0.42:443/health -k -v --http1.1
This works fine and provides list of metrics
I added scheme: http but that didn't work and I am getting the same error. Something like this
scrape_configs:
- job_name: 'example'
scheme: http
Any recommendations on what else I can try here?
Regards,
Pragya