[ServiceNow Plugin] Unable to retreive CI from a ServiceNow instance

Started by Jose-Carlos, December 18, 2017, 10:41:55 AM

Previous topic - Next topic

Jose-Carlos

Hi,
I'm using Archi 4.0.3, build 201709061211.

I'm trying to retreive CI from ServiceNow instance.
I have provisionned a ServiceNow developer instance (Jakarta version), installed ServiceNow plugin (org.archicontribs.form-v0.1.0(archi4).jar), configured servicenow.ini with credentials, but I have a connection issue.
I don't have any required proxy configuration to access to ServiceNow.

Here is my log output:

2017-12-18 11:21:15 INFO  : =====================================
2017-12-18 11:21:15 INFO  : Starting ServiceNow import plugin ...
2017-12-18 11:21:15 INFO  : Getting properties from C:\BUSTOOLS\servicenow.ini
2017-12-18 11:21:15 DEBUG : found property servicenow.site = https://dev20679.service-now.com
2017-12-18 11:21:15 DEBUG : found property servicenow.user = admin
2017-12-18 11:21:15 DEBUG : found property servicenow.pass = xxxxxxxx
2017-12-18 11:21:15 DEBUG : Found property archi.elements.cmdb_ci_aix_server.mapping = "Node"
2017-12-18 11:21:15 INFO  : Retrieving table cmdb_ci_aix_server from ServiceNow ...
2017-12-18 11:21:15 TRACE :    required property = documentation
2017-12-18 11:21:15 TRACE :          --> field = short_description
2017-12-18 11:21:15 TRACE :    required property = folder
2017-12-18 11:21:15 TRACE :          --> constant = "Serveurs"
2017-12-18 11:21:15 TRACE :          --> constant = "AIX"
2017-12-18 11:21:15 TRACE :          --> field = os
2017-12-18 11:21:15 TRACE :    required property = id
2017-12-18 11:21:15 TRACE :          --> field = sys_id
2017-12-18 11:21:15 TRACE :    required property = mapping
2017-12-18 11:21:15 TRACE :          --> constant = "Node"
2017-12-18 11:21:15 TRACE :    required property = name
2017-12-18 11:21:15 TRACE :          --> field = name
2017-12-18 11:21:15 TRACE :    required property = sys_class_name
2017-12-18 11:21:15 TRACE :          --> field = sys_class_name
2017-12-18 11:21:15 TRACE :    required property = sys_id
2017-12-18 11:21:15 TRACE :          --> field = sys_id
2017-12-18 11:21:15 DEBUG : Generated URL is https://dev20679.service-now.com/api/now/table/cmdb_ci_aix_server?sysparm_exclude_reference_link=true&sysparm_limit=50&sysparm_fields=short_description,os,sys_id,name,sys_class_name,sys_id
2017-12-18 11:21:15 DEBUG :    Connecting to ServiceNow website ...
2017-12-18 11:21:17 FATAL : Cannot get cmdb_ci_aix_server table from ServiceNow web service (Cannot connect to web site (dev20679.service-now.com))

When I type the generated URL on my browser, I'm able to retreive expected result, but I have to fill credentials in a Windows box.

Is there a way to activate additional debug informations from Archi?
Any idea?

Thanks for your help.

Phil Beauvoir

If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Jose-Carlos

After some investigations, a proxy IP and port is required from my compagny... :-( It's part of an automatic configuration script.
Sorry.

Hervé

Hi Jose-Carlos,

Did you succeed to get the information you need when your filled in your company's proxy information ?

Best regards
Hervé

Jose-Carlos

Sorry for the delay Hervé,
yes I find it Inside the proxy configuration script and it works fine.

Hervé

Great !

Happy to know you solved your issue.

Best regards
Hervé