- Newest
- Most votes
- Most comments
The issue you're experiencing with the Elastic Beanstalk NodeJS 20 platform upgrade from version 6.3.0 to 6.4.0 appears to be related to a system-level problem rather than an application-specific issue. The error messages you've shared indicate that a task (iou-sqp-2608) is being blocked for an extended period, which is likely causing the health checks to fail and preventing the upgrade from completing successfully.
This type of issue can sometimes occur due to incompatibilities between the new platform version and the underlying system components or configurations. It's not uncommon for platform updates to introduce changes that may affect system behavior, especially when it comes to low-level operations like I/O handling.
While there isn't a definitive solution provided in the available information, here are some steps you can take to troubleshoot and potentially resolve the issue:
-
Check for any known issues or recent announcements from AWS regarding the Elastic Beanstalk NodeJS 20 platform. There may be a documented problem that AWS is working on.
-
Review your application's dependencies and ensure they are compatible with the latest NodeJS 20 version included in the 6.4.0 platform update.
-
Try creating a new environment with the 6.4.0 platform version and deploy your application to it. This can help isolate whether the issue is related to the upgrade process or the platform itself.
-
If possible, simplify your application temporarily by removing any complex I/O operations or third-party modules that might be causing conflicts, then attempt the upgrade again.
-
Consider reaching out to AWS Support for further assistance, as they may have more detailed information about this specific issue and potential workarounds.
-
As a temporary measure, you may need to continue using version 6.3.0 until a resolution is found or AWS releases a fix in a subsequent platform update.
If the problem persists and affects your production environment, it may be prudent to wait for further updates from AWS or for other users to report successful upgrades before attempting again. Keep monitoring AWS announcements and community forums for any updates on this issue.
Sources
Troubleshooting Elastic Beanstalk - Categories and FAQs - AWS Elastic Beanstalk
Troubleshoot degraded or severe state of Elastic Beanstalk environment | AWS re:Post
Elastic Beanstalk enhanced health reporting and monitoring - AWS Elastic Beanstalk
After some further research I've found this is a known bug in kernel which is affecting Amazon Linux 2023. It appears that a fix is slated to be released to AL2023 later this month. Seems like the only option at this time is to wait for a fix:
https://github.com/amazonlinux/amazon-linux-2023/issues/840#issuecomment-2485782075 https://github.com/amazonlinux/amazon-linux-2023/issues/856 https://github.com/nodejs/node/issues/55587
