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

500 Internal Server Error & 401 Unauthorized #6

Open
quanqx opened this issue Apr 29, 2024 · 1 comment
Open

500 Internal Server Error & 401 Unauthorized #6

quanqx opened this issue Apr 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@quanqx
Copy link

quanqx commented Apr 29, 2024

I tried to run a miner but it got 500 Internal Server Error & 401 Unauthorized as below
image

Steps to reproduce the behavior

  1. Clone Synthia
  2. cd synthia
  3. pip install communex --upgrade
  4. python 3.10.13 was installed
  5. Install Poetry: curl -sSL https://install.python-poetry.org | python3 -
  6. poetry install
  7. poetry shell
  8. regen wallet: comx key regen 'name' 'mnemonic'
  9. due to already register so I update the ip & port for key:
    comx module update quan quannhk1 1.160.XXX.XX 40XXX --netuid 3
  10. add env/config.env
    ANTHROPIC_API_KEY="sk-ant-api03-
    8YlIE6J8DQoVINxzvgqyOKRJvGLGpUiIPE66uiL2MrC1W1gcq2flSLNFmatPGWT1f3mVmYBYsbJU1gbmXXXXX-XXXXXX"
    ANTHROPIC_MODEL=claude-3-opus-20240229
    ANTHROPIC_MAX_TOKENS=1000
    ANTHROPIC_TEMPERATURE=0.5
  11. pm2 start "comx module serve synthia.miner.anthropic.AnthropicModule quan --subnets-whitelist 3 --ip 0.0.0.0 --port 40XXX" --name t1

Expected behavior

The miner works properly & log shows normally

Screenshots

Show as above

Specs

  • OS: Ubuntu 22.04
  • Package Version: [e.g. 0.1.2]
  • Python Version: [e.g. 3.10.13]
@quanqx quanqx added the bug Something isn't working label Apr 29, 2024
@quanqx
Copy link
Author

quanqx commented Apr 29, 2024

Logs
image

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

No branches or pull requests

2 participants