cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 Theme Designer "Preview cannot be accessed"

Former Member
0 Kudos

Hello,

I got problem with UI5 Theme Designer. When I'm trying to create a new style based on default styles, after step where I must enter app url and name popup appears with info "Preview cannot be accessed". I have implemented notes, activated services in SICF and user has necessary authorizations. That popup shows only on IE, on Chrome/Firefox it just freezes, I am not able to click anything. Any ideas?

Best Regards

Mateusz

Tags edited by: Michael Appleby

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Mateusz,

Please try this.

1. First, open the test app.

2. Second, open the Theme Designer in the another tab in the same browser

3. Copy and paste the test app URL to preview in the Theme Designer

Make sure both Theme Designer and test ass opened as same protocol. (https or http)

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

When I connected to theme designer through http I got another error: "Theme repository could not be read!".

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Does it work with https?

Former Member
0 Kudos

As I mentioned: When I am connecting through https it says "Preview cannot be accessed" and when I'm trying to connect through http it says "Theme repository could not be read"

Former Member
0 Kudos

So the initial problem is solved, you shouldn't mix protocols as Masayuki wrote. If UI Theme Designer is accessed with HTTP, the application should be accessed with HTTP as well.

Where is the application hosted that you are trying to theme? On a non-SAP system? On a SAP system with no UI Add-On? On a SAP system with a different release?

Former Member
0 Kudos

Everything is on the same system

Former Member
0 Kudos

What application is it? WDA, SAPUI5, ...? Are you by any chance using a reverse proxy to access AS ABAP? Check SAP note 1901147 for details. You never shared the details on what AS ABAP version you are using nor the SP level of your UI Add-On and what SAP notes have been applied. UI Add-On 1.0 SP6 was just released, maybe you want to check it out.

http://service.sap.com/sap/support/notes/1901147

Former Member
0 Kudos

SAP note 1906793 has been updated to include the information of not mixing protocols in UI Theme Designer.

Former Member
0 Kudos

It is an SAPUI5 application. I am not using reverse proxy and I have implemented all notes from 1852401 as it was mentioned in 1906793

After a while I noticed that theme manager started working via https. Thank You for Your help!

Answers (1)

Answers (1)

Former Member
0 Kudos

What is the link to the application? Can you access the link if you copy & paste it in a separate browser? Use Fiddler to find out what is happening when previewing is attempted. I'm tagging and to get the attention of the UI Theme Designer team.

Former Member
0 Kudos

I was actually able to reproduce this myself. If you input a URL which can't be accessed (firewall, incorrect port, etc) that is the error you will get. Are you by any chance using HTTPS with a self-signed/non-trusted/invalid certificate?

Former Member
0 Kudos

Hi Samuli,

Already checked it and I don't think it is a issue