Dockerized project fiori-tools-proxy sandbox, sap-ui-core 404
szebenyib opened this issue · 1 comments
Expected Behavior
The dockerized app should work just like without the container
Current Behavior
Upon executing npm run start (with --accept-remote-connections) the flpSandbox.html loads but sandbox.js and sap-ui-core.js (at the second time) will return 404.
The middleware shows that these resources were requested.
Steps to Reproduce the Issue
docker run -p 8080:8080 -p 35729:35729 -v "$PWD":/src/app --rm --name foo foo dumb-init npm run start
ui5.yaml
... server: customMiddleware: - name: fiori-tools-proxy afterMiddleware: compression configuration: ignoreCertError: false # If set to true, certificate errors will be ignored. E.g. self-signed certificates will be accepted ui5: path: - /resources - /test-resources url: https://ui5.sap.com ...
Context
- UI5 Module Version (output of
ui5 --version
when using the CLI):unknown
- Node.js Version:
unknown
- npm Version:
unknown
- OS/Platform:
unknown
- Browser (if relevant):
unknown
- Other information regarding your environment (optional):
nothing
Log Output / Stack Trace
`
...
Please Note:
- This server is intended for development purposes only. Do not use it in production.
- Vulnerable (custom-)middleware can pose a threat to your system when exposed to the network
- The use of proxy-middleware with preconfigured credentials might enable unauthorized access to a target system for third parties on your network
Server started
URL: http://localhost:8080
info ui5-proxy-middleware /1.108/test-resources/sap/ushell/bootstrap/sandbox.js
info ui5-proxy-middleware /1.108/resources/sap-ui-core.js`
Is there a port to be opened? How does exactly this middleware works that causes this. Inside the container I can ping ui5.sap.com
Hi and thanks for reaching out!
Apparently, the fiori-tools-proxy
, part of the
@sap/ux-ui5-tooling
package is not part of the UI5 Tooling project (our packages all start with @ui5/*
). It is rather part of the SAP Fiori tools project.
You can get in touch with the SAP Fiori tools team via the SAP Community Website: https://community.sap.com/topics/fiori-tools
You can also find related documentation and support channels here: https://help.sap.com/viewer/product/SAP_FIORI_tools/Latest/en-US
I'll close this issue as it is not related to this project.