12-14-2021 01:08 PM
We upgraded to 12.5 UCCE earlier this year. On previous versions, I have not had any issue creating CUIC based gadgets and adding them to Finesse prior to 12.5. I have created a new gadget, to the same design as previous gadgets and I haven't been able to get it to function. Report built in CUIC, like other gadgets. Same permissions and etc, HTML based view.
Gadget File:
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs
title="Daily SL" height="300">
</ModulePrefs>
<Content type="url" href="https://FQDN:8444/cuicui/permalink/?viewId=9FF64F261000017D0003C0600A94F07A&linkType=htmlType&viewType=Grid&refreshRate=1800" />
</Module>
Finesse Layout Entry:
<gadget >https://FQDN/3rdpartygadget/files/PACDailySL.xml</gadget>
Uploaded to the same dir as the functional gadgets. Restarted TomCat.
I can access the URL from a new browser tab (no cached CUIC logins), it loads correctly:
https://FQDN:8444/cuicui/permalink/?viewId=9FF64F261000017D0003C0600A94F07A&linkType=htmlType&viewType=Grid&refreshRate=1800
When using Chrome or Firefox, I get the following errors:
Chrome: Sad Face "FQDN refused to connect"
FireFox: Requests to open in new window, uses this URL:
I have rebuilt the report numerous times, and even tried using other reports but no luck. Any help or guidance would be greatly appreciated!
I did notice a difference in the URL on a previously made gadget but I changed the new gadget URL to match and it did not function.
Old Gadget:
Environment:
CUIC 12.5
UCCE/ICM 12.5
Finesse 12.5 ES07
12-14-2021 05:20 PM
Hi, so the new gadget doesn't work, but you have other gadgets, also built in the 12.5 system, that do work?
Or the only gadgets that work are the ones you built previously?
12-14-2021 05:47 PM
Hi Bill,
That is correct, this is the first gadget I've had to make and upload since we upgraded to 12.5 earlier this year. All the previous gadgets are working without issue, to the best of my knowledge.
12-15-2021 12:45 PM
This may be a dumb question, but could you use the permalink for the report/gauge without doing it via a gadget but instead just call the permalink from the layout in Finesse?
01-26-2022 05:43 AM
Were you able to resolve this? I have the exact same issues with Chrome and Firefox. The permalink opens just fine by itself, but when you embed the <gadget>insert-the-permalink-here</gadget> within the Finesse Desktop XML, the "refused to connect" error comes up. One note I'll make is that this is on UCCX 12.5, not UCCE. When I do this back on 11.6, no issues. I've tried using the persistent logging and looking at the Finesse locallog details, but nothing in there is helpful at all. I thought perhaps it was something certificate related, but I have everything (servers and agents) trusting the root CA that signed the Tomcat certs.
01-26-2022 05:53 AM
Hi kdamisch,
Unfortunately, I have not found a resolution for this. It's been pushed to the backburner for now, but if/when I am to resolve it, I'll update this thread.
01-26-2022 06:28 AM
Just guessing here could it be a CORS related issue? Have either of you opened a TAC case?
david
02-14-2022 12:08 PM
I've added both servers on both ports 8444 and 8445 in the utils finesse frame_access_allowed_list and allowed all origins with utils finesse cors enable_all and rebooted both servers. Looking at the F12 developer tools console in Chrome, I see this:
Refused to display 'https://uccxpub.domain.local:8444/' in a frame because it set 'X-Frame-Options' to 'sameorigin'
Should Finesse (port 8445) be able to show a CUIC report (port 8444) within the Finesse Desktop? Am I missing some CLI command to allow CUIC dashboards/reports to be shown in Finesse?
04-19-2022 06:23 PM
Hi @kdamisch ,
Have you fixed this issue? is so how?
I am facing the same issue in UCCE. Looks like the origin server does not authorize us to show the content inside an iframe.
Thanks
04-20-2022 05:50 AM
I see the same errors, and have tried the same CLI additions. I have a TAC case open but they haven't made any progress. The 11.5 gadgets are working without issue. Totally baffled by this.
06-03-2022 07:55 AM
So, my 12.5 gadget is working without issue, and I even added a new one today. There have been no system or environment changes, patches, or upgrades. It just works now, on Firefox, Chrome, and Edge. I have no idea why.
06-03-2022 09:53 AM
So it wasn't working with all browsers and then all of a sudden it is working with all browsers, and no changes? That is very strange. Is it possible that the underlying infrastructure wasn't patched but even rebooted/services cycled?
06-03-2022 10:58 AM
The only reboot was our Finesse A server, but even then we tested the gadget on our A and B server and it didn't work.
¯\_(ツ)_/¯
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