softlayer / softlayer-java

SoftLayer API Client for Java
https://softlayer.github.io/softlayer-java/
MIT License
24 stars 26 forks source link

Unable to get performance metrics exception #74

Closed PookiPok closed 3 years ago

PookiPok commented 3 years ago

We are trying to run the function: getBandwidthData(start, end, "public" , 3600L); and we getting the following exception: Unable to get performance metrics for virtual guests Metric Service call failed after attempting to connect to these hosts, in order: web-agent-proxy-bds-metrics.app.com.okd.softlayer.local:80 Any idea why? please not that this command was working in the past but something is wrong now, we trying to understand why and how to fix it Gil

allmightyspiff commented 3 years ago

my guess would be an issue with the web-agent-proxy-bds-metrics.app.com.okd.softlayer.local:80 http proxy. If you can, try connecting directly to api.softlayer.com and see if that reports an error as well. I can't help troubleshoot proxy issues if that is the case.

PookiPok commented 3 years ago

Hi Thanks for the answer Please note this VM is running inside IBM Cloud, is this make any differences? We are using the softlayer api to connect to the IBM cloud do we need to have any special permission on the IBM cloud side? this command was working 2 weeks back

allmightyspiff commented 3 years ago

My apologies, I didn't fully read the url you posted, I thought you were trying to make API calls through a web proxy.

It looks like you have a ticket open about this, if you could update that ticket with the server ID or Metric_Tracking_Object id that you are having this problem with that would be helpful. If you dont have a ticket, feel free to update this issue as well. If this problem exists for more than 1 server, that would be helpful to know as well.

Thanks

allmightyspiff commented 3 years ago

I'm going to close this issue as the problem looks to be on the internal side of things, so updating the support ticket you have will be the best option to get this resolved. If you have any more issues with the softlayer-java client though, feel free to ask here again.