Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Stuck in the login process #771

Open
loxs123 opened this issue Mar 6, 2024 · 0 comments
Open

Stuck in the login process #771

loxs123 opened this issue Mar 6, 2024 · 0 comments

Comments

@loxs123
Copy link

loxs123 commented Mar 6, 2024

index.py

import finetuner

finetuner.login()
# At this point, the browser will automatically open and log in to display the following page

image

After this screen appeared, there was no response for a long time (5 minutes), I pressed Ctrl C

Your browser is going to open the login page.
If this fails please open the following link: https://jina-ai.us.auth0.com/authorize?_isStandardConformant=false&response_mode=form_post&nonce=89549f55c9b64b4cfaaf64e073ab479f&state=89549f55c9b64b4cfaaf64e073ab479f&scope=profile+openid+email&redirect_uri=https%3A%2F%2Fapi.hubble.jina.ai%2Fv2%2Foidc%2FidpAuthorized&client_id=7pXAUAtiRqruNd6KJ6U3Zd9uhk5oLqZA&response_type=code&code_challenge=i_-ZltRRXIYelSx4y3uzBzuced7BSQa9oatG2bUC50Q&code_challenge_method=S256
^CTraceback (most recent call last):
  File "/Data/lixin/finetuner/index.py", line 4, in <module>
    finetuner.login()
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/site-packages/finetuner/__init__.py", line 52, in login
    ft.login(force=force, interactive=interactive)
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/site-packages/finetuner/finetuner.py", line 31, in login
    hubble.login(
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/site-packages/hubble/__init__.py", line 86, in login
    Auth.login_sync(**kwargs)
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/site-packages/hubble/utils/auth.py", line 402, in login_sync
    for line in response.iter_lines():
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/site-packages/requests/models.py", line 865, in iter_lines
    for chunk in self.iter_content(
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/site-packages/requests/models.py", line 816, in generate
    yield from self.raw.stream(chunk_size, decode_content=True)
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/site-packages/urllib3/response.py", line 624, in stream
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/site-packages/urllib3/response.py", line 828, in read_chunked
    self._update_chunk_length()
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/site-packages/urllib3/response.py", line 758, in _update_chunk_length
    line = self._fp.fp.readline()
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/ssl.py", line 1275, in recv_into
    return self.read(nbytes, buffer)
  File "/home/zentek/.conda/envs/lx-pytorch39/lib/python3.9/ssl.py", line 1133, in read
    return self._sslobj.read(len, buffer)
KeyboardInterrupt

Besides, I'm a bit curious https://jina.ai/ It seems that the login button has been lost, which does not match the description in the document

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant