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 logs of a repo are not displayed properly in binder #487

Closed
bitnik opened this issue Mar 12, 2018 · 4 comments
Closed

build logs of a repo are not displayed properly in binder #487

bitnik opened this issue Mar 12, 2018 · 4 comments

Comments

@bitnik
Copy link
Collaborator

bitnik commented Mar 12, 2018

Hi, we have deployed our own binder and it is running here: https://notebooks.gesis.org/binder/

Currently we have a problem with build logs. When we put the repo link and launch, for long time we don't get any build logs. They all appear at once when the build is done. When I check logs of binder pod, there is "WARNING Connection pool is full, discarding connection", which must be related to this problem.

For example, you can try with this repo https://github.com/binder-examples/appmode and you will see that all logs appear just before redirection to the new launched server.

As @choldgraf said on gitter channel, you had this problem before. I would like to what was the reason and how did you fix it?

Thanks a lot

@betatim
Copy link
Member

betatim commented Mar 12, 2018

I think "WARNING Connection pool is full, discarding connection" is a "known to be harmless warning" (which is suboptimal). There are many of these in the mybinder.org logs as well.

Copying over some information from gitter: notebooks.gesis.org runs https://github.com/jupyterhub/helm-chart/blob/gh-pages/binderhub-0.1.0-0bb083d.tgz Do you remember the last version before this that worked?

When I try and build a repo on your instance I get errors about not being able to connect to the event stream in the console. Could it be a particular HTTP proxy setup that is causing this?

@bitnik
Copy link
Collaborator Author

bitnik commented Mar 13, 2018

Thanks a lot for checking this.

Unfortunately no, I don't exactly know when it worked last time. But I can go through the history of our helm config file and on staging deploy each version we already had. Would that help?

And which repo did you try to build on our instance? Where did the error appear exactly? Weird, I have never seen it before.

@bitnik
Copy link
Collaborator Author

bitnik commented Mar 14, 2018

I still don't get that error but you are right. When I try to build with notebooks.gesis.org:<binder_node_port>/binder/ and bypass reverse proxy (nginx), logs work without problem. Do you have any advice how we should proceed to solve this?

@bitnik
Copy link
Collaborator Author

bitnik commented Mar 14, 2018

hey, it is solved. problem was proxy buffering of nginx. I set proxy_buffering off; inside binder location in nginx conf and it works again :) Thanks a lot for pointing the problem!

@bitnik bitnik closed this as completed Mar 14, 2018
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

2 participants