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

Build image fail with "Error during build: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out." #10

Open
rgaiacs opened this issue Jun 21, 2023 · 0 comments

Comments

@rgaiacs
Copy link
Contributor

rgaiacs commented Jun 21, 2023

repo2docker failed to build https://github.com/sgibson91/mybinder.org-user-survey-nlp/.

What is the current bug behavior?

Log displayed to user

Step 51/52 : ENTRYPOINT ["/usr/local/bin/repo2docker-entrypoint"]
---> Running in 4a8e9b6b773e
Removing intermediate container 4a8e9b6b773e
---> f40a9f03be04
Step 52/52 : CMD ["jupyter", "notebook", "--ip", "0.0.0.0"]
---> Running in 902a10895a6b
Removing intermediate container 902a10895a6b
---> 0d984310ca34
{"aux": {"ID": "sha256:0d984310ca34dd377f145d640e58afc062671bf3d66fbf8fb4fb306e1aa0db10"}}Successfully built 0d984310ca34
Successfully tagged gesiscss/binder-r2d-g5b5b759-sgibson91-2dmybinder-2eorg-2duser-2dsurvey-2dnlp-cbf4b8:1ac84874f0885fdc812cca2cbd6dc4e4aefdbc75
Pushing image
Error during build: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out.

Log at Kubernetes pod

[I 230620 21:30:01 build:479] Started build build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[I 230620 21:30:01 build:481] Watching build pod build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[I 230620 21:30:03 build:563] Watching logs of build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[I 230620 21:32:45 build:595] Finished streaming logs of build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[W 230620 21:32:46 builder:161] Stream closed while handling /binder/build/gh/sgibson91/mybinder.org-user-survey-nlp/main?build_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODcyOTY4OTksImF1ZCI6ImdoL3NnaWJzb245MS9teWJpb
mRlci5vcmctdXNlci1zdXJ2ZXktbmxwL21haW4iLCJvcmlnaW4iOiJteWJpbmRlci5vcmcifQ.J0hcMZnVv1O3qJnEUD5JLV6oui2eUpjM8lhOQfId8IY
[I 230620 21:32:46 log:135] 200 GET /binder/build/gh/sgibson91/mybinder.org-user-survey-nlp/main?build_token=[secret] ([email protected]) 166362.69ms
[I 230620 21:46:49 repoproviders:916] Using cached ref for https://api.github.com/repos/sgibson91/mybinder.org-user-survey-nlp/commits/main: 1ac84874f0885fdc812cca2cbd6dc4e4aefdbc75
[I 230620 21:46:51 build:474] Build build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32 already running
[I 230620 21:46:51 build:481] Watching build pod build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[I 230620 21:46:51 build:563] Watching logs of build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[W 230620 21:46:57 builder:161] Stream closed while handling /binder/build/gh/sgibson91/mybinder.org-user-survey-nlp/main?build_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODcyOTc5MDksImF1ZCI6ImdoL3NnaWJzb245MS9teWJpb
mRlci5vcmctdXNlci1zdXJ2ZXktbmxwL21haW4iLCJvcmlnaW4iOiJteWJpbmRlci5vcmcifQ.tGCPwTfeuIkD_-toqQiChHrz2LwQ1RPH6SGP4S48XkA
[I 230620 21:46:57 log:135] 200 GET /binder/build/gh/sgibson91/mybinder.org-user-survey-nlp/main?build_token=[secret] ([email protected]) 8189.26ms
[I 230620 21:47:02 build:573] Stopping logs of build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[I 230620 21:47:21 build:556] Stopping watch of build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[I 230620 21:51:07 repoproviders:916] Using cached ref for https://api.github.com/repos/sgibson91/mybinder.org-user-survey-nlp/commits/main: 1ac84874f0885fdc812cca2cbd6dc4e4aefdbc75
[I 230620 21:51:09 build:474] Build build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32 already running
[I 230620 21:51:09 build:481] Watching build pod build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[I 230620 21:51:09 build:563] Watching logs of build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[I 230620 22:01:55 build:595] Finished streaming logs of build-sgibson91-2dmybinder-2eorg-2duser-2dsurvey--cbf4b8-1ac-32
[I 230620 22:01:56 builder:617] Launching server for https://github.com/sgibson91/mybinder.org-user-survey-nlp: 0 other servers running this repo (191 total)
[I 230620 22:01:56 launcher:197] Creating user sgibson91-mybin-user-survey-nlp-rhaku0a5 for image gesiscss/binder-r2d-g5b5b759-sgibson91-2dmybinder-2eorg-2duser-2dsurvey-2dnlp-cbf4b8:1ac84874f0885fdc812cca2cbd6dc4e4aefdbc75
[I 230620 22:01:56 launcher:257] Starting server for user sgibson91-mybin-user-survey-nlp-rhaku0a5 with image gesiscss/binder-r2d-g5b5b759-sgibson91-2dmybinder-2eorg-2duser-2dsurvey-2dnlp-cbf4b8:1ac84874f0885fdc812cca2cbd6dc4e4a
efdbc75
[I 230620 22:05:13 builder:722] Launched https://github.com/sgibson91/mybinder.org-user-survey-nlp in 196s
[I 230620 22:06:13 log:135] 200 GET /binder/build/gh/sgibson91/mybinder.org-user-survey-nlp/main?build_token=[secret] ([email protected]) 905439.79ms

What is the expected correct behavior?

repo2docker builds container successfuly.

Steps to reproduce

  1. Visit https://notebooks.gesis.org/binder/
  2. Fill URL with https://github.com/sgibson91/mybinder.org-user-survey-nlp/
  3. Click launch

Reproducible at mybinder.org

  1. Visit https://mybinder.org/
  2. Fill URL with https://github.com/sgibson91/mybinder.org-user-survey-nlp/
  3. Click launch

resulted in no issue.

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