Ask the Community
Groups
How do I fix Kaseya server connectivity issues (curl.exe) like the ones below? - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>QUESTION</strong></p> <p>How do I fix Kaseya server connectivity issues (curl.exe) like the ones below?</p> <ol><li>Kaseya server cannot download latest hotfixes</li> <li>Kaseya server cannot update license code - VSA keeps prompting for new code on login</li> <li>Error in kserver log when trying to auto-create a new agent account:</li> </ol><p><em>Thu Jan 24 12:29:22 2008: ERROR:Automatic account creation process failed for .ds while retrieving new password from the database.</em><br><em>Thu Jan 24 12:29:22 2008: Failed to locate error file to report proper Kaseya error. </em><br><em>Thu Jan 24 12:29:22 2008: Automatic account creation web page used was AgentTab/createAccountCtl.asp -d"CreateHit=Create&defaultAccount=&userEmailAddr=&groupId=ds"-o "C:\Kaseya\WebPages\install\ds.txt"</em></p> <p> </p> <p><strong>ANSWER</strong></p> <p>These processes use a program called "<strong>curl.exe"</strong> to connect either to local host or to the Kaseya central license server. Curl can fail for various reasons, such as network or IIS problems.</p> <p>Download & run the curl test package found here to test the process on the Kaseya server:<br><br><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fdl.kaseya.com%2Fdownload%2Fsupport%2Fvsa%2Futilities%2Fcurltest.zip%25C2%25A0">http://dl.kaseya.com/download/support/vsa/utilities/curltest.zip</a><br><br>1) Extract the curl test directory to somewhere on the Kaseya server (e.g. C:\curltest)<br><br>2) If IIS on your K server is configured for HTTP, run curltest.cmd. If you are using SSL, run curltest-ssl.cmd<br><br>3) Look at the resulting "localhost.txt" and "vsaupdate.txt" files:<br><br>- if they contain html code, the curl command was successful<br>- if they contain an error such as below, then curl has failed<br><br><em>"Error=28, URL=<a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fvsaupdate.kaseya.net%2Fblank.asp%2CFilein%3DNULL">http://vsaupdate.kaseya.net/blank.asp,Filein=NULL</a>, Fileout=vsaupdate.txt"</em><br><br>If the "vsaupdate.txt" file contains an error, then the KServer cannot connect to the Kaseya license server (vsaupdate.kaseya.net) over the internet.<br><br>If the localhost.txt file contains an error, then the KServer cannot connect to its own IIS server.<br><br>4) If you are using SSL, ensure that IIS is configured to allow connection to localhost over SSL. It does NOT need to have a certificate installed for local host access.</p> <p> </p> <p><strong>MORE INFORMATION</strong></p> <p>This web page contains descriptions of curl errors: <a rel="nofollow" href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fcurl.haxx.se%2Flibcurl%2Fc%2Flibcurl-errors.html">http://curl.haxx.se/libcurl/c/libcurl-errors.html</a><br><br>In the example above, there was a timeout trying to download from the Kaseya license server (vsaupdate.kaseya.net) because a firewall was preventing access to the internet.</p> <p> </p> <p><strong>APPLIES TO</strong></p> <p>Kaseya Server</p> </article> </main>