Service
EC2
AWS API Action
CreateKeyPair
Expected behavior
The Floci EC2 API should successfully create an EC2 key pair and return the key-pair details/private key material as expected from the corresponding AWS API.
Actual behavior
When I try to create an EC2 key pair through the Floci UI, it fails with:
Unexpected error: null [/api/ec2/key-pairs]
The SSH service itself is reachable on port 2200. Running:
ssh -v -p 2200 root@localhost
successfully establishes the connection and reaches the authentication stage:
debug1: Connecting to localhost [::1] port 2200.
debug1: Connection established.
...
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.2p1 Ubuntu-4ubuntu0.13
...
Authentications that can continue: publickey,password
...
root@localhost's password:
Reproduction
- Open the Floci UI.
- Navigate to the EC2 key-pair section.
- Select Create Key Pair.
- Enter a key-pair name.
- Submit the form.
- The following error is displayed:
Unexpected error: null [/api/ec2/key-pairs]
Environment
- Floci version / image tag: [please add your version/image tag]
- Java SDK version (if applicable): [please add if applicable]
- How you're running Floci (Docker / native /
mvn quarkus:dev): [please add]
- OS: Windows
- SSH port: 2200
Service
EC2
AWS API Action
CreateKeyPair
Expected behavior
The Floci EC2 API should successfully create an EC2 key pair and return the key-pair details/private key material as expected from the corresponding AWS API.
Actual behavior
When I try to create an EC2 key pair through the Floci UI, it fails with:
The SSH service itself is reachable on port
2200. Running:successfully establishes the connection and reaches the authentication stage:
Reproduction
Environment
mvn quarkus:dev): [please add]