Hello I am receiving similar errors. I created a Custom UI Forge App, which launches a Modal window when clicking a link. These are the errors I am receiving when Modal window is launched:
Failed to load resource: the server responded with a status of 500 (OK)
localhost:8002/:1
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
But that only happens when a Modal window is launched and it tries to display the information on that Modal, that happens only when I do Tunneling
Once the application is deployed the Modal window is displayed correctly:
This is how the Manifest file looks for the resources:
resources:
- key: main
path: static/custom-reports/build
tunnel:
port: 3000
- key: proj-filt
path: static/project-filter/build
tunnel:
port: 3001
The proj-filt result is the one containing the Tab, Select and Buttons.
I started both resources or react Apps using npm run start. Seems that both servers start but on the one with port 3000 I see this error:
But nothing in the one with port 3001:
When I run the Forge Tunnel command and go to the App they seems to respond correctly:
Received proxy request. Serving file index.html for resource main from specified address http://localhost:3000
Received proxy request. Serving file index.html for resource proj-filt from specified address http://localhost:3001
If I do changes on code related to the main resource (port 3000), the changes are reflected immediately once I save the file, but for changes on the proj-filt resource they are not loaded/reflected. when the file with changes is saved and when I click the link to open the Modal window, it only spins and nothing is show, only the first to errors:
Failed to load resource: the server responded with a status of 500 (OK)
localhost:8002/:1
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
Another thing I don’t understand is why it makes reference to localhost:8002/:1 instead of localhost:3001.
Please advice.
Thanks,
Edgar