-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins version: 2.503
Java: Java 17
EC2-Plugin: 1885.v730b_5c25b_da_e
Jenkins runs in AWS Fargate cluster
Jenkins EC2 agents: AL2023, java 17
Jenkins fails to connect to EC2 instances when using Host Key Verification Strategy "check-new-hard" or "check-new-soft" with error:
WARNING: Unable to check the server key Exception: software.amazon.awssdk.services.ec2.model.Ec2Exception: No instanceId specified (Service: Ec2, Status Code: 400, Request ID: ...) (SDK Attempt Count: 1)
Works normally with "accept-new" and "off" verification strategies.