Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page
Help Center/ CodeArts Deploy/ FAQs/ Hosts/ Application Deployment Fails with "tomcat | Download War in url path" Displayed in Logs

Application Deployment Fails with "tomcat | Download War in url path" Displayed in Logs

Updated on 2023-11-28 GMT+08:00

Symptom 1

Application deployment fails, the log information shows tomcat | Download War in url path, and the stderr line displays curl: option --tlsv1.2: is unknown\ncurl: try 'curl --help' or 'curl --manual' for more information.

Cause Analysis

The software package fails to be downloaded due to an incorrect curl version.

NOTE:

The problem often occurs on new hosts, because new hosts usually use the same image to install OSs, and the curl may not be the latest version.

Solution

Log in to the cloud host, run the yum update curl -y command to update the curl, and then deploy the application again.

Symptom 2

Application deployment fails, the log information shows tomcat | Download War in url path, and the stderr line displays getaddrinfo(3) failed for XXXX.com:443\n.

Cause Analysis

The software package cannot be downloaded because the cloud host cannot connect to the CodeArts Build.

Solution

Log in to the cloud host, and run the ping or traceroute command to check whether the host can connect to the domain name of CodeArts Build mentioned in the stderr line and the domain names and IP addresses of Baidu or Google.

  1. If both the domain names and IP addresses cannot be connected, the cloud host does not have access to the Internet.
  2. If the IP addresses can be connected but domain names cannot, there is something wrong with domain name resolution. Modify the /etc/resolv.conf file on the host, as shown in following figure.

  3. If only the CodeArts Build cannot be connected, the CodeArts Build may be faulty.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback