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

Network Connectivity Issues in GitHub Actions Workflow #9003

Open
Sheetal-ayanworks opened this issue Oct 28, 2023 · 0 comments
Open

Network Connectivity Issues in GitHub Actions Workflow #9003

Sheetal-ayanworks opened this issue Oct 28, 2023 · 0 comments

Comments

@Sheetal-ayanworks
Copy link

I'm encountering an issue while using Docker build in my GitHub Actions workflow. The error message I'm receiving ,
#13 202.8 warning jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin
13 224.5 [2/4] Fetching packages...
13 275.6 info There appears to be trouble with your network connection. Retrying...
13 309.3 info There appears to be trouble with your network connection. Retrying...
13 315.0 info There appears to be trouble with your network connection. Retrying...
13 342.8 info There appears to be trouble with your network connection. Retrying...
13 348.4 info There appears to be trouble with your network connection. Retrying...
13 376.5 info There appears to be trouble with your network connection. Retrying...
13 382.5 info There appears to be trouble with your network connection. Retrying...
13 407.6 info There appears to be trouble with your network connection. Retrying...
13 416.3 info There appears to be trouble with your network connection. Retrying...
13 441.0 info There appears to be trouble with your network connection. Retrying...
13 454.8 error An unexpected error occurred: "https://registry.yarnpkg.com/class-validator/-/class-validator-0.13.2.tgz: ESOCKETTIMEDOUT".
13 454.8 info If you think this is a bug, please open a bug report with the information provided in "/usr/src/app/yarn-error.log".
13 454.8 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
13 475.0 info There appears to be trouble with your network connection. Retrying...
13 509.2 info There appears to be trouble with your network connection. Retrying...
13 ERROR: process "/bin/sh -c yarn" did not complete successfully: exit code: 1

[build 6/10] RUN yarn:
454.8 error An unexpected error occurred: "https://registry.yarnpkg.com/class-validator/-/class-validator-0.13.2.tgz: ESOCKETTIMEDOUT".
454.8 info If you think this is a bug, please open a bug report with the information provided in "/usr/src/app/yarn-error.log".
454.8 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
475.0 info There appears to be trouble with your network connection. Retrying...
509.2 info There appears to be trouble with your network connection. Retrying...
Dockerfile:13

11 |
12 | #Install app dependencies using the npm ci command instead of npm install
13 | >>> RUN yarn
14 |
15 | COPY . .

ERROR: failed to solve: process "/bin/sh -c yarn" did not complete successfully: exit code: 1
Error: Process completed with exit code 1.

This issue occurs when running the following workflow step:

- name: Build and tag Docker image
  run: docker build --platform=linux/arm64/v8 -t my-image:latest .
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