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

auth and connection #3287

Closed
sobhanhashemi opened this issue Oct 19, 2022 · 3 comments
Closed

auth and connection #3287

sobhanhashemi opened this issue Oct 19, 2022 · 3 comments

Comments

@sobhanhashemi
Copy link

sobhanhashemi commented Oct 19, 2022

Description:

i got this error:
failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch oauth token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fmysql%3A
pull&service=registry.docker.io": dial tcp 44.207.96.114:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
ERROR: Service 'mysql' failed to build : Build failed

Expected Behavior:

replace ip and correct ip address or another solution

@stale
Copy link

stale bot commented Jan 21, 2023

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Jan 21, 2023
@efsjouw
Copy link

efsjouw commented Mar 7, 2023

I get either of these errors when trying to use nginx

efsjouw@Florian:~/vrooam/laradock$ docker-compose up -d nginx --build -d
[+] Building 42.5s (9/9) FINISHED
 => [laradock-php-fpm internal] load build definition from Dockerfile                                                                                                                       0.0s
 => => transferring dockerfile: 33B                                                                                                                                                         0.0s
 => [laradock-workspace internal] load build definition from Dockerfile                                                                                                                     0.0s
 => => transferring dockerfile: 33B                                                                                                                                                         0.0s
 => [laradock-nginx internal] load build definition from Dockerfile                                                                                                                         0.1s
 => => transferring dockerfile: 32B                                                                                                                                                         0.0s
 => [laradock-php-fpm internal] load .dockerignore                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                             0.0s
 => [laradock-nginx internal] load .dockerignore                                                                                                                                            0.0s
 => => transferring context: 2B                                                                                                                                                             0.0s
 => [laradock-workspace internal] load .dockerignore                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                             0.0s
 => ERROR [laradock-nginx internal] load metadata for docker.io/library/nginx:alpine                                                                                                       42.2s
 => ERROR [laradock-php-fpm internal] load metadata for docker.io/laradock/php-fpm:latest-8.2                                                                                              42.2s
 => ERROR [laradock-workspace internal] load metadata for docker.io/laradock/workspace:latest-8.2                                                                                          42.2s
------
 > [laradock-nginx internal] load metadata for docker.io/library/nginx:alpine:
------
------
 > [laradock-php-fpm internal] load metadata for docker.io/laradock/php-fpm:latest-8.2:
------
------
 > [laradock-workspace internal] load metadata for docker.io/laradock/workspace:latest-8.2:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = DeadlineExceeded desc = failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fnginx%3Apull&service=registry.docker.io": dial tcp 3.216.34.172:443: i/o timeout
efsjouw@Florian:~/vrooam/laradock$ docker-compose up -d nginx
[+] Running 3/4
 ⠿ Container laradock-docker-in-docker-1  Running                                                                                                                                           0.0s
 ⠿ Container laradock-workspace-1         Running                                                                                                                                           0.0s
 ⠿ Container laradock-php-fpm-1           Running                                                                                                                                           0.0s
 ⠿ Container laradock-nginx-1             Starting                                                                                                                                          0.4s
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:81 -> 0.0.0.0:0: listen tcp 0.0.0.0:81: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
efsjouw@Florian:~/vrooam/laradock$

But also with apache?

efsjouw@Florian:~/vrooam$ cd laradock && docker-compose up -d apache2 mysql php-fpm redis mailhog && cd ..
[+] Building 42.8s (3/3) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                        0.0s
 => => transferring dockerfile: 1.16kB                                                                                                                                                      0.0s
 => [internal] load .dockerignore                                                                                                                                                           0.0s
 => => transferring context: 2B                                                                                                                                                             0.0s
 => ERROR [internal] load metadata for docker.io/webdevops/apache:ubuntu-18.04                                                                                                             42.6s
------
 > [internal] load metadata for docker.io/webdevops/apache:ubuntu-18.04:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = DeadlineExceeded desc = failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Awebdevops%2Fapache%3Apull&service=registry.docker.io": dial tcp 44.205.64.79:443: i/o timeout

@stale
Copy link

stale bot commented Apr 2, 2023

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants