Berto2002 Posted June 14 Share Posted June 14 Trying to run the asset_import.exe latest version on new machine. Using this procedure: Running an Import (hornbill.com) At the prompt we enter the 3-digit instance ID and we get the error. Note sure where to go with this now. Note that the User running this has a valid API key on the instance against their profile so we are ready for the API key to be entered but not getting that chance. Link to comment Share on other sites More sharing options...
Steve G Posted June 14 Share Posted June 14 @Berto2002, This would suggest that the utility can't get to https://files.hornbill.com and https://files.hornbill.co as this is where we get the API endpoint details from. My money would be on this being a proxy/firewall/internet access rules issue. Cheers, Steve Link to comment Share on other sites More sharing options...
Berto2002 Posted June 14 Author Share Posted June 14 @Steve G is there anything in the documentation about accessing that location and what to set-up? Or perhaps it could be added to troubleshooting? Troubleshooting Asset Imports (hornbill.com). I get a blank screen when accessing that location (no error) Link to comment Share on other sites More sharing options...
Steve G Posted June 14 Share Posted June 14 @Berto2002 the service whitelist information is in here: https://docs.hornbill.com/hornbill-cloud/firewall-ips-ports, and *.hornbill.com is also listed in the asset import docs here: https://docs.hornbill.com/data-imports-guide/assets/overview#network, along with HTTP proxy instructions. I can see files.hornbill.co isn't in the import docs whilelist, so I'll get that added, along with a line in the troubleshooting section about the above error. The URL you can check is: https://files.hornbill.com/instances/yourinstanceidgoeshere/zoneinfo When I hit that endpoint from outside the Hornbill network I can see your API endpoints as expected. Cheers, Steve Link to comment Share on other sites More sharing options...
Steve G Posted June 14 Share Posted June 14 @Berto2002 I've just released v4.9.1 of the asset importer, which contains improved logging for this particular issue. Hope this helps your debugging. Cheers, Steve Link to comment Share on other sites More sharing options...
Berto2002 Posted June 24 Author Share Posted June 24 Hi @Steve G I have PM'd you the outut from that URL Does this show it is working? Link to comment Share on other sites More sharing options...
Steve G Posted June 26 Share Posted June 26 @Berto2002 Yes that's working - this may be an access issue via the terminal though if that information was read via your browser, so you'll likely need to set the HTTP proxy details in the terminal as per my previous post. Cheers, Steve Link to comment Share on other sites More sharing options...
Berto2002 Posted June 27 Author Share Posted June 27 @JamesGreen please could you review this in conjunction with request SR00117149 Link to comment Share on other sites More sharing options...
Berto2002 Posted July 3 Author Share Posted July 3 @Steve G we've managed to get the asset importer working but I think there are couple of shortfalls in the document. We received an error that this was missing from the allowed permissions: "session:getApplicationList". I think this needs to be added to the API Key Rules: Authentication (hornbill.com) because after we added it that particular error did not recur. It then failed with an error saying "Asset Type [Laptop] not found in instance. Check the AssetTypes section of your configuration". We do have a Laptop type. So I removed ALL the rules from the API and it ran ok. So I think there is a SECOND rule/permission missing in the documentation for this to work please. Link to comment Share on other sites More sharing options...
Steve G Posted July 4 Share Posted July 4 Hi @Berto2002, You're looking at the wrong page, you've linked the API key rules for a User import, not an Asset import The asset import API requirements are listed here: https://docs.hornbill.com/data-imports-guide/assets/authentication, which already had the session:getApplicationList API listed. I did notice in passing a couple of others that needed adding to the list, from recent releases, so I've done that and it'll be published shortly. Steve 1 Link to comment Share on other sites More sharing options...
Berto2002 Posted July 4 Author Share Posted July 4 @andrewmorris a bit of a Rob classic there but something good came of it Link to comment Share on other sites More sharing options...
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