URL Domain Name Resolution Failure
Symptom
The error message urlopen error [Errno -2] Name or service not known is displayed.
Analysis
Your host fails to resolve the domain name of the release repository. As a result, the file fails to be downloaded.
Solution
If you have a DNS server, you can add the following domain names to the DNS server to resolve the domain names of the release repository:
If you do not have a DNS server, add the domain names to the hosts file on a local host so that the host can resolve the domain names of the release repository.
![](https://support.huaweicloud.com/intl/en-us/deployman_faq/public_sys-resources/note_3.0-en-us.png)
Take a 64-bit Windows 10 host as an example. The path of the hosts file is C:\Windows\System32\drivers\etc\.
# Singapore devrepo.devcloud.ap-southeast-3.huaweicloud.com 114.119.184.199 # Mexico devrepo.devcloud.la-north-2.huaweicloud.com 110.238.85.119 # Sao Paulo devrepo.devcloud.sa-brazil-1.huaweicloud.com 119.8.87.118
Selecting Deployment Sources FAQs
- Software Package Not Found in CodeArts Artifact
- No Software Package Available for a Build Task
- URL Domain Name Resolution Failure
- File Download Times Out
- Inconsistent SHA256 Values in a File
- Inconsistent MD5 Values in a File
- Error "More than 100 build files"
- "HTTP Error 403" Is Displayed When the CodeArts Artifact Software Package Is Downloaded
- Application Deployment Interruption
- Insufficient Permissions
- Parameters Contain Backslashes (\)
- No Host Exists in the Environment
- Environment Does Not Exist
- Failed to Deploy an Application on a Windows Host
- Error Occurs During Application Deployment with the sudo Privileges
- Deployment Blocked by Third-Party Antivirus Software
- Invalid Path
- A Network Error Occurs During Software Installation on CentOS
- A Network Error Occurs During Software Installation on Ubuntu OS
- Windows Path Not Allowed on a Linux Host
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore