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

[BUG] HuggingFace Tool Connection Problem #268

Closed
2 of 3 tasks
HalberdOfPineapple opened this issue Aug 31, 2023 · 3 comments
Closed
2 of 3 tasks

[BUG] HuggingFace Tool Connection Problem #268

HalberdOfPineapple opened this issue Aug 31, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@HalberdOfPineapple
Copy link
Member

Required prerequisites

What version of camel are you using?

0.1.0

System information

3.8.17 (default, Jul 5 2023, 21:04:15) [GCC 11.2.0] linux
0.1.0

Problem description

The newly submitted commit at #245 indicates there occured problem in the tests of embodied agents and huggingface tools. The core error message is:
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7fade8303220>: Failed to resolve 'jwtq338l7l47q5zh.us-east-1.aws.endpoints.huggingface.cloud' ([Errno -2] Name or service not known)
The 3 failed tests in pytest_package_full_test seem to have the similar problem. I guess this might be because HuggingFace changes their server settings. Hopefully this can be solved.

Reproducible example code

pass

Traceback

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jwtq338l7l47q5zh.us-east-1.aws.endpoints.huggingface.cloud', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fade8303220>: Failed to resolve 'jwtq338l7l47q5zh.us-east-1.aws.endpoints.huggingface.cloud' ([Errno -2] Name or service not known)"))

Expected behavior

No response

Additional context

No response

@HalberdOfPineapple HalberdOfPineapple added the bug Something isn't working label Aug 31, 2023
@dandansamax
Copy link
Collaborator

Looks like the hugging face endpoint is down, which the hugging-face remote exection must invoke. Sadly, we can do nothing about that. I suggest we ignore this error until the hugging-face fix it.

@dandansamax
Copy link
Collaborator

I push a branch named ignore_huggingface_error. Please consider merging it.

@HalberdOfPineapple
Copy link
Member Author

Fixed by @dandansamax in #245

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

3 participants