Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Service Graph Connections status is pending

Yogadaarani
Tera Contributor

The Service Graph Connections status is not changing to success; it is showing pending, and there are no logs explaining how to solve this issue.

5 REPLIES 5

misty
Tera Expert

Has anyone gotten an answer to this?  I am getting this same issue with Juniper SGC

gxtommy
Tera Contributor

My team is also experiencing this issue with the SGC for Cisco Intersight. API key ID and secret key all appear good. Connection status is pending, and we are not seeing any logs generate. I will try to update here if we find a solution.

Same issues with the Intersight SGC. Any luck @gxtommy 

@Jamesd251 We got it figured out actually. It being stuck in "pending" status basically means that the connection is failing somehow. I wish it would actually change to "Failed", but for some reason it doesn't. 

ServiceNow support suggested we look at the App Logs (syslog_app_scope) to find out what the issue with the connection was. We also worked with Cisco support looking at these logs, and they determined our API Key was not working - we had "Not a valid PEM pre boundary" errors showing. 

After revisiting the API key, our dev did not enter the full key. They left out the "-----BEGIN EC PRIVATE KEY-----" and "-----END EC PRIVATE KEY-----" parts of the key. Once we re-entered the key with the Begin and End included, we tested the connection and it finally went to Successful.