GithubHelp home page GithubHelp logo

Comments (9)

minrk avatar minrk commented on July 17, 2024

Now that we are having traffic issues, discarding this information is becoming a real impediment to diagnostics.

from mybinder.org-deploy.

yuvipanda avatar yuvipanda commented on July 17, 2024

@minrk do we do this now?

from mybinder.org-deploy.

betatim avatar betatim commented on July 17, 2024

If we are (or not) we should add to the SRE guide what a good way of looking at this is. We do have the real IP in some of the logs on stackdriver. I think mostly in the CHP logs. The single user notebook servers only log internal IPs.

Right now I am asking myself "why is https://github.com/QuantStack/xeus-cling so popular since about 12h ago?" and struggling to find an answer that satisfies me. Seeing the referrer site would help as well as having the real IP in the pod logs.

from mybinder.org-deploy.

minrk avatar minrk commented on July 17, 2024

I believe this is fixed everywhere but the singleuser logs, where we need to set trust_xheaders = True. This would be true by default for jupyterhub, but since we override it back to the vanilla notebook, it doesn't trust these by default.

from mybinder.org-deploy.

minrk avatar minrk commented on July 17, 2024

I'd like to try addressing this with #760

from mybinder.org-deploy.

minrk avatar minrk commented on July 17, 2024

Actually, no, we are already doing this. All our logs have the right ips, looks like.

from mybinder.org-deploy.

betatim avatar betatim commented on July 17, 2024

When I look at the logs of a user pod I see lines like:

[I 10:25:12.753 NotebookApp] 302 GET /user/my-repo-here-6sl70jup/ (10.12.0.69) 0.84ms

from your comment above it sounds like the IP here should be the external one or is this one more thing we need to enable?

from mybinder.org-deploy.

minrk avatar minrk commented on July 17, 2024

That's a request that is indeed coming from inside the cluster. It's JupyterHub's internal check that the server is up. Check the subsequent logs, or in general 302 messages which show real ips.

from mybinder.org-deploy.

betatim avatar betatim commented on July 17, 2024

Aha! Thank you :)

from mybinder.org-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.