Skip to content

[Feedback] Adding Credentials - /dashboard/credentials/ #460

Description

@pleirb

I followed the steps in the guide to add a Binance account using deploy and I get this error:

aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

File "/home/dashboard/frontend/pages/orchestration/credentials/app.py", line 190, in add_credentials_section
    response = client.accounts.add_credential(account_name, connector_name, config_inputs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/hummingbot_api_client/sync_client.py", line 181, in sync_method
    return self._loop.run_until_complete(attr(*args, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/nest_asyncio.py", line 98, in run_until_complete
    return f.result()
           ^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/asyncio/futures.py", line 202, in result
    raise self._exception.with_traceback(self._exception_tb)
File "/opt/conda/envs/dashboard/lib/python3.12/asyncio/tasks.py", line 316, in __step_run_and_handle_result
    result = coro.throw(exc)
             ^^^^^^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/hummingbot_api_client/routers/accounts.py", line 33, in add_credential
    return await self._post(
           ^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/hummingbot_api_client/routers/base.py", line 63, in _post
    async with self.session.post(url, json=json, params=params) as response:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/aiohttp/client.py", line 1488, in __aenter__
    self._resp: _RetType = await self._coro
                           ^^^^^^^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/aiohttp/client.py", line 770, in _request
    resp = await handler(req)
           ^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/aiohttp/client.py", line 748, in _connect_and_send_request
    await resp.start(conn)
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 532, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
                       ^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/aiohttp/streams.py", line 672, in read
    await self._waiter
File "/opt/conda/envs/dashboard/lib/python3.12/asyncio/futures.py", line 289, in __await__
    yield self  # This tells Task to wait for completion.
    ^^^^^^^^^^
File "/opt/conda/envs/dashboard/lib/python3.12/asyncio/tasks.py", line 385, in __wakeup
    future.result()
File "/opt/conda/envs/dashboard/lib/python3.12/asyncio/futures.py", line 202, in result
    raise self._exception.with_traceback(self._exception_tb)

Thank you

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions