Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating new amplify environment stuck on building #13665

Closed
3 tasks done
tomruijgrok opened this issue Mar 18, 2024 · 3 comments
Closed
3 tasks done

Creating new amplify environment stuck on building #13665

tomruijgrok opened this issue Mar 18, 2024 · 3 comments
Assignees
Labels
hosting Issues tied to hosting category pending-response Issue is pending response from the issue author transferred This issue was transferred from another Amplify project

Comments

@tomruijgrok
Copy link

Before opening, please confirm:

JavaScript Framework

React

Amplify APIs

Not applicable

Amplify Version

v5

Amplify Categories

Not applicable

Backend

Amplify CLI

Environment information

@aws-amplify/cli: 12.2.3


Describe the bug

When I try to create a new hosting environment on the aws website I run into a problem.
The app get's stuck on build phase. The cli tries to open a website link to authenticate my user account. This is obviously not working as this is not my local cli, but running on AWS. The link it is try to open is:
Opening link: https://eu-west-3.admin.amplifyapp.com/admin/{**}/dev/verify/?loginVersion=1

Expected behavior

I expect the build to authenticate my amplify account automatically

Reproduction steps

  1. create amplify project.
  2. configure hosting
  3. publish
  4. Try to create a new hosting environment on the aws website

Code Snippet

This is not related to my code

Log output

Checking for associated backend environment...
Backend environment association found
2024-03-18T13:34:13.458Z [INFO]: �[33mNote: It is recommended to run this command from the root of your app directory�[39m
2024-03-18T13:34:13.728Z [INFO]: Opening link: https://eu-west-3.admin.amplifyapp.com/admin/**/dev/verify/?loginVersion=1

aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

@tomruijgrok tomruijgrok added the pending-triage Issue is pending triage label Mar 18, 2024
@nadetastic nadetastic self-assigned this Mar 18, 2024
@nadetastic nadetastic added the hosting Issues tied to hosting category label Mar 18, 2024
@nadetastic
Copy link
Member

Hi @tomruijgrok, thank you for opening this issue. From the looks of it, it seems that the issue is related to Amplify Hosting using an Amplify CLI based app. Please note that for technical support issue related to Amplify Hosting, we encourage you to open a case with AWS technical support if you have AWS support plan. If you do not have an active AWS support plan, we encourage you to leverage our Amplify community Discord server where community members and staff try to help each other with Amplify.
Let me know if you have any additional questions.

@nadetastic nadetastic added pending-response Issue is pending response from the issue author and removed pending-triage Issue is pending triage labels Mar 18, 2024
@nadetastic nadetastic transferred this issue from aws-amplify/amplify-js Mar 21, 2024
@nadetastic nadetastic added the transferred This issue was transferred from another Amplify project label Mar 21, 2024
@ykethan
Copy link
Member

ykethan commented Mar 21, 2024

@tomruijgrok it appears the CLI is trying to authenticate using Studio authentication. You can disable Amplify Studio on the AWS console and retry the build. Refer to this issue #13661 providing additional information on this.
if you require any additional assistance do reach out AWS technical support for further assistance.

@ykethan ykethan closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hosting Issues tied to hosting category pending-response Issue is pending response from the issue author transferred This issue was transferred from another Amplify project
Projects
None yet
Development

No branches or pull requests

3 participants