Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Tim Head
@betatim
humm
Chico Venancio
@chicocvenancio
it returns both 127.0.0.1 and ::1, and I don't know what decides the order they're returned
Tim Head
@betatim
(there has been discussion and some prototypes that would allow a repo to specify the version of repo2docker they want to use to build themselves which is very close to the idea of versioning Dockerfiles)
i'm not sure if the nirvana of the write once, works forever environment setup thing will ever work :-/
Chico Venancio
@chicocvenancio
yeah, k8s helps a bit but docker doesn't fully encapsulate networking. Not sure it is possible atm
Tim Head
@betatim
for example it seems like a few days ago the mechanism we have for building repos with older versions of R spontaneously broke. the code related to this in r2d hasn't changed so the commands in the dockerfile are the same but it doesn't build any more ... probably because something in the universe has changed :-/
Chico Venancio
@chicocvenancio
(to have fully reproducible containers)
Tim Head
@betatim
which will need chasing down and then something else will happen in a few months ;)
Ryan Morshead
@rmorshea
Yeah, I wasn't imaging that would be true since you guys should have the ability to change the networking and deployment infrastructure. Though 99% of people probably aren't starting up servers on Binder, so being able to pin the repo2docker version would probably allow it to "work forever" for most use cases.
Unless weird cosmic events just cause things even further upstream to break (e.g. your R example).
Tim Head
@betatim
bugs in pip, ubuntu packages, ... the longer i work on this the more amazed i am that it works at all and stuff isn't constantly broken :)
contributions of time and brain power to figure out a good implementation of the specify r2d version in the repo would be awesome. as you say it would cover a lot of cases
Ryan Morshead
@rmorshea
If I ever get the time, what would be the relevant repo/issue to look at?
Tim Head
@betatim
jupyter/repo2docker#490 is probably a good starting point
there should be some PRs as well
Ryan Morshead
@rmorshea
:+1:
Chico Venancio
@chicocvenancio
I feel like we should remove ::1 from the hosts file in the images, that would prevent similar bugs in the future
(or rather, that mapping of localhost into ::1 )
but maybe there is something I'm not seeing here. I'm not sure why ipv6 loopback is broken in the containers
Mariia Mykhailova
@tcNickolas
@betatim That's the mystery, there were no changes in versions, it built locally, it even built on binder from a different browser - it was just stuck with this error on my one browser... It is unstuck now even in my browser, so we can probably discard this as a combination of moon phase with my personal karma :-)
Chico Venancio
@chicocvenancio
I'm guessing the processing time is close to the timeout and random usage of the node sometimes allow it to build
Tim Head
@betatim
@tcNickolas it could be that there isn't enough RAM/CPU available for the builds when it is really busy (we need to work on our story of limiting resources for builds which is annoying for those who have been using more than the limit but will help make things fairer when it is super busy)
deeplook
@deeplook

@deeplook, A while back you posted here, "I would like to run jupyter-repo2docker locally and get a similar experience like on mybinder.org, namely see the Jupyter server page open right away, ideally with some sample notebook in lab or classic as I desire. Is there any way to get there?". I don't know if you saw the announcement of a new Binder GUI for launching local containers and if it might address what you were seeking, perhaps.

I’ve seen the announcement and it does surely address my issue, but thanks anyway!

Saul Shanabrook
@saulshanabrook
I am getting a build error on binder that I cannot reproduce locally with repo2docker
It's doing some node building, when installing a jupyterlab extension and getting some error:
WebWorkerThreads.target.mk:99: recipe for target 'Release/obj.target/WebWorkerThreads/src/WebWorkerThreads.o' failed
Any ideas on why it would build locally with repo2docker but fail remotely?
Tim Head
@betatim
maybe memory limits?
or the lack thereof locally
Hans Fangohr
@fangohr

Hi all, I have trouble getting mybinder to work for some repos right now. For example the URL http://mybinder.org/v2/gh/binder-examples/requirements/master, taken from https://mybinder.readthedocs.io/en/latest/sample_repos.html#python-environment-with-requirements-txt doesn't launch a session but fails with the message Failed to connect to event stream.

I get the same error for the repository for which I am just trying to set up a binder link (Repo and desired start file at https://github.com/fangohr/jrg/blob/master/F01-Primzahlen/notes.ipynb, the binder link I am trying is https://mybinder.org/v2/gh/fangohr/jrg/master?filepath=F01-Primzahlen%2Fnotes.ipynb). Results in the same error: Failed to connect to event stream.

[I have at least one example where launching a session works (different repo and URL) - in that case a cached image is found.]

Can anybody reproduce this or comment?

Sarah Gibson
@sgibson91
Failed to connect to event stream is usually about the failure of streaming the logs from the Kubernetes build pod to the Web page. If refreshing the Web page and trying again doesn't work, I'd suggest clearing your browser cookies and/or switching browsers.
Hans Fangohr
@fangohr

Hi @sgibson91 - thank you for the quick reply. You are right that changing from Safari to Chrome makes the problem disappear; also with Firefox it works - so that's good, and really useful.

Clearing cookies didn't help (for Safari), though. (Went via Preferences->Privacy->Manage Website Data-> Remove/Remove All) Confusingly, on a mobile device (different from the desktop from which I first reported the problem), I get the same failure but for three different browsers (including Chrome and Firefox Focus).

Tim Head
@betatim
@fangohr did you use sarfari before (and it worked)?
Andreas Klöckner
@inducer
Did anything happen within the last hour that would cause this repo (a non-adventurous R notebook repo based on the R template, click the first link in the README) to suddenly take a long time to build? It seems like it is building tons of R packages from source, when I don't recall it doing that the first time I tried it (about an hour ago).
Hans Fangohr
@fangohr
@betatim - Yes, always used Safari as the default, and it works as well as Chrome or Firefox (on Desktop - not much experience of using mobile devices with binder).
Hans Fangohr
@fangohr
Update: tried a different (desktop) machine just now: all works fine with Safari.
Tim Head
@betatim
@inducer maybe it got launched on a different cluster (depends on how full the respective clusters are) which don't share a docker cache because they are in different parts of the world/clouds
Saul Shanabrook
@saulshanabrook
(An update to my above post https://gitter.im/jupyterhub/binder?at=5dd961d55b3db9548ada4574 if you are trying to reproduce a binder build fail locally with repo2docker, make sure to do a git clean -fxd before!)
Philip Durbin
@pdurbin
Can anyone please tell me if I'm looking in the right place for the recordings of the October and November Jupyter/Binder Community Calls? I see September and August at https://www.youtube.com/user/ipythondev/videos
Philip Durbin
@pdurbin
@betatim @choldgraf do you know?
Chris Holdgraf
@choldgraf
Hmm - I'm not sure whether the JupyterHub/Binder calls are recorded or not, or do you mean the broader Jupyter community calls? The Jupyter ones are here: https://www.youtube.com/playlist?list=PLUrHeD2K9Cmkoamm4NjLmvXC4Y6E1o8SP
but yeah, I believe that's the username
Philip Durbin
@pdurbin
@choldgraf well, specifically, I'm looking for the video on YouTube for the call you and I were on last week. :) I don't see it any of those links you just provided (but thanks).
With regard to if it's recorded or not, I assumed it was recorded because it says "we will record the meeting for those who can’t make it" at https://discourse.jupyter.org/t/jupyterhub-binder-community-call-november-2019/2471 :)
Chris Holdgraf
@choldgraf
hmmm, probably a question for @zsailer in that case
maybe he knows if the recordings are up somewhere
Philip Durbin
@pdurbin
He did a great job moderating the call.
Chris Holdgraf
@choldgraf