I got a new error when I added enable_http2: false
local error : tls: no renegotiation
On Thursday, 14 September 2023 at 20:29:58 UTC+5:30 Brian Candler wrote:

> Try this:
>
> enable_http2: false
> On Thursday, 14 September 2023 at 14:22:18 UTC+1 Pragya Singh wrote:
>
>> We are getting this error in prometheus while connecting to an endpoint
>> Get "https://10.14.0.42:443/health <https://10.14.0.42/health>": stream 
>> error: stream ID 7; HTTP_1_1_REQUIRED; received from peer
>>
>> When checked manually: curl https://10.14.0.42:443/health 
>> <https://10.14.0.42/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
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/4a925cb1-9781-4a97-a4cd-95315328c66an%40googlegroups.com.

Reply via email to