-
Notifications
You must be signed in to change notification settings - Fork 130
Endpoint disconnect ("We've been having trouble communicating with Cloud Foundry") #2579
Comments
This sounds like a bug. We should show an 'Are you there?' prompt which if left should automatically log the user out. Does this not show at all? When you see this behaviour are you on an application page or another part of Stratos? |
JFYI: Now, the same error occured while I was constantly using the UI, so it's maybe not related to a default session timeout. |
Phew, ok. Are there any interesting statements in the browser's console? We'll show the error bar if a request to a specific CF fails. There should be more information in the request's response. Note - Requests can go out to multiple CF's, so the response for a specific CF response will be nested under it's guid. |
There's one 401 for "verify", which is when the URL is given the first time, then one is redirected to the login page. "WebSocket connection to 'wss://10.160.67.203.xip.io:8443/pp/v1/0bfc15ad-6595-43c1-9676-700fb5c02ec0/firehose' failed: HTTP Authentication failed; no valid credentials available" for "main". But that happens just when I try to access "CloudFoundry"->"Firehose". Beside that there are only dozens of messages, saying "[Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952" which don't seem related. |
Logs from the proxy container, when error appears:
|
Some more detail from @svollath
|
Like mentioned in a comment before already the relation to session timeouts was wrong. I reproduced it with 2.0.0-rc2 as well, and even when it's disconnected, the session will time out and redirect as expected. So the issue is about loosing communication to cloud foundry under UI usage - the proxy container logs "Couldn't refresh token for CNSI". |
Frontent Deployment type
Backend (portal-proxy) Deployment type
Stratos 2.0.0-rc1 with pre SCF-2.11.0-rc1 on CaaSPv3-GM
Expected behaviour
The UI should either keep the session active until the user logs out, or redirect to the login page after a default session timeout.
Actual behaviour
When the UI isn't touched for a while the following error will be shown:
"We've been having trouble communicating with Cloud Foundry - You may be seeing out-of-date information"
Steps to reproduce the behavior
Log in to Stratos as admin, and leave the browser window open (idle) for a while (~10 min.). Then try to reuse the UI.
Log output covering before error and any error statements
When I "Logout" and "Login" it works again, but will also loose communication after a while again.
Looks like the session times out by default, but the user isn't redirected to the login page. Instead the error message is shown.
The text was updated successfully, but these errors were encountered: