Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oCIS 6.3 - Access Token Expired - "Resource not found" #10038

Closed
dj4oC opened this issue Sep 12, 2024 · 8 comments · Fixed by owncloud/web#11584
Closed

oCIS 6.3 - Access Token Expired - "Resource not found" #10038

dj4oC opened this issue Sep 12, 2024 · 8 comments · Fixed by owncloud/web#11584
Labels

Comments

@dj4oC
Copy link
Contributor

dj4oC commented Sep 12, 2024

Describe the bug

when I wait long enough until my access token is expired, I see an message: "Resource not found. We went looking everywhere, but were unable to find the selected resource." This message is missleading, especially since the developer console actually shows the correct message "access token expired".

Steps to reproduce

  1. Login and open on office document
  2. Wait until access token is expired
  3. try to open a space

Expected behavior

show a message: your access token is expired, would you like to login again?

Actual behavior

Empty file listing with message: Resource not found. We went looking everywhere, but were unable to find the selected resource.

Setup

oCIS 6.4 with Keycloak

@micbar
Copy link
Contributor

micbar commented Sep 12, 2024

@kulmann @JammingBen any ideas?

@micbar
Copy link
Contributor

micbar commented Sep 12, 2024

@dj4oC are you using ocis_keycloak docker compose?

because it could also be a missing csp config.

@micbar
Copy link
Contributor

micbar commented Sep 12, 2024

6.4 must be wrong @dj4oC
You reported that before 6.4.0 has been released.

@kulmann
Copy link
Member

kulmann commented Sep 12, 2024

@dj4oC can you share details on how you achieved 2. Wait until access token is expired? By closing your notebook lid and waiting more than 5 minutes? Or does the token renewal not work?

@dj4oC
Copy link
Contributor Author

dj4oC commented Sep 12, 2024

my mistake. it is 6.3. our internal dog fooding installation

There was a night in between so it was more then 5 min.
I have zero idea what's happening if i say good night to my macbook

@JammingBen
Copy link
Contributor

I assume this is owncloud/web#11478, which was supposed to be fixed. I'll re-open the issue, IMO we can close here then.

The issue has been around for a bit, nothing we broke with the recent versions 6.3 oder 6.4.

@micbar
Copy link
Contributor

micbar commented Sep 12, 2024

I have no token renewal issues when the browser tab is open.

@JammingBen
Copy link
Contributor

I have no token renewal issues when the browser tab is open.

The issue occurs when the token can't be renewed for some reason (e.g. when your computer goes into standby and is therefore not able to perform a renewal).

@micbar micbar changed the title oCIS 6.4 - Access Token Expired - "Resource not found" oCIS 6.3 - Access Token Expired - "Resource not found" Sep 12, 2024
@github-project-automation github-project-automation bot moved this from Qualification to Done in Infinite Scale Team Board Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants