Some questions about code 28 returned by PHP curl request service interface

our group business is written in PHP. The company server has migrated recently. Call other group java service APIs to return the information

.

phpcurl returns code 28. Check the libcurl official document https://curl.haxx.se/libcurl/.
28 official explanation:
CURLE_OPERATION_TIMEDOUT (28)

Operation timeout. The specified time-out period was reached according to the conditions

means that the request timed out, but the time in the screenshot is 0, and it is suspected that the service is not connected. Ask for advice.

May.25,2021

connect_time is empty which means you are not connected to the server.

problem has been found. When the timeout is set to 1 second, some logic of libcurl will be started. See
http://www.laruence.com/2014/.

.
Menu