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

Exception: Failed to connect to argilla, check connection details #96

Open
amitshermann opened this issue Sep 10, 2024 · 2 comments
Open

Comments

@amitshermann
Copy link

amitshermann commented Sep 10, 2024

Hi, I'm encountering an error while trying to run "run_pipeline.py".
This is the error: Exception: Failed to connect to argilla, check connection details

More information:
I'm using conda.
I'm using argilla with huggingface.
The config_default.yml annotator looks like this:
annotator:
method : 'argilla'
config:
api_url: 'https://example.hf.space'
api_key: 'my-api-key'
workspace: 'argilla'
time_interval: 5

Does anyone have an idea how to fix this?

@Eladlev
Copy link
Owner

Eladlev commented Sep 10, 2024

  1. Check that you upload the correct version of the space (if you are using the current Argilla instructions with the SDK 2.0 it will not work), you should follow the readme and duplicate my space
  2. Check the api_url that it's the correct space url
  3. Verify the key and the workspace Argilla defaults are:
        api_key: 'admin.apikey'
        workspace: 'admin'   

If you still have issues we can iterate on the discord server and verify first that you are able to work on my test space

@amitshermann
Copy link
Author

That fixed it for me, thanks a lot!

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

2 participants