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

[sdk] SDK client cannot connect to Kubeflow on GCP deployment from a Notebook environment. #10075

Closed
Tracked by #438
chensun opened this issue Oct 10, 2023 · 1 comment
Assignees

Comments

@chensun
Copy link
Member

chensun commented Oct 10, 2023

Environment

  • KFP version:
    2.0.1 (from Kubeflow 1.8.0-rc.1)

  • KFP SDK version:
    2.3.0 (would affect any earlier 2.* versions at well)

  • All dependencies version:
    N/A

Steps to reproduce

In a Notebook environment, the client initialization would stuck waiting for authentication, but there's no input box for user to paste the authentication URL.
image

Expected result

Expect to see an input box, so users can paste a authentication link.
Per @gkcalat 's investigation, the workaround could be setting one of the following ENV variable to mimic a SSH connection.

if ('SSH_CONNECTION' in os.environ) or ('SSH_CLIENT' in os.environ):

After that, the input box would appear, and users can authenticate correctly.
image

Materials and Reference


Impacted by this bug? Give it a 👍.

@chensun
Copy link
Member Author

chensun commented Oct 20, 2023

Verified via a test build, the fix works.

stijntratsaertit pushed a commit to stijntratsaertit/kfp that referenced this issue Feb 16, 2024
…ubeflow#10094)

* Fix OOB for IPython and refactor. Closes kubeflow#10075.

* Address comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: P0
Development

No branches or pull requests

2 participants