07-01-2022 03:02 AM
Hi, on CCX 10.x I used to serve a simple finesse gadget over http. Here is the config
<tab> <id>myGadget</id> <label>My Gadget</label> <gadgets> <gadget>http://<my_host>/.../ScreenPop.xml</gadget> </gadgets> </tab>
now, on CCX 12.5.1.11002-481, I can't edit the layout that way anymore. In particular, I get:
Error Message: Scheme is not allowed: http
How can I set an http url there?
Solved! Go to Solution.
07-01-2022 07:57 AM
Yes - instead of using your own webserver you can host them on the FInesse server itself.
This is only useful for static content.
e.g. if you wanted your gadget to use Java or PHP etc. this wouldn't be work.
https://developer.cisco.com/docs/finesse/#!upload-third-party-gadgets/upload-thirdparty-gadgets
To set (or reset) the 3rdpartygadget account password, access the CLI and run the following command:
utils reset_3rdpartygadget_password
Regards,
Gerry
07-01-2022 05:16 AM
Have you tried using HTTPS instead of HTTP?
you need a cert (self signed is OK) on your webserver and you will need to install the CA cert or self signed cert on Cisco Finesse Server (and restart Cisco Finesse Tomcat).
Regards,
Gerry
07-01-2022 05:53 AM
Gu @Gerry O'Rourke, I'd like to avoid https. I'm running a web server in a private network and I wouldn't like to manage certs. Isn't there a way to load things over http as it happened in version 10.x?
07-01-2022 06:29 AM
I don't believe so.
Browsers do not support MIXED http and https any more.
i.e. when your website (finesse) is https and loads http in the background.
And Cisco Finesse no longer supports HTTP - as per below.
Cisco Finesse does not support plain HTTP but supports only secure HTTP (HTTPS). In response to clients accessing Finesse using plain HTTP, the 301 HTTP redirect is issued to the secured port 8445.
https://developer.cisco.com/docs/finesse/#!https-requests
Using Certs is not so bad.
You can just use self signed certs - and as long as you import that as a trusted site (Finesse Server - OS GUI) - it is OK.
Make sure the CN or Subject Alternative Name in the cert matches the FQDN of the Web server you are hosting the gadget.
Gerry
07-01-2022 07:02 AM - edited 07-01-2022 07:08 AM
I got your point, @Gerry O'Rourke and I really appreciate your kind help.
IMO, it is not a client-side problem. These gadgets are not loaded directly by the browser. There is a backend mechanism kicking in for loading the required files from the gadget spec (XML) and for building client-ready bundles. Probably it's an approach based on something like this: https://en.wikipedia.org/wiki/OpenSocial
One approach, as you mentioned, is using certs. Another one can be loading the gadget files on the CCX via sftp, making the bundled Tomcat serve them without any hassle.
07-01-2022 07:57 AM
Yes - instead of using your own webserver you can host them on the FInesse server itself.
This is only useful for static content.
e.g. if you wanted your gadget to use Java or PHP etc. this wouldn't be work.
https://developer.cisco.com/docs/finesse/#!upload-third-party-gadgets/upload-thirdparty-gadgets
To set (or reset) the 3rdpartygadget account password, access the CLI and run the following command:
utils reset_3rdpartygadget_password
Regards,
Gerry
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide