cancel
Showing results for 
Search instead for 
Did you mean: 

Error: FioriClient - SMP 3.0

diego_a
Participant
0 Kudos

Hi,

Design: FioriClient(VPN Android)<-->SMP<-->GW.

Error: emulator Android FioriClient "android-armv7-debug.apk"

What is the error "Unfortunately, App * Name * you stopped" android emulator?

Error: SMP .

In fiori client I install apk on android 5.1 phone with load successfully. Only I have the problem that does not load the launchpad.html the GW server in SMP monitor indicates error "fe1d72d0e801 # FioriLaunchpad # DirectProxy: ######## fireRequest 1265 ### Error occurred while forwarding the request to Gateway The target server failed to respond # "

Regards

Diego

Accepted Solutions (1)

Accepted Solutions (1)

diego_a
Participant
0 Kudos

Hi,

The error "" Error occurred while forwarding the request to Gateway "" delete it by placing in the https launchpad SMP Gateway

Android app Fiori Client is blank, display the following things

SMP_CACHE_MANAGER ERROR , What is it ?

You Can Gateway Server error?

I use SMP3SDKInstaller_3_11_01_win.zip "SAP Mobile Platform SDK SP11 PL01 Win Installer"

Monitor chrome://inspect

Error status 404.

GET http://Serversmp:Port/sap/bc/ui5_ui5/ui2/ushell/resources/sap/ushell_abap/bootstrap/abap.js (anonymous function) @ FioriLaunchpad.html:213(anonymous function) @ FioriLaunchpad.html:214

FioriLaunchpad.html:213 GET http://Serversmp:Port/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-0.js (anonymous function) @ FioriLaunchpad.html:213(anonymous function) @ FioriLaunchpad.html:214

FioriLaunchpad.html:213 GET http://Serversmp:Port/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-2.js (anonymous function) @ FioriLaunchpad.html:213(anonymous function) @ FioriLaunchpad.html:214

FioriLaunchpad.html:213 GET http://Serversmp:Port/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-3.js (anonymous function) @ FioriLaunchpad.html:213(anonymous function) @ FioriLaunchpad.html:214

FioriLaunchpad.html:213 GET http://Serversmp:Port/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-1.js

log FioriClient

2016-03-19 12:09:39:009-0300 SMP_CACHE_MANAGER ERROR cannot read from cachebuster list  due to: java.io.FileNotFoundException: /data/data/com.test.FioriCliente/www/cache/fiori/keb_cachebusterlist.txt: open failed: ENOENT (No such file or directory)

2016-03-19 12:09:39:009-0300 SMP_CACHE_MANAGER ERROR Cannot create file :(/data/data/com.test.FioriCliente/www/cache/fiori/sap/public/bc/ui5_ui5/sap-ui-cachebuster) due to : java.io.IOException: server returned an error : 404

2016-03-19 12:09:39:009-0300 SMP_CACHE_MANAGER ERROR Could not download the UI5 manifest file at : http://Serversmp:Port/sap/public/bc/ui5_ui5/sap-ui-cachebuster

2016-03-19 12:10:09:010-0300 SMP_CACHE_MANAGER ERROR cannot read from cachebuster list  due to: java.io.FileNotFoundException: /data/data/com.test.FioriCliente/www/cache/fiori/keb_cachebusterlist.txt: open failed: ENOENT (No such file or directory)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR java.io.FileNotFoundException: www/plugins/kapsel-plugin-fioriclient/www/messages_13.properties

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR android.content.res.AssetManager.openAsset(Native Method)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR android.content.res.AssetManager.open(AssetManager.java:313)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR android.content.res.AssetManager.open(AssetManager.java:287)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR com.sap.mp.cordova.plugins.i18n.I18N.readPropertiesFile(I18N.java:70)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR com.sap.mp.cordova.plugins.i18n.I18N.execute(I18N.java:41)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:97)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR org.apache.cordova.PluginManager.exec(PluginManager.java:132)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR org.crosswalk.engine.XWalkExposedJsApi.exec(XWalkExposedJsApi.java:40)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR android.os.Handler.dispatchMessage(Handler.java:102)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR android.os.Looper.loop(Looper.java:135)

