function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Ant command fails


I have below error when i run the ANt retrive command
Buildfile: C:\Users\Gyra\Music\apache-ant-1.9.4\bin\build.xml

[sf:retrieve] Note: use ant -verbose to get more information on the failure

C:\Users\Gyra\Music\apache-ant-1.9.4\bin\build.xml:14: Failed to login: Failed
 to send request to

Total time: 23 seconds
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="">

any suggestions ?
Best Answer chosen by Ab
Syed Insha Jawaid 2Syed Insha Jawaid 2
Hi Sandrine

Please check your credentials in file once.If they are validated then revisit the login history for the user through which you are trying to execute ant command.It might be an IP issue as well.