Incorrect URL
Status code was -1 and not [200]: Request failed: urlopen error [Errno -2] Unknown name or service
Symptoms
The error message "msg": "Status code was -1 and not [200]: Request failed: urlopen error [Errno -2] " is displayed.
Cause Analysis
The URL is incorrect. As a result, the system cannot parse the URL.
Solution
Check whether the URL in the action is correct.
Status code was -1 and not [200]: Request failed: urlopen error timed out
Symptoms
The error message "msg": "Status code was -1 and not [200]: Request failed: urlopen error timed out" is displayed.
Cause Analysis
- The domain name in the URL is correct but the URL does not exist.
- The requested service does not exist.
- No inbound rule is added to the security group for the port in the URL.
Solution
Check whether the URL in the action is correct.
![](https://support.huaweicloud.com/eu/deployman_faq/public_sys-resources/note_3.0-en-us.png)
For details, see "Configuring Security Groups" in the User Guide. Add an inbound rule to access the port and deploy the verification result again.
Status code was -1 and not [200]: Request failed: <urlopen error [Errno 111]> Access denied
Symptoms
The error message "msg": "Status code was -1 and not [200]: Request failed: <urlopen error [Errno 111]> " is displayed.
Cause Analysis
The service is not started.
Solution
- Manually start the service and check whether it can be started properly.
- Increase the waiting time of the URL health test to ensure that the service can be started successfully.
Health Test via URLs FAQs
- Incorrect URL
- URL Does Not Exist
- Invalid URL
- 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.
more