Ask the Community
Groups
Kaseya server connectivity issues (curl.exe) - Connect IT Community | Kaseya
<main> <article class="userContent"> <div> <ul><li> <strong>SYMPTOM </strong><br>1) Kaseya server cannot download latest hotfixes<br><br>2) Kaseya server cannot update licence code - VSA keeps prompting for new code on login<br><br>3) Error in kserver log when trying to auto-create a new agent account: -<br><br>Thu Jan 24 12:29:22 2008: ERROR: Automatic account creation process failed for .ds while retrieving new password from the database.<br>Thu Jan 24 12:29:22 2008: Failed to locate error file to report proper Kaseya error. <br>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" </li> </ul></div> <p> </p> <div> <ul><li> <strong>CAUSE </strong><br>These processes use a program called curl.exe to connect either to localhost or to the Kaseya central licence server. Curl can fail for various reasons, such as network or IIS problems. </li> </ul></div> <p> </p> <div> <ul><li> <strong>RESOLUTION </strong><br>Download & run the curltest 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">http://dl.kaseya.com/download/support/vsa/utilities/curltest.zip</a><br><br>1) Extract the curltest 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>Error=28, URL=<a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fvsaupdate.kaseya.net%2Fblank.asp">http://vsaupdate.kaseya.net/blank.asp</a>, Filein=NULL, Fileout=vsaupdate.txt<br><br>If the vsaupdate.txt file contains an error, then the K server cannot connect to the Kaseya licence server (vsaupdate.kaseya.net) over the internet.<br><br>If the localhost.txt file contains an error, then the K server 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 localhost access </li> </ul></div> <p> </p> <div> <ul><li> <strong>MORE INFORMATION </strong><br>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 licence server (vsaupdate.kaseya.net) because a firewall was preventing access to the internet. </li> </ul></div> <p> </p> <div> <ul><li> <strong>APPLIES TO </strong><br>Kaseya Server </li> </ul></div> </article> </main>