I just tried exactly the same with another hostname in the route and it's working fine now. Don't know why it wasn't working (the hawkular-metrics.xxx.eu worked in the past.
From: [email protected] To: [email protected] Subject: RE: Can't access hawkular-metrics.dev.test.co Date: Mon, 4 Apr 2016 21:32:23 +0000 CC: [email protected] Chrome is telling me: This site can’t be reachedhawkular-metrics.xxx.eu unexpectedly closed the connection.ERR_CONNECTION_CLOSED While I have a jenkins (https), some tomcat apps (http) which are all working and I can visit them in my browser by the same domain-name. From: [email protected] To: [email protected] Subject: RE: Can't access hawkular-metrics.dev.test.co Date: Mon, 4 Apr 2016 21:28:01 +0000 CC: [email protected] Thanks, I got: {"MetricsService":"STARTED","Implementation-Version":"0.13.0-SNAPSHOT","Built-From-Git-SHA1":"96e6d3c83bb09f659c0cb6b17eb1a9648df66a6f" which seems to be fine? Because I want to see something like that in my browser. > Date: Mon, 4 Apr 2016 17:21:15 -0400 > From: [email protected] > To: [email protected] > CC: [email protected] > Subject: Re: Can't access hawkular-metrics.dev.test.co > > Sorry, I meant the IP address of the Hawkular Metrics pod > > eg > curl -k -X GET https://`oc get pod $(oc get pods | grep -i hawkular-metrics | > awk '{print $1}') -o template > --template='{{.status.podIP}}'`:8443/hawkular/metrics/status > > [or port 8444 if running the OSE images instead of origin] > > ----- Original Message ----- > > From: "Den Cowboy" <[email protected]> > > To: "Matt Wringe" <[email protected]> > > Cc: [email protected] > > Sent: Monday, April 4, 2016 5:05:33 PM > > Subject: RE: Can't access hawkular-metrics.dev.test.co > > > > I've created the metrics as admin which has the role cluster-admin in my > > cluster? > > > > From: [email protected] > > To: [email protected] > > Subject: RE: Can't access hawkular-metrics.dev.test.co > > Date: Mon, 4 Apr 2016 20:59:55 +0000 > > CC: [email protected] > > > > > > > > > > Sorry got it: > > > > { > > "kind": "Status", > > "apiVersion": "v1", > > "metadata": {}, > > "status": "Failure", > > "message": "User \"system:anonymous\" cannot \"get\" on > > \"/hawkular/metrics/status\"", > > "reason": "Forbidden", > > "details": {}, > > "code": 403 > > } > > > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > Subject: RE: Can't access hawkular-metrics.dev.test.co > > Date: Mon, 4 Apr 2016 20:58:14 +0000 > > > > > > > > > > Do you mean in my browser and with the IP of the node where my router is on? > > > > > Date: Mon, 4 Apr 2016 16:51:55 -0400 > > > From: [email protected] > > > To: [email protected] > > > CC: [email protected] > > > Subject: Re: Can't access hawkular-metrics.dev.test.co > > > > > > Please try this: > > > > > > > > Are you able to access the Hawkular Metrics server directly with its > > > > > ip > > > > > address? eg https://$IP_ADDRESS:8443/hawkular/metrics/status (or port > > > > > 8444 > > > > > if running the OSE metric images) > > > > > > ----- Original Message ----- > > > > From: "Den Cowboy" <[email protected]> > > > > To: "Matt Wringe" <[email protected]> > > > > Cc: [email protected] > > > > Sent: Monday, April 4, 2016 4:48:44 PM > > > > Subject: RE: Can't access hawkular-metrics.dev.test.co > > > > > > > > It's no router/DNS issue because other apps are working fine. > > > > > > > > I had those errors between the startup but I don't know if it's normal: > > > > > > > > Readiness probe failed: Failed to access the status endpoint : HTTP > > > > Error > > > > 404: Not Found. > > > > > > > > > > > > > > > > > > > > > > > > > > > > 10:44:40 PM > > > > > > > > > > > > hawkular-metrics-b6qq2 > > > > > > > > Pod > > > > > > > > Warning > > > > > > > > > > > > Unhealthy > > > > > > > > > > > > > > > > Readiness probe failed: Failed to access the status endpoint : <urlopen > > > > error > > > > [Errno 111] Connection refused>. > > > > > > > > > > > > > > > > > Date: Mon, 4 Apr 2016 14:51:43 -0400 > > > > > From: [email protected] > > > > > To: [email protected] > > > > > CC: [email protected] > > > > > Subject: Re: Can't access hawkular-metrics.dev.test.co > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Den Cowboy" <[email protected]> > > > > > > To: [email protected] > > > > > > Sent: Monday, April 4, 2016 11:50:07 AM > > > > > > Subject: Can't access hawkular-metrics.dev.test.co > > > > > > > > > > > > We use the official docs to deploy cluster metrics: > > > > > > https://docs.openshift.org/latest/install_config/cluster_metrics.html > > > > > > Everything is working fine, the pods are running. Everything seems > > > > > > to > > > > > > work > > > > > > fine but we're unable to use the route to our hawkular-metrics > > > > > > service. > > > > > > > > > > > > Browser error: Secure connection failed > > > > > > > > > > > > curl -X GET https://hawkular-metrics.dev.co/hawkular/metrics/status > > > > > > curl: (35) Encountered end of file > > > > > > > > > > > > We've created our secret this way: > > > > > > oc secrets new metrics-deployer nothing=/dev/null > > > > > > > > > > Are you able to access the Hawkular Metrics server directly with its > > > > > ip > > > > > address? eg https://$IP_ADDRESS:8443/hawkular/metrics/status (or port > > > > > 8444 > > > > > if running the OSE metric images) > > > > > > > > > > Are you sure you properly setup your router and have it exposing that > > > > > route > > > > > properly to the network you are trying to reach this from? > > > > > > > > > > > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.openshift.redhat.com/openshiftmm/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
