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

Login throws exception #95

Open
FynnBe opened this issue Sep 30, 2024 · 0 comments
Open

Login throws exception #95

FynnBe opened this issue Sep 30, 2024 · 0 comments

Comments

@FynnBe
Copy link
Member

FynnBe commented Sep 30, 2024

Just tried to login and got

Internal Server Error: RemoteError:Traceback (most recent call last):
           ^^^^^^^^^
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.12/site-packages/hypha_rpc/rpc.py", line 1076, in _wait
    result = await result
             ^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/hypha_rpc/utils/schema.py", line 401, in wrapper
    ret = await original_func(*new_args, **new_kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/hypha/core/workspace.py", line 1182, in get_service
    service_api = await self._rpc.get_remote_service(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/hypha_rpc/rpc.py", line 558, in get_remote_service
    raise exp
  File "/opt/conda/lib/python3.12/site-packages/hypha_rpc/rpc.py", line 548, in get_remote_service
    svc = await asyncio.wait_for(method(service_id), timeout=timeout)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
    async with timeouts.timeout(timeout):
  File "/opt/conda/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError
Exception: Traceback (most recent call last):
           ^^^^^^^^^
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.12/site-packages/hypha_rpc/rpc.py", line 1076, in _wait
    result = await result
             ^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/hypha_rpc/utils/schema.py", line 401, in wrapper
    ret = await original_func(*new_args, **new_kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/hypha/core/workspace.py", line 1182, in get_service
    service_api = await self._rpc.get_remote_service(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/site-packages/hypha_rpc/rpc.py", line 558, in get_remote_service
    raise exp
  File "/opt/conda/lib/python3.12/site-packages/hypha_rpc/rpc.py", line 548, in get_remote_service
    svc = await asyncio.wait_for(method(service_id), timeout=timeout)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
    async with timeouts.timeout(timeout):
  File "/opt/conda/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError
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

1 participant