aws-samples / aws-samples/amazon-sagemaker-ab-testing-pipeline

Issue when running cdk deploy

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
45
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Hi there! I've been trying to deploy the project, following the README.md.

When running cdk deploy i'm having an error

Do you wish to deploy these changes (y/n)? y
ab-testing-api: deploying...
[0%] start: Publishing 0f4aceed11a45c91ebc5a1895534294ee2e45efac27d66cb06a51b1d2a6192dd:current
[50%] fail: socket hang up
[50%] start: Publishing d9595ab46e674d44e338ee375ef57edb8e118695b5b2d18f082614c20b363da4:current
[100%] success: Published d9595ab46e674d44e338ee375ef57edb8e118695b5b2d18f082614c20b363da4:current

❌ ab-testing-api failed: Error: Failed to publish one or more assets. See the error messages above for more information.
at Object.publishAssets (/usr/local/lib/node_modules/aws-cdk/lib/util/asset-publishing.ts:25:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at Object.deployStack (/usr/local/lib/node_modules/aws-cdk/lib/api/deploy-stack.ts:232:3)
at CdkToolkit.deploy (/usr/local/lib/node_modules/aws-cdk/lib/cdk-toolkit.ts:184:24)
at initCommandLine (/usr/local/lib/node_modules/aws-cdk/bin/cdk.ts:213:9)
Failed to publish one or more assets. See the error messages above for more information.

Let me know if you know what's up or if there's a way to get more details on the error. (since i'm only getting "Socket hang up" rn)

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with README.md and reproduce the failure using cdk deploy. Trace the asset-publishing step associated with the socket hang up message and determine whether the project or deployment environment is responsible; done means documenting a reproducible cause and an actionable fix or diagnostic path.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.