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

Credentials - Unable to add dydx_v4_perpetual #65

Open
rapcmia opened this issue Sep 10, 2024 · 1 comment
Open

Credentials - Unable to add dydx_v4_perpetual #65

rapcmia opened this issue Sep 10, 2024 · 1 comment
Labels
bot orchestration bug Something isn't working p2

Comments

@rapcmia
Copy link
Contributor

rapcmia commented Sep 10, 2024

Describe the bug

When testing a PR that fix hummingbot lib and built a hummingbot library then use the ./dist/..whl path file to backend-api's environment.yml. Modified and add v4-proto==6.0.2 and run make install which successfully build backend-env image

Backend-api:
image

However when adding dydx_v4_perpetual API keys to dashboard getting bad request
image

INFO:     127.0.0.1:62831 - "GET /list-accounts HTTP/1.1" 200 OK
INFO:     127.0.0.1:62832 - "GET /list-credentials/master_account HTTP/1.1" 200 OK
INFO:     127.0.0.1:62833 - "GET /list-credentials/master_account HTTP/1.1" 200 OK
INFO:     127.0.0.1:62835 - "GET /is-docker-running HTTP/1.1" 200 OK
INFO:     127.0.0.1:62836 - "GET /list-accounts HTTP/1.1" 200 OK
INFO:     127.0.0.1:62837 - "GET /list-credentials/master_account HTTP/1.1" 200 OK
INFO:     127.0.0.1:62838 - "GET /list-credentials/master_account HTTP/1.1" 200 OK
/Users/rapcomia/miniconda3/envs/backend-api/lib/python3.10/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.0 at cosmos/auth/v1beta1/auth.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
  warnings.warn(
/Users/rapcomia/miniconda3/envs/backend-api/lib/python3.10/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.0 at amino/amino.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
  warnings.warn(
INFO:     127.0.0.1:62839 - "POST /add-connector-keys/master_account/dydx_v4_perpetual HTTP/1.1" 400 Bad Request

Steps to reproduce bug

  1. Build .whl from latest development hummingbot branch
  2. Use the path and modify backend-api env file then run make install
  3. Go to dashboard and add API keys of dydx_v4_perpetual
@rapcmia
Copy link
Contributor Author

rapcmia commented Sep 11, 2024

Found out that setup.py had a dependecy of injective-py therefore we commented it then add v4_proto and bip_utils to backend-api environment.yml

image
image

Successfully added the connector from dashboard:
image
image

Note: Current hummingbot lib is not updated causing dydx_v4_perpetual not usable on dashboard. User must build the .whl locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot orchestration bug Something isn't working p2
Projects
None yet
Development

No branches or pull requests

1 participant