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
질문됨 3달 전257회 조회
3개 답변
1
수락된 답변

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
전문가
답변함 3달 전
  • 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
답변함 3달 전
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
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