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

telehealth-widget CFT fails during deploy #337

Open
mrzipcode opened this issue Jul 15, 2023 · 0 comments
Open

telehealth-widget CFT fails during deploy #337

mrzipcode opened this issue Jul 15, 2023 · 0 comments

Comments

@mrzipcode
Copy link

Demo
[Specify the name of the demo that you encountered the bug.]
telehealth-widget - (https://github.com/aws-samples/amazon-chime-sdk/tree/main/apps/telehealth-widget)

Describe the bug
A clear and concise description of what the bug is.

The CF fails at PSTNCustomResource6DC15E41 - CREATE_FAILED -
/aws/lambda/AmazonChimeSdkTelehealthW-PSTNCreatePstnFunction52-hBLZhQLLmw3z at Runtime.exports.handler (/var/task/index.js:70522:13) at processTicksAndRejections (internal/process/task_queues.js:95:5) (RequestId: 03f4fb37-ec8f-4032-a589-bf01ba165395)

AND

DistributionCFDistributionB74B3E76 CREATE_FAILED - Resource creation cancelled

CF then rollsback.


0:24:04 PM | CREATE_FAILED | AWS::CloudFormation::CustomResource | PSTNCustomResource6DC15E41
Received response status [FAILED] from custom resource. Message returned: Failed to create: Failed to get the phone number because the phone number (+18553398245) order status did not change to "Successful" for more than a minute.

Logs: /aws/lambda/AmazonChimeSdkTelehealthW-PSTNCreatePstnFunction52-hBLZhQLLmw3z

at Runtime.exports.handler (/var/task/index.js:70522:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5) (RequestId: 03f4fb37-ec8f-4032-a589-bf01ba165395)

❌ AmazonChimeSdkTelehealthWidgetDemo failed: Error: The stack named AmazonChimeSdkTelehealthWidgetDemo failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Failed to create: Failed to get the phone number because the phone number (+18553398245) order status did not change to "Successful" for more than a minute.

Logs: /aws/lambda/AmazonChimeSdkTelehealthW-PSTNCreatePstnFunction52-hBLZhQLLmw3z

at Runtime.exports.handler (/var/task/index.js:70522:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5) (RequestId: 03f4fb37-ec8f-4032-a589-bf01ba165395)
at prepareAndExecuteChangeSet (/home/ubuntu/environment/amazon-chime-sdk/apps/telehealth-widget/backend/node_modules/aws-cdk/lib/api/deploy-stack.ts:386:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at CdkToolkit.deploy (/home/ubuntu/environment/amazon-chime-sdk/apps/telehealth-widget/backend/node_modules/aws-cdk/lib/cdk-toolkit.ts:219:24)
at initCommandLine (/home/ubuntu/environment/amazon-chime-sdk/apps/telehealth-widget/backend/node_modules/aws-cdk/lib/cli.ts:347:12)

The stack named AmazonChimeSdkTelehealthWidgetDemo failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Failed to create: Failed to get the phone number because the phone number (+18553398245) order status did not change to "Successful" for more than a minute.

Logs: /aws/lambda/AmazonChimeSdkTelehealthW-PSTNCreatePstnFunction52-hBLZhQLLmw3z

at Runtime.exports.handler (/var/task/index.js:70522:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5) (RequestId: 03f4fb37-ec8f-4032-a589-bf01ba165395)

--

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...' npm run deploy
  2. CREATE_FAILED

Expected behavior
A clear and concise description of what you expected to happen.
Demo should deploy correctly.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant