cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Tools: Connect to On-Premise system

Joseph_BERTHE
Active Contributor

Hello,

I try to generate an Fiori Elements application using the Application Generator. When I try to connect to my system VSCode raise me an exception :

{"message":"@sap/fiori:app generator failed - process.on(uncaughtException) Cannot read property 'edmx' of undefined","stack":"TypeError: Cannot read property 'edmx' of undefined\n\tat default_1.prompting (C:\\Users\\josep\\AppData\\Roaming\\npm\\node_modules\\@sap\\generator-fiori\\generators\\fiori-elements\\app\\index.js:1:143151)\n\tat processTicksAndRejections (internal/process/task_queues.js:93:5)"}

I think the problem comes from my URI which is https://blablabl.bou.local

The "local" extension seams to be the issue. Is there any workaround or the fix ?

More information :

IDE : VSCode v1.60.0
SAP Fiori tools - Extension Pack : v1.3.2

Regards,

Joseph

Accepted Solutions (1)

Accepted Solutions (1)

quiggs1000
Advisor
Advisor
0 Kudos

Hello Joseph,

It looks like the SSL certificate being used is not using a trusted certification authority, and by default Windows will not accept the request. Can you please see https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/4b318bede7eb4021a8be385c46... for instructions on how to help with this.

Best regards,

Ian

Answers (2)

Answers (2)

quiggs1000
Advisor
Advisor
0 Kudos

Hello Joseph,

One more thing to add - the Application generator doesn't currently support Odata URLs that are at the host of the URL. I.e. there is no path and only a domain name. We are working on this. Would it be possible for your OData service URL to include a path and not be at the root?

Thanks

Ian

Joseph_BERTHE
Active Contributor
0 Kudos

Thanks for your answer.

I have done further test regarding what you have desribed. The basis teams gave me an HTTP URL and everything goes well :

So, the problem is an HTTPS URL. When I enter a full URL with the OData path I get this error :

A connection error occurred, please ensure the target host is available on the network: "http code: UNABLE_TO_VERIFY_LEAF_SIGNATURE"

I have test with the property Proxy Strict SSL checked and unchecked in VSCode:

Is there any workaround ?

Regards,

Joseph

quiggs1000
Advisor
Advisor
0 Kudos

Hello Joseph,

Sorry to hear you are having an issue with the Application Generator. The generator should be able to accommodate .local URLs, as long as the domain name is resolvable in VSCode. Are you trying to connect to an OData URL at that address?

Could you please open a terminal in VSCode and execute:

curl https://blablabl.bou.local

If the URL is resolvable in VSCode, then it's something we need to fix in the Application Generator. In that case, could you please create an incident for us to investigate further in component "CA-UX-IDE"?

Thanks,

Ian

Joseph_BERTHE
Active Contributor
0 Kudos

In fact the CURL doesn't work because the certificate :

Regards,

Joseph