The curl here is http, and the traceroute is icmp. From the protocol point of view, they are independent protocols. Since your domain name resolution problem has been eliminated, you can be more suspicious of whether there is packet loss and slow network connectivity in the network connectivity itself. Posting a detailed execution process log will make it easier to analyze, and also explain your server's network topology and local network conditions.
The curl here is http, and the traceroute is icmp. From the protocol point of view, they are independent protocols. Since your domain name resolution problem has been eliminated, you can be more suspicious of whether there is packet loss and slow network connectivity in the network connectivity itself. Posting a detailed execution process log will make it easier to analyze, and also explain your server's network topology and local network conditions.