Open elisabettai opened 5 months ago
@GitHK or @odeimaiz, do you have an idea on why that can happen? It was working before (at least when I created the service and template, Oct. 2023)
For me it sometimes works and sometimes it does not work. It might be related to the issues OM is trying to fix. But I am not sure.
When pressing the refresh button it loads.
I am also getting the same blank page on Firefox when I try to access sarvalidation.site. It works if I reload/refresh, fyi @odeimaiz, also the e2e publications is mainly red.
Browser console shows again 502 Bad Gateway
when trying to GET gttps://service_uuid.services.osparc.io/
.
Very reproducible for me on Firefox
I confirm the blank template... In addition, the reload/refresh only works to fix sarvalidation.site if the user is logged in. Otherwise you get the osparc login page instead of the template when you reload.
I confirm the blank template... In addition, the reload/refresh only works to fix sarvalidation.site if the user is logged in. Otherwise you get the osparc login page instead of the template when you reload.
In the publication case, there is a reload button, but not for the sarvalidation.site
@GitHK @elisabettai @SCA-ZMT
It's similar to what happens with the Loading page that says starting/ready, the backend is ready, but the frontend is not shown.
As described in https://github.com/ITISFoundation/osparc-simcore/pull/5963, the frontend polls the state of the dynamic service and when this says Ready (which is the container's status), the frontend still needs to make sure the url is reachable, because some traefik rules in the backend need to be added and these might not be there yet. In this "ping" call from the frontend to the dynamic service's content, the backend responds with a 502 or a 302... or whatever the server behind the app says, but if it's not a successful response (200-299), the website might not be displayed. It depends on the browser...
We might need to change this logic...
Long Story Short This public template shows a blank page: https://osparc.io/study/9641ba42-c4db-11ed-b8b9-02420a0b5f22 Edit: also sarvalidation.site Please note that these are public links in scientific publications
Expected Behavior The template shows the voila-based UI
Steps to reproduce 1, Open Firefox
If you click on "Reload" to reload the iframe of refresh the browser tab, the correct UI is displayed
Environment Reproducible at the first try with Firefox and Chrome
Additional context In my browser log, I see this call gets a
502 Bad Gateway
response 3 timesGET https://_service-uuid_.services.osparc.io/
And Server isCaddy