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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/82949293-fbca-48c7-8d02-38d6d6289003n%40googlegroups.com.