Posts

Troubleshooting AWS CLI Error: "Found request with the same client request token, but parameters do not match" when adding Cloud9 Environment Membership

Image
Introduction : When working with AWS CLI to create environment memberships for a Cloud9 resource, you may encounter an error message stating: "An error occurred (BadRequestException) when calling the CreateEnvironmentMembership operation: Found request with the same client request token, but parameters do not match. Try again with a new token." This article will guide you through the possible cause of this error and provide a solution to resolve it. Error Explanation: The above error occurs when you attempt to create an environment membership while logged in as a different user. The AWS CLI command fails to match the user information and the ownership of the Cloud9 environment, resulting in the error message. Consequently, you cannot open your Cloud9 IDE. aws cli command aws cloud9 create-environment-membership --environment-id abcdenvironmentid --user-arn arn:aws:iam::123123123:user/theusername --permissions read -write Troubleshooting Steps: If you encou...

Connect to a Docker database hosted in your home server from outside your home network

Image
Blog Content Connect to a Docker database Step 1: Spin up a MySQL Docker database Step 2: Connect to the database locally Step 3: Find your IP Step 4: Open a port Step 5: Connect database from the internet Requirements Assumptions You know how to host and connect to a MySQL docker database locally (within your home network) You know how to do a port forwarding . Read more about the port forwarding on howtogeek.com . Operating system Ubuntu 22.04 LTS. I am using this operating system. The concept below should be applicable to any other Linux system. Caution: This article is just for learning purpose...