{"slug": "llm-course-chapter-11-exam-connection-error-to-api-inference-huggingface-co", "title": "LLM Course Chapter 11 Exam: Connection error to api-inference.huggingface.co", "summary": "A user reported that the Chapter 11 Code Quiz in the LLM Course fails on submission with a MaxRetryError against api-inference.huggingface.co, where the endpoint /models/Qwen/Qwen2.5-Coder-32B-Instruct/v1/chat/completions could not be reached due to a NameResolutionError (Errno -5, no address associated with hostname). The user asked whether the Hugging Face inference API hostname resolution failure is a known temporary issue or something they can fix locally.", "body_md": "Hi everyone, I am experiencing an issue while trying to complete the Code Quiz in Chapter 11 of the LLM Course. When submitting, the automated check fails with a network resolution error. Here is the exact error I am receiving: (MaxRetryError(‘HTTPSConnectionPool(host=\\‘[api-inference.huggingface.co](http://api-inference.huggingface.co)\\’, port=443): Max retries exceeded with url: /models/Qwen/Qwen2.5-Coder-32B-Instruct/v1/chat/completions (Caused by NameResolutionError(“: Failed to resolve \\‘[api-inference.huggingface.co](http://api-inference.huggingface.co)\\’ ([Errno -5] No address associated with hostname)”))’)) It looks like the platform is currently unable to resolve the Hugging Face inference API hostname or the Qwen model endpoint is unavailable. Is this a known temporary issue, or is there something I can do to fix it? Thank you!", "url": "https://wpnews.pro/news/llm-course-chapter-11-exam-connection-error-to-api-inference-huggingface-co", "canonical_source": "https://discuss.huggingface.co/t/llm-course-chapter-11-exam-connection-error-to-api-inference-huggingface-co/180639#post_1", "published_at": "2026-09-19 19:31:54+00:00", "updated_at": "2026-09-19 19:52:56.799374+00:00", "lang": "en", "topics": ["large-language-models", "ai-infrastructure", "ai-tools"], "entities": ["Hugging Face", "api-inference.huggingface.co", "Qwen", "Qwen2.5-Coder-32B-Instruct", "LLM Course"], "alternates": {"html": "https://wpnews.pro/news/llm-course-chapter-11-exam-connection-error-to-api-inference-huggingface-co", "markdown": "https://wpnews.pro/news/llm-course-chapter-11-exam-connection-error-to-api-inference-huggingface-co.md", "text": "https://wpnews.pro/news/llm-course-chapter-11-exam-connection-error-to-api-inference-huggingface-co.txt", "jsonld": "https://wpnews.pro/news/llm-course-chapter-11-exam-connection-error-to-api-inference-huggingface-co.jsonld"}}