Open X261959 opened 1 year ago
Hello @X261959 ! If I understand your question correctly, it looks the same as https://github.com/reportportal/kubernetes/issues/116. We've made a fix to the UI service to work correctly not under the root path, you can refer https://github.com/reportportal/service-ui/pull/3321 for details to make your own fix. It is planned to be released in 2023Q2-Q3.
Please let us know if this helps.
Hi @AmsterGet Unfortunately that didn't worked for us. Still seeing server redirect error for our api-calls. I have attached screenshot here for your reference. please let us know if you need any further information over it from our end.
Hi @AmsterGet We haven't heard back from you ? Could you please suggest something here over this.
@X261959 What is your service-index
version? You should use the latest one and provide RESOURCE_PATH
variable to it. Basically all the necessary variables are listed in this PR: https://github.com/reportportal/kubernetes/pull/281
@HardNorth I ain't sure how much this will be of help to us at this point, as we are facing issues with our routes in open-shift. Could you please suggest something from routes perspective ?
@X261959 I don't have working OpenShift example right now, so I can't suggest here anything, sorry.
Hello ReportPortal team, We are currently working on spinning up an RP portal instance in our environment in OpenShift.
The key difference between our setup and the default Ingress way is that we have an NGINX proxy server in front of our cluster. The location in the NGINX server dedicated to the RP instance is /rpportal, which proxies all the requests to OS Routes. Due to this /ureport location, all the routes in the frontend app should also have a /rpportal prefix.
We tried to define a "homepage" property in the package.json file, and manually specify this prefix in the routes inside of the /app/src/routes/routesMap.js file. Unfortunately it did not work - we keep getting HTTP codes 302 and 307 when we access the UI.
Can you let us know of the correct procedure to define a url prefix in the code?