2016-03-19 12:10:09:010-0300 SMP_I18N ERROR android.os.HandlerThread.run(HandlerThread.java:61)

2016-03-19 12:10:09:010-0300 SMP_CACHE_MANAGER ERROR Cannot create file :(/data/data/com.test.FioriCliente/www/cache/fiori/sap/public/bc/ui5_ui5/sap-ui-cachebuster) due to : java.io.IOException: server returned an error : 404

2016-03-19 12:10:09:010-0300 SMP_CACHE_MANAGER ERROR Could not download the UI5 manifest file at : http://Serversmp:Port/sap/public/bc/ui5_ui5/sap-ui-cachebuster

2016-03-19 12:10:10:010-0300 com.sap.mp.fioriclient ERROR Not handled FioriClient method: isLaunchpadTimerRunning

Regards

Diego

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Diego,

I see the 404 which means its not able to reach the Fiori Launch pad.

Few checks:

1. I also see Android VPN, please check if you are able to open the Fiori Launchpad with Android VPN without the fiori client.

2. Please confirm if you are able to Ping the Application configurations from SMP.

3. What is the authentication mechanism used, Basic / HTTP logins?

4. Is it a standard client or custom client?

If you need additional details on configurations, you can find some help at the following link:

http://help.sap.com/saphelp_smp3011sdkmfadev/helpdata/en/ba/6183288b1d4a739366ac4ea2987e03/content.h...

Regards,

Nagesh

diego_a
Participant
0 Kudos

Hi Nagesh,

1-I also see Android VPN, please check if you are able to open the Fiori Launchpad with Android VPN without the fiori client.

No Fiori Client runs on android, also it works in Fiori Client without the use of SMP

2. Please confirm if you are reliable to Ping the Application configurations from "SMP".

  Fiori Client without the use of SMP "fioriURL" "" "fioriURLIsSMP": false in appConfig.js works GW URL

3. What is the authentication mechanism used, Basic / HTTP logins?

HTTPS is being used for SMP configuration GW

4. Is it a standard or custom client client?

It is custom

What is displayed in the debugger as you want to load the launchpad but the device screen goes blank,in the debugger you can see the same code that FioriLaunchpad.html

Error:

GET http://wixppptest.systems01.services:8080/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-0.j... (anonymous function) @ ?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:213(anonymous function) @ ?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:214

?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:213 GET http://wixppptest.systems01.services:8080/sap/bc/ui5_ui5/ui2/ushell/resources/sap/ushell_abap/bootst... (anonymous function) @ ?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:213(anonymous function) @ ?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:214

?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:213 GET http://wixppptest.systems01.services:8080/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-3.j... (anonymous function) @ ?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:213(anonymous function) @ ?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:214

?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:213 GET http://wixppptest.systems01.services:8080/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-2.j... (anonymous function) @ ?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:213(anonymous function) @ ?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:214

?smphomebuster=5268459601793438&sap-client=100&sap-language=EN:213 GET http://wixppptest.systems01.services:8080/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-1.j... 404 (Not Found)

Regards,

Diego

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Diego,

I am trying to test with a standard client and I see similar issue and a blank page.

Looping in who can help.

Regards,

Nagesh

Kevin_SAP
Advisor
Advisor
0 Kudos

Check your SMP server configuration and make sure Rewrite URL is in backend.  Also make sure you are using enterprise signed certificates in SMP listener as the included self-signed certificates won't work.  Usually when I see a blank page on Fiori CLient when going through SMP it's because SMP can't reach the backend or backend certificate certificates are missing from SMP keystore. 

What URL do you have configured in SMP and what URL do you have configured in Client?

Regards,

Kevin Bates

diego_a
Participant
0 Kudos

hi Kevin,

URL SMP https://hostGW:44310/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html

As the framework in Box JS are empty, there is a certificate GW both cellular and SMP, SMP certificate also in the GW was added.

Config:

Regards,

Diego

