SAVE AND TEST error occurred "Error reading Prometheus: bad_response..."

This error occurs when i enter the url and click save and test
http://192.168.102.133:9100



I try change url but it’s still like that
http://192.168.102.133:9100/metrics
I don’t know fix it. pls help me

I’m running into the same error, sending logs between two hosts at AWS.

The first time I got the error, I’d forgotten to open a security group (port / network allow) rule between the two hosts. Now that I’ve done that, I can curl the remote server, and get the metrics data just fine.

However, setting up a local Prometheus install to the remote server doesn’t work, same error message you got.

I realize this is a Grafana forum, but as Google gave me just a few websites, and this was one of them, I figured I’d toss a bottle in the ocean.

For your problem, I’d say, check your networking setup. I tried hitting that same URL and got no results either. Your port is probably blocked.

    == John ==