Tonyo Posted May 17, 2016 Posted May 17, 2016 When I try running the cleaner utility in Service Manager, I get the following windows version error, but I know this doesn't make sense because we run the 32bit version of Windows, and wondering if you can advise. Thanks.
Steve G Posted May 17, 2016 Posted May 17, 2016 Hi Tonyo, This error is being returned because the released binary was compiled on a 64bit Windows machine, and thus will not run on a 32bit Windows machine. I'll compile a 32bit version and sent it over to you directly. Please send me your contact details in a private message. Kind regards, Steve
Tonyo Posted May 18, 2016 Author Posted May 18, 2016 Hi Steve, Please email: tony.obaseki@hertsmere.gov.uk Thanks, Tony
Tonyo Posted May 20, 2016 Author Posted May 20, 2016 Hi Steve, I ran the utility ok with all the amendments t the script, but then I get the error "could not login to your hornbill instance". I looked at the (conf.json ) script again, and had the correct username an password in there (mine) Can you please advise? Tony conf error.doc
TrevorKillick Posted May 20, 2016 Posted May 20, 2016 Hi Tony Excluding the passwords (Please remove these first) can you post a copy of the configuration file please. Kind Regards Trevor Killick
Tonyo Posted May 20, 2016 Author Posted May 20, 2016 Hi Trevor, Please see the attached as requested. Tony conf error.doc
TrevorKillick Posted May 20, 2016 Posted May 20, 2016 Hi Tony Can you try the following for URL "URL": "https://eurapi.hornbill.com/hertsmereidsservicedesk/xmlmc/", Kind Regards Trevor Killick
Tonyo Posted May 20, 2016 Author Posted May 20, 2016 Hi Trevor, Made the change as advised, including my user name an password, but this still returned an error. I thought it could be my username and password, so I tried the "Admin" username and password an tis still returned an error, and not sure what I was doing wrong." could not log into your Hornbill Instance" I also tried with being logged onto SM, and also when logged off, and this returned an error as well. Please see attached... Regards, Tony
Gerry Posted May 21, 2016 Posted May 21, 2016 The source code might offer some insight as to the specific error, looks like it could do with outputting the result of the userLogon call. https://github.com/hornbill/goHornbillCleaner/blob/master/hornbillCleaner.go Gerry
Steve G Posted May 21, 2016 Posted May 21, 2016 Hi Tony, I've just emailed you a slightly modified version of the Hornbill Cleaner, which will output the actual API response to the screen, rather than just the currently displayed error message. I've also included a conf file, with the URL set, so you just need to add your admin account username and password in to the empty string holders for the cleaner to run. If you could try this version and post the resulting error message back here that would be great. Kind regards, Steve 1
Steve G Posted May 26, 2016 Posted May 26, 2016 Hi Tony, Thanks for confirming that this utility is now working for you! For any other customers reviewing this thread, the issue experienced was due to two factors: 1. An incorrectly formatted configuration file. The conf.json should contain the following information: { "UserName": "adminusernamegoeshere", "Password": "adminpasswordgoeshere", "URL": "https://eurapi.hornbill.com/instancenamegoeshere/xmlmc/", "CleanRequests": false, "CleanAssets": false } 2. A customer-side corporate firewall rule blocking access to the API endpoint. Kind regards, Steve
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now