Kevin_SAP
Advisor
Advisor
0 Kudos

Your SMP URL is incorrect.  Check out http://scn.sap.com/docs/DOC-65395#smpproxy

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks Kevin. I had a similar issue and its fixed now.

Diego,

Here is what I used:

I used this URL on client

https://SMPHOST:8081/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?appid=APPID&fioriURLi...

Used only  https://GW:8001/ App settings endpoint configurations with Basic SSO.

Regards,

Nagesh

Kevin_SAP
Advisor
Advisor
0 Kudos

Nagesh,

Thanks for the feedback.  Diego, please give it a try and mark question as answered if it resolves it.

Regards,

Kevin

diego_a
Participant
0 Kudos

Hi Nagesh

Error to save

Kevin_SAP
Advisor
Advisor
0 Kudos

Did you fill out Security tab?

Regards,

Kevin

diego_a
Participant
0 Kudos

Hi Kevin

Here you step like this settings

Security:

Regards,

Diego

Former Member
0 Kudos

Is cachebuster activated on gateway?  /sap/bc/ui2/flp from sicf

Former Member
0 Kudos

It looks like the standard FioriLaunchpad URL.   Is that url actually able to address http(s) authentication?

When you enter the url in a browser

1.  do you see the Fiori flower?  If so then no.

2.  If you get a standard browser authentication pop-up, then yes.

Former Member
0 Kudos

your url is still incorrect try https://<servername>/sap/ 

(not 100% on the trailing slash)

Former Member
0 Kudos

It could basically be one of 3 isssues:

1. Certificate trust and/or SSL encryption algorithm mismatch (both servers  between SMP, Gateway and/or Provider. (Check OSS for notes that address the ssl portion).   If it is Cert issue, use openssl to narrow the issue.

2. Back-end url,  please check the ping on smp server as nageesh suggested.  also check if you are getting 404 on gateway smicm.  (if so, activate any inactive services)

3.  Cachebuster is not activated.

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Diego,

Use the following details:

Authentication Tab:

Fiori Client URL:

https://SMPSERVER:8081/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?appid=APPIDi&fioriU...

Note "Client HTTP Values to Send and & Send Client HTTP Values As" may not be required in your case. Try it without them, in case of issue add the values and try.

I would recommend to try with Standard Fiori Client first and then switch to Custom App.

It should work. In case your SMP Server certificates Internal CA Signed, install the RootCA and SMP Server certificates. This may not be required in all cases.

Regards,

Nagesh

diego_a
Participant
0 Kudos

Hi Nagesh

It was solved, the secret is knowing how to properly select the authentication.

thank you all for your contributions

Detail of the solution

1. Select the authentication

If the authentication for http / https is selected, first the ping service ECC is active, then the corresponding table entry url. The problem was here

2. on the back end is income the URL https: // GW: port / sap selecting Rewrite URL in Backend System

3. appConfig.js file in full "appID": "FioriLaunchpadhttps"

           "FioriURL": "https: // smp: 8081 / sap / bc / ui5_ui5 / UI2 / ushell / shells / ABAP / FioriLaunchpad.html"

         "FioriURLIsSMP": true,

4. error: Backend system can not be Reached ::: ::: Root cause Exception During execute connection: peer not authenticated, SMP solution import certificate GW

Regards,

Diego

Kevin_SAP
Advisor
Advisor
0 Kudos

That's great Diego.  It does indicate you need to import the certificate in that link I sent:

"Notice that the endpoint uses HTTPS, the certificate that the endpoint server uses was signed by SAPNetCA_G2.  This certificate and its the cert that signed it (SAP Global Root CA) need to be installed in the SMP 3.0 server's keystore."

Can you please mark this question as answered.

Regards,

Kevin

Answers (1)

Answers (1)

diego_a
Participant
0 Kudos

Hi,

More information with Debugging on Android chrome://inspect

Regards

Diego

Former Member
0 Kudos

address that content security error issue using allow-navigation tags in your config.xml or for ios ATS

diego_a
Participant
0 Kudos

in the config.xml file is everything allowed