/build/static/layout/Breadcrumb_cap_w.png

K1000: Error Code (7:Couldn't connect to server)

Hello Ninjas


I am having trouble with a recently imaged machine in our network not communicating with K1000. I tried to google around some solutions and found an old post suggesting to use 'runkbot.exe 4 0' here is the line with the error: 

[2022-02-28.17:05:18][runkbot:KWeb::DownloadUsingCurl ] DownloadFile: 'C:\ProgramData\Quest\KACE\kbots_cache\4-0.xml' error occurred: 'Failed to connect to 127.0.0.1 port 62884: Connection refused' Error Code (7:Couldn't connect to server), url: http://127.0.0.1:62884/service/kbot_service_notsoap.php?METHOD=getkbot&KUID=25346c94-3cc0-49bb-95b2-c3cc670eb9dc&KBOT_ID=4&KBOT_VERSION=0&CLIENT_VERSION=12.0.38

The machine is running Windows 10 Enterprise 21H2 OS Build 19044.1526 which was imaged recently with KACE2000 . It did have Apex running but uninstalled it and reinstalled the Kace agent, thinking that may have been blocking it but still no dice. Our K1000 is running as a VM in ESXi and I can ping it from the machine that can't reach it. And we have about 200 devices connecting to KACE1000 without any issue. 

Let me know if you need more information.

Thank you in advance!



0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: dunnenick 3 months ago
White Belt
1

Top Answer

Worked with support. This worked:

Remove from device list in appliance

Run: AMPTools.exe uninstall  all-kuid

Install agent.


Comments:
  • This worked on all our of machines that were not checking in. Thank you! - evh177 2 months ago
Posted by: dunnenick 3 months ago
White Belt
0

Same here. Anyone get a solution?

Posted by: wbrown@irhythmtech.com 3 months ago
White Belt
0

I have the exact same problem on two machines.  All others checking in normally:  Reinstalling, changing KUID, repairing WMI all seem to have no effect.   


[2022-03-15.10:10:54][runkbot:KWeb::DownloadUsingCurl ] DownloadFile: 'C:\ProgramData\Quest\KACE\kbots_cache\4-0.xml' error occurred: 'Failed to connect to 127.0.0.1 port 55793: Connection refused' Error Code (7:Couldn't connect to server), url: http://127.0.0.1:55793/service/kbot_service_notsoap.php?METHOD=getkbot&KUID=862d06f6-e2f3-4ebb-a369-9bf231e55c91&KBOT_ID=4&KBOT_VERSION=0&CLIENT_VERSION=11.0.119

[2022-03-15.10:10:54][runkbot:KWeb::DownloadUsingCurl ] DownloadFile: Download C:\ProgramData\Quest\KACE\kbots_cache\4-0.xml from http://127.0.0.1:55793/service/kbot_service_notsoap.php?METHOD=getkbot&KUID=862d06f6-e2f3-4ebb-a369-9bf231e55c91&KBOT_ID=4&KBOT_VERSION=0&CLIENT_VERSION=11.0.119 did not complete

[2022-03-15.10:10:54][runkbot:KWeb::DownloadUsingCurl ] DownloadFile: Something went wrong, local part file can't be trusted. Going to delete: C:\ProgramData\Quest\KACE\kbots_cache\4-0.xml.part

[2022-03-15.10:10:54][runkbot:KWeb::KCopyFile         ] Error (cURL) copying files from 'http://127.0.0.1:55793/service/kbot_service_notsoap.php?METHOD=getkbot&KUID=862d06f6-e2f3-4ebb-a369-9bf231e55c91&KBOT_ID=4&KBOT_VERSION=0&CLIENT_VERSION=11.0.119' to 'C:\ProgramData\Quest\KACE\kbots_cache\4-0.xml': (7) Couldn't connect to server

[2022-03-15.10:10:54][runkbot:KBotScriptManager::Fetch] KBotScriptManager::FetchAndWriteToCache - Kbot[4-0] Download failed, error code = 7

[2022-03-15.10:10:54][runkbot:KBotScript::Load        ] KBotScript::Load - No kbot script wast found at: C:\ProgramData\Quest\KACE\kbots_cache\4-0.xml

[2022-03-15.10:10:54][runkbot:KBotScriptManager::GetSc] KBotScriptManager::GetScriptVersion - Document not parsed successfully

[2022-03-15.10:10:54][runkbot:KBotScriptManager::Fetch] KBotScriptManager::FetchAndWriteToCache - Failed to get version in kbot xml

[2022-03-15.10:10:54][runkbot:KBotScriptManager::GetSc] KBotScriptManager::GetScript - Failed to get kbot script [4-0]

kbot[4:0] @ 2022-03-15T10:10:54 (status) START

kbot[4:0] @ 2022-03-15T10:10:54 (activity) Kbot not available locally, can't execute at this time

kbot[4:0] @ 2022-03-15T10:10:54 (status) FINISH (In state 'verification_failed')

[2022-03-15.10:10:54][runkbot:KBotScriptLog::Upload   ] KBotScriptLog::Upload - Uploading Log file [C:\Users\wbrown\AppData\Local\Temp\dkl28BC.tmp]

[2022-03-15.10:10:54][runkbot:KBotScriptLog::GetUpload] KBotScriptLog::GetUploadURL - temp file is C:\Users\wbrown\AppData\Local\Temp\dkl3177.tmp

[2022-03-15.10:10:54][runkbot:KWeb::DownloadUsingCurl ] DownloadFile: download with no speed limit

[2022-03-15.10:10:54][runkbot:KWeb::DownloadUsingCurl ] DOWNLOADFILE: CURL DEBUG INFO --->>> START <<<---

[2022-03-15.10:10:57][runkbot:KWeb::DownloadUsingCurl ] DOWNLOADFILE: CURL DEBUG INFO --->>> END <<<---

[2022-03-15.10:10:57][runkbot:KWeb::DownloadUsingCurl ] DownloadFile: 'C:\Users\wbrown\AppData\Local\Temp\dkl3177.tmp' error occurred: 'Failed to connect to 127.0.0.1 port 55793: Connection refused' Error Code (7:Couldn't connect to server), url: http://127.0.0.1:55793/service/kbot_service_notsoap.php?METHOD=getuploadpath&KUID=862d06f6-e2f3-4ebb-a369-9bf231e55c91&FILENAME=KBOT_LOG.txt

[2022-03-15.10:10:57][runkbot:KWeb::DownloadUsingCurl ] DownloadFile: Download C:\Users\wbrown\AppData\Local\Temp\dkl3177.tmp from http://127.0.0.1:55793/service/kbot_service_notsoap.php?METHOD=getuploadpath&KUID=862d06f6-e2f3-4ebb-a369-9bf231e55c91&FILENAME=KBOT_LOG.txt did not complete

[2022-03-15.10:10:57][runkbot:KWeb::DownloadUsingCurl ] DownloadFile: Something went wrong, local part file can't be trusted. Going to delete: C:\Users\wbrown\AppData\Local\Temp\dkl3177.tmp.part

[2022-03-15.10:10:57][runkbot:KWeb::KCopyFile         ] Error (cURL) copying files from 'http://127.0.0.1:55793/service/kbot_service_notsoap.php?METHOD=getuploadpath&KUID=862d06f6-e2f3-4ebb-a369-9bf231e55c91&FILENAME=KBOT_LOG.txt' to 'C:\Users\wbrown\AppData\Local\Temp\dkl3177.tmp': (7) Couldn't connect to server

[2022-03-15.10:10:57][runkbot:KBotScriptLog::GetUpload] KBotScriptLog::GetUploadURL - Built upload url, but FAILED to fetch the upload path from server (response=7)

[2022-03-15.10:10:57][runkbot:KBotScriptLog::GetUpload]                               while attempting to download [http://127.0.0.1:55793/service/kbot_service_notsoap.php?METHOD=getuploadpath&KUID=862d06f6-e2f3-4ebb-a369-9bf231e55c91&FILENAME=KBOT_LOG.txt]

[2022-03-15.10:10:57][runkbot:KBotScriptLog::GetUpload]                               to local location [C:\Users\wbrown\AppData\Local\Temp\dkl3177.tmp]

[2022-03-15.10:10:57][runkbot:KBotScriptLog::Upload   ] KBotScriptLog::Upload - server [http://127.0.0.1:55793] failed to return valid upload path for kuid=[862d06f6-e2f3-4ebb-a369-9bf231e55c91]: path=[]

[2022-03-15.10:10:57][runkbot:KBotScriptLog::Upload   ]                (returning without attempting to upload log file)

[2022-03-15.10:10:57][runkbot:KBotScriptLog::Cleanup  ] KBotScriptLog::Cleanup - Cleaning up log file [C:\Users\wbrown\AppData\Local\Temp\dkl28BC.tmp]


[2022-03-15.10:10:57][runkbot:main                    ] runkbot    ----- Exiting runkbot.exe -----

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