AWS Troubleshooting
Deploymentβ
My AWS stack says "rollback complete" after deploying, what went wrong?β
You encountered an issue during Hubs Cloud stack deployment. By default, AWS rolls back the changes and deletes the stack.
To see the first error eventβ
- Navigate to AWS Cloudformation > Select your stack name in Stacks > Select "Events" Tab on right sidebar
- Scroll All the way down the event list to where the FIRST red error appears in the "Status" column. This should be a specific error of what went wrong.
- Log, note, or screenshot those errors for troubleshooting
- Redeploy the stack again with the same parameters (sometimes it takes 2 times to go through), then if you get the same error...
- Search specific error on this page (AWS Troubleshooting)
- Search specific error on Hubs Github Discussions
- Make a thread on Hubs Github Discussions, if none of the searches found a solution for you.
To turn rollback completely offβ
- Start the AWS Hubs deployment process > Finish steps 1 and 2 > "Step 3 Configure stack options" > "Advanced options" > Expand "Stack creation options" > Select "Disabled" for "Rollback on failure"
- Continue with the stack creation and discover which error the stack failed on
- Delete the stack in AWS CloudFormation manually to restart the deployment process
ExternalZoneSSLCertLocalIfEast error or InternalZoneSSLCert error or timeoutβ
You have an issue with SSL certificate verification.
Potential solutions:β
- Check your domains
- Are your domain names typed correctly?
- Check that you registered the domains on AWS Route 53
- Is Transfer Lock on your domains?
- Check your aws Management console > Route 53 > "Registered Domains" > Are ALL "Transfer Locks" "X"s (aka disabled) ?
- To disable: Click on domain > Select "disable" for Transfer Lock option
- Try deploy again
- Check your aws Management console > Route 53 > "Registered Domains" > Are ALL "Transfer Locks" "X"s (aka disabled) ?
- Certificate limit reached, must ask AWS for increase.
- Have you deployed this stack multiple times? If so, AWS defaults that you can create only 25 certificates per month. Create a AWS help desk ticket to request for a certificate increase. In a few days, you'll be able to deploy Hubs Cloud again.
- DNS CNAME issues.
- Before deploying Hubs Cloud stack again, go to AWS Route 53
- Select the domains you're using for Hubs Cloud
- Delete the CNAMEs from left from the last Hubs stack deployment -- Careful not to delete any CNAMEs that your domains use for another service
- Deploy the Hubs Cloud stack again
- Are your Name Servers the default AWS ones?
- You may have changed your Name Servers to point to another service. Delete the current ones to revert back to the defaults.
Using a Second Level domain like (.co.uk or .com.fr)β
Use Recipe 3 for deployment, this is a known bug.
After Successful Deploymentβ
You're in the "AWS Sandbox" and people don't receive "magic link" emailsβ
You finished deployment and can access the Hubs Admin console. The Hubs Admin console will also say you're in the "AWS Sandbox." Your stack AWS email service is limited.
Solution options:β
Verify individual email addresses for administrators
- If you only have a few people who will be administrating using your site, you can have them verify their email addresses with SES.
- Go to Simple Email Service on the AWS Console and then under "Email Addresses" add the email addresses who will be using the site.
- Each person will receive a verification email they will need to click on.
- Once they have verified their email address, they will be able to receive the "magic link" emails.
Send request to AWS for a limit increase
- Use this process if you have 24 hours to wait for AWS technical support to grant your email service limit increase
- Go to AWS create case
- Select the "Service limit increase" radio button
- Limit type: "SES Sending Limits"
- Mail Type: "System Notifications"
- Website URL - optional
- Describe ... who have requested your mail: "We authenticate users using email links only. Users who want to join and connect to the hosted Mozilla Hubs Room, will enter their email address to get this 'magic hub' link to authenticate. Anyone can choose to not enter their email and not join."
- Describe ... and complaint notifications: "We've set up bounce and complaints to forward to an administrative email address. And we do not send any emails other than this 'magic' authentication email link to join a Hubs room. We don't store emails on our server."
- Will you comply with AWS Service Terms?: "Yes"
- Request 1
- Region: Select
US East (Northern Virginia)
- Limit: Desired Daily Sending Quota
- New Limit Value: 50,000
- Region: Select
- Case description: Answer the questions below in the message field:
- What does your Hubs Cloud instance do? Add anything relevant to your use case in the request
- Add this to your message: "The product does not support passwords, only email links to log in. As such, would like to use SES to send these emails. There are no other emails sent by the product other than these automated sign-in emails, sent at the time a user requests to log in. We do not send any unsolicited emails or other content-oriented emails, only sign in link emails. We do not store the email addresses of visitors. The emails are securely transmitted to our server at log-in time to send the email link."
- Submit form
- Email will arrive granting your service limit increase request
Setup SMTP via SendGrid
- Use this process if you need an immediate fix
- Sign up on SendGrid
- Create a new API Key
- Grant the API key email send ability
- Update settings in Hubs Cloud Admin console
- Server settings > SMTP
- Enter "apikey" as "Username"
- Enter the API key itself as "Password"
- Enter "smtp.sendgrid.net" as "Host"
- Enter "2525" as "Port"
The specified key does not exist. Service: Amazon S3; Status Code: 404; Error Code: NoSuchKeyβ
This is a bug in AWS Cloudformation that Amazon is working to address. Unfortunately, you'll have to delete and re-create the stack.
My servers are Offline or "NoSuchKey" Error on my Hubs Cloud domain after successful deploy Hubs Cloudβ
Did you choose "Offline mode" when creating the stack? If so, you deployed correctly but your servers aren't running!
To get them running and take them "Online" follow the Update the Stack Guide. When you want to take them "Offline" again, follow the same process and select "Offline".
You can also specify a url to redirect traffic to when your servers are offline to avoid this error page.
Our users are experiencing "Unable to connect to this room, please try again later."β
We fixed this error with Hubs Cloud version 1.1.0 with an added TURN server. You need to upgrade from 1.0.0 to 1.1.0. Follow the process outlined in Upgrade to a new stack release
And verify you're on 1.1.0 by following the steps in Check if you're on version 1.1.0
In my hubs admin panel, I see NetworkError or Not Found page or no data populates in any of the admin menus.β
Your account is likely NOT an admin! Switch account or check your hub stack parameters for the email address below.
Then, what is my hub stack's admin email address?β
Check Email via Cloudformation Stack
- Go to aws Management Console (check your region!)
- Search and go to Cloudformation
- Select Stacks
- Select your hub stack - No stacks? Did you delete it or are you in the wrong region?
- "Parameters" tab
- Check "AdminEmailAddress" parameter. Make sure there are no capital letters!
Check Email in aws Simple Email Service menu (SES)
- Go to aws Management Console (check your region!)
- Select region N. Virginia (us-east-1) for ALL region deploys! in upper right hand corner
- Search and go to Simple Email Service
- Select "Email Addresses"
- One of these listed is your stack's admin email address.
- Make sure there's no capital letters!
- If your email is not "verified" yet, you need to click on confirmation link amazon sends you during cloud formation.
How can I tell I'm on version 1.1.0?β
Follow steps in Check if you're on version 1.1.0
Missing a solution?β
If you can't find what you need in the rest of the documentation, see the help page for ways to get in touch.