cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
923
Views
0
Helpful
3
Replies

UCCX Finesse - 3rd party gadget on 'makeRequest' step to a URL fails with HTTP status 500

bhusures
Cisco Employee
Cisco Employee

Configuration: 

++ A 3rd party gadget is configured on Finesse layout  'Auth.xml' [attached in below zip file] 

 

## Finesse layout 

"<gadget>/3rdpartygadget/files/testgadget/Auth.xml?nocache=1&waitPeriod=16000&loopInterval=8000&token=abc</gadget>"

 

++ The 'Auth.xml' file calls the 'Auth.js' [attached in below zip file]

++ The 'Auth.js' file uses the 'gadgets.io.makeRequest' to fetch a JSON file from 'https://www.alphavantage.co'

 

Issue

++ The 'makeRequest' step fails while trying to reach the URL to get the json file with the error response "HTTP Status 500 - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated" 

 

++ Collected the HAR files and attached it here 

 

++ No certs are in play in this scenario  

 

Question

++ Is there anything else on the UCCX system that needs to be configured or checked to make such a call outside of the customer network? 

 

++ Test the gadget in the lab but the request fails with the 'Timeout' error message which is expected 

 

Any pointers here would be greatly appreciated! 

3 Replies 3

dekwan
Cisco Employee
Cisco Employee

Hi,

 

In a custom gadget, the makeRequest are made from the client that is logged into the desktop. Make sure the client has access to that API.

 

The API you are using is https and the exception you are getting points to a SSL issue. So, did you exchange certs with the UCCX server? What do you mean when you say "no certs are in play in this scenario"? Another possibility is that your certs are expired.

 

Thanx,

Denise

Hi Denise, 

 

Thanks for your quick reply. 

 

To correct my previous statement, The cert from ‘alphavantage.co' [where the makerequest is making a call to] has not been added to the UCCX trust store.

 

 

Hi,

 

Have you tried to add the cert from alphaavantage.co to the trust store? Like I said earlier, the error seems to be SSL related so it is probably something to do with the certs.

 

Thanx,

Denise