Health operational notification about outdated Java SDK version (less than 1.12.468)

0

Hi, I recently received a notification "we detected that you are making API calls to the AWS Health service with an outdated Java SDK version (less than v1.12.468), which might result in failures". I am using Java 1.8 and don't want to upgrade it in the short time. How can I resolve this issue?

JaneBH
asked 3 months ago240 views
3 Answers
1
Accepted Answer

Hi,

AWS Health does not complain about the version of Java (1.8) that you use: it complains rather about the version of AWS Java SDK that you use (1.12) which is old.

The fix would be to upgrade your AWS Java SDK to v2. It is compatible with Java 1.8: see https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/setup.html#setup-install

requirements:
*  
* An installation of Java 8 or later.
* 

Best,

Didier

profile pictureAWS
EXPERT
answered 3 months ago
  • Hi Didier Durand, i am using Old version of jenkins which is hosted on AWS only. I am not using sdk in my application code anywhere. In the AWS Health Dashboard i am receiving the above notification but in the Affected Resource it's showing my AWS Account ID. So i am not completely sure which resource is causing this notification. Could you please help or guide me with identifying the resource , Thanks :)

  • Do you have some of your own code using Java triggered by Jenkins calling AWS Health ? Or do you use some Jenkins plugin to make those calls? If it is a plugin, you may have to update the plugin (and maybe Jenkins). If it is your own code, you will have to upgrade its dependencies to switch to AWS Java SDK v2 (see link that I posted)

  • Thanks for accepting my answer! Didier

0

Hi Didier, Thank you for answering my question. But the interesting part is that the notification is gone in my Health dashboard and I haven't done anything yet?

JaneBH
answered 3 months ago
0

Hi Didier, I received the notification at Jan 30, 2024. I still have no idea what part could cause this alert?
I post the whole message here: *You are receiving this notification because we detected that you are making API calls to the AWS Health service with an outdated Java SDK version (less than v1.12.468), which might result in failures. We recommend upgrading your Java SDK to the latest version. Changes in version v1.12.468 include updates to AWS Health’s endpoint configuration that is used during fail-over conditions. In addition, please ensure that you are using the AWS Health global endpoint (global.health.amazonaws.com) that supports the fail-over mechanism. For more information, see the "Accessing the AWS Health API" documentation page [1].

AWS Health team will periodically perform fail-over tests and we would like to ensure you are not impacted by this. We undertake such fail-overs on a recurring basis to ensure that our services are highly available.

If you have any questions or concerns, please contact AWS Support [2].

[1] https://docs.aws.amazon.com/health/latest/ug/health-api.html [2] https://aws.amazon.com/support*

JaneBH
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions