OpenID token expiry causing unexpected logouts
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 274
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 103
Description
Howdy all. In an attempt to troubleshoot the issues I've been having with my oCIS install (#8368), I decided to do the following:
1. Deploy fresh Ubuntu Server 22.04.3 inside a vmware container
2. Install docker
3. Follow instructions to deploy oCIS with WOPI server:
- clone from source
- edit default .env with correct domains for each container
- docker-compose up -d
4. Because vmware is using NAT, set up apache to proxypass from host:
```
ServerName ocis.server.com
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L,QSA]
ServerName ocis.server.com
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPass / https://172.16.143.128/
ProxyPassReverse / https://172.16.143.128/
ProxyPreserveHost on
SSLCertificateFile /opt/local/etc/letsencrypt/live/ocis.server.com/fullchain.pem
SSLCertificateKeyFile /opt/local/etc/letsencrypt/live/ocis.server.com/privkey.pem
Include /opt/local/etc/letsencrypt/options-ssl-apache.conf
#SSLOpenSSLConfCmd DHParameters /opt/local/etc/letsencrypt/ssl-dhparams.pem
ErrorLog "/opt/local/var/log/apache2/ocis_error_log"
CustomLog "/opt/local/var/log/apache2/ocis_access_log" vcommon
```
5. Login with admin/admin and attempt upload
After a few minutes of file transfer, the user is logged out. Logs show an expired token error:
```
{"level":"error","service":"proxy","error":"failed to verify access token: token is expired by 9m2.003047693s","authenticator":"oidc","path":"/ocs/v1.php/cloud/user","time":"2024-02-06T06:34:51Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/oidc_auth.go:185","message":"failed to authenticate the request"}
{"level":"error","service":"proxy","error":"failed to verify access token: token is expired by 8.319472091s","authenticator":"oidc","path":"/remote.php/dav/spaces/f4ac1392-5351-4ffd-9f96-b60859def5bf$dc61ec4d-1bc4-4798-a364-446671e3ed08/Sho Yamaoka","time":"2024-02-06T06:44:54Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/oidc_auth.go:185","message":"failed to authenticate the request"}
{"level":"error","service":"storage-users","pkg":"rhttp","traceid":"633dacc0a0f50fdf22985c17cf323734","host":"127.0.0.1","method":"PATCH","uri":"/data/tus/3867c931-7b11-4af8-8a58-45392992f321","url":"/3867c931-7b11-4af8-8a58-45392992f321","proto":"HTTP/1.1","status":500,"size":15,"start":"06/Feb/2024:06:45:01 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":1037868126,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"e1713a0f7304905f4322cdf13050f0ad","request-id":"2069812a-4dcb-49da-853d-2f948cf5477c","error":"Patch \"http://localhost:9158/data/tus/3867c931-7b11-4af8-8a58-45392992f321\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/datagateway/datagateway.go:390","message":"error doing PATCH request to data service"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"e1713a0f7304905f4322cdf13050f0ad","host":"127.0.0.1","method":"PATCH","uri":"/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTExLCJpYXQiOjE3MDcyMDE3MTEsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy8zODY3YzkzMS03YjExLTRhZjgtOGE1OC00NTM5Mjk5MmYzMjEifQ.HSUNmv0LYf_JbpeQaNnDJvktaTUpR1gYSZSKLYwtZoI","url":"/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTExLCJpYXQiOjE3MDcyMDE3MTEsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy8zODY3YzkzMS03YjExLTRhZjgtOGE1OC00NTM5Mjk5MmYzMjEifQ.HSUNmv0LYf_JbpeQaNnDJvktaTUpR1gYSZSKLYwtZoI","proto":"HTTP/1.1","status":500,"size":0,"start":"06/Feb/2024:06:45:01 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":1039678716,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"ocdav","name":"com.owncloud.web.ocdav","traceid":"977a5f4bd9556778b5fe1437606a652a","request-id":"5504c9e2-3b99-4f76-8630-cf9bfeb3a4ee","spaceid":"f4ac1392-5351-4ffd-9f96-b60859def5bf$dc61ec4d-1bc4-4798-a364-446671e3ed08","path":"/Sho Yamaoka","error":"Patch \"https://ocis.server.com/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MjcwLCJpYXQiOjE3MDcyMDE4NzAsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy84NTcyMDA2Ny00NGQyLTRkYjAtOGY3Mi02M2JmNDAwZTUzMmMifQ.rCyPnIPJqqqloe6Xa-gJuSrU4K8N9LccEcYY8D3Pi08\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/owncloud/ocdav/tus.go:304","message":"error doing PATCH request to data gateway"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"a59b07ad87a4df0592f130bc6d7fc53e","request-id":"bfcc1552285e/alEuvWxDXU-002811","error":"Patch \"http://localhost:9158/data/tus/85720067-44d2-4db0-8f72-63bf400e532c\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/datagateway/datagateway.go:390","message":"error doing PATCH request to data service"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"a59b07ad87a4df0592f130bc6d7fc53e","host":"127.0.0.1","method":"PATCH","uri":"/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MjcwLCJpYXQiOjE3MDcyMDE4NzAsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy84NTcyMDA2Ny00NGQyLTRkYjAtOGY3Mi02M2JmNDAwZTUzMmMifQ.rCyPnIPJqqqloe6Xa-gJuSrU4K8N9LccEcYY8D3Pi08","url":"/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MjcwLCJpYXQiOjE3MDcyMDE4NzAsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy84NTcyMDA2Ny00NGQyLTRkYjAtOGY3Mi02M2JmNDAwZTUzMmMifQ.rCyPnIPJqqqloe6Xa-gJuSrU4K8N9LccEcYY8D3Pi08","proto":"HTTP/1.1","status":500,"size":0,"start":"06/Feb/2024:06:44:30 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":31701511619,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"storage-users","pkg":"rhttp","traceid":"9eef087b3b2490003491e3585decaf47","host":"127.0.0.1","method":"PATCH","uri":"/data/tus/85720067-44d2-4db0-8f72-63bf400e532c","url":"/85720067-44d2-4db0-8f72-63bf400e532c","proto":"HTTP/1.1","status":500,"size":15,"start":"06/Feb/2024:06:44:30 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":31701023866,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"39ca6baf91268cad626cde86f116e5e2","request-id":"ecccb605-e87f-4cb2-a55c-a375e7dee78e","error":"Patch \"http://localhost:9158/data/tus/b8c3f2cd-365c-4712-ad04-a347beb5e07d\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/datagateway/datagateway.go:390","message":"error doing PATCH request to data service"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"39ca6baf91268cad626cde86f116e5e2","host":"127.0.0.1","method":"PATCH","uri":"/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTI4LCJpYXQiOjE3MDcyMDE3MjgsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy9iOGMzZjJjZC0zNjVjLTQ3MTItYWQwNC1hMzQ3YmViNWUwN2QifQ.9cEIHqqFBGc1B71ApLa6Vpv4RQJUyz0EZqnlxaAHvSE","url":"/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTI4LCJpYXQiOjE3MDcyMDE3MjgsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy9iOGMzZjJjZC0zNjVjLTQ3MTItYWQwNC1hMzQ3YmViNWUwN2QifQ.9cEIHqqFBGc1B71ApLa6Vpv4RQJUyz0EZqnlxaAHvSE","proto":"HTTP/1.1","status":500,"size":0,"start":"06/Feb/2024:06:44:44 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":17551076482,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"e8cb4f9d4beed3bf0bc9d172f985ffbd","request-id":"990cbed7-2813-42c3-824c-923617172629","error":"Patch \"http://localhost:9158/data/tus/f4a4d9e6-3291-460f-bfcd-807fb9146b64\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/datagateway/datagateway.go:390","message":"error doing PATCH request to data service"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"e8cb4f9d4beed3bf0bc9d172f985ffbd","host":"127.0.0.1","method":"PATCH","uri":"/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTE3LCJpYXQiOjE3MDcyMDE3MTcsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy9mNGE0ZDllNi0zMjkxLTQ2MGYtYmZjZC04MDdmYjkxNDZiNjQifQ.1dF08BfZb7QprerOkZ-ey7ihZ73bBeoO-dbY3ZQK48E","url":"/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTE3LCJpYXQiOjE3MDcyMDE3MTcsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy9mNGE0ZDllNi0zMjkxLTQ2MGYtYmZjZC04MDdmYjkxNDZiNjQifQ.1dF08BfZb7QprerOkZ-ey7ihZ73bBeoO-dbY3ZQK48E","proto":"HTTP/1.1","status":500,"size":0,"start":"06/Feb/2024:06:44:58 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":3927111236,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"storage-users","pkg":"rhttp","traceid":"98a9e99f466336d5adff23fa2a2798a9","host":"127.0.0.1","method":"PATCH","uri":"/data/tus/b8c3f2cd-365c-4712-ad04-a347beb5e07d","url":"/b8c3f2cd-365c-4712-ad04-a347beb5e07d","proto":"HTTP/1.1","status":500,"size":15,"start":"06/Feb/2024:06:44:44 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":17550223408,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"storage-users","pkg":"rhttp","traceid":"ac235dd34037ff3643e90ffb734d4a00","host":"127.0.0.1","method":"PATCH","uri":"/data/tus/f4a4d9e6-3291-460f-bfcd-807fb9146b64","url":"/f4a4d9e6-3291-460f-bfcd-807fb9146b64","proto":"HTTP/1.1","status":500,"size":15,"start":"06/Feb/2024:06:44:58 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":3927051409,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"proxy","error":"failed to verify access token: token is expired by 36.512041025s","authenticator":"oidc","path":"/ocs/v2.php/apps/notifications/api/v1/notifications/sse","time":"2024-02-06T06:50:50Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/oidc_auth.go:185","message":"failed to authenticate the request"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:24Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:24Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:24Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:24Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:24Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:24Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:28Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:28Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:28Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:28Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:28Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"search","error":"Get \"http://tika:9998/version\": dial tcp 172.18.0.3:9998: connect: connection refused","time":"2024-02-06T05:57:28Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/server/grpc/server.go:43","message":"Error initializing search service"}
{"level":"error","service":"proxy","error":"failed to verify access token: token is expired by 9m2.003047693s","authenticator":"oidc","path":"/ocs/v1.php/cloud/user","time":"2024-02-06T06:34:51Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/oidc_auth.go:185","message":"failed to authenticate the request"}
{"level":"error","service":"proxy","error":"failed to verify access token: token is expired by 8.319472091s","authenticator":"oidc","path":"/remote.php/dav/spaces/f4ac1392-5351-4ffd-9f96-b60859def5bf$dc61ec4d-1bc4-4798-a364-446671e3ed08/Sho Yamaoka","time":"2024-02-06T06:44:54Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/oidc_auth.go:185","message":"failed to authenticate the request"}
{"level":"error","service":"storage-users","pkg":"rhttp","traceid":"633dacc0a0f50fdf22985c17cf323734","host":"127.0.0.1","method":"PATCH","uri":"/data/tus/3867c931-7b11-4af8-8a58-45392992f321","url":"/3867c931-7b11-4af8-8a58-45392992f321","proto":"HTTP/1.1","status":500,"size":15,"start":"06/Feb/2024:06:45:01 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":1037868126,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"e1713a0f7304905f4322cdf13050f0ad","request-id":"2069812a-4dcb-49da-853d-2f948cf5477c","error":"Patch \"http://localhost:9158/data/tus/3867c931-7b11-4af8-8a58-45392992f321\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/datagateway/datagateway.go:390","message":"error doing PATCH request to data service"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"e1713a0f7304905f4322cdf13050f0ad","host":"127.0.0.1","method":"PATCH","uri":"/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTExLCJpYXQiOjE3MDcyMDE3MTEsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy8zODY3YzkzMS03YjExLTRhZjgtOGE1OC00NTM5Mjk5MmYzMjEifQ.HSUNmv0LYf_JbpeQaNnDJvktaTUpR1gYSZSKLYwtZoI","url":"/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTExLCJpYXQiOjE3MDcyMDE3MTEsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy8zODY3YzkzMS03YjExLTRhZjgtOGE1OC00NTM5Mjk5MmYzMjEifQ.HSUNmv0LYf_JbpeQaNnDJvktaTUpR1gYSZSKLYwtZoI","proto":"HTTP/1.1","status":500,"size":0,"start":"06/Feb/2024:06:45:01 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":1039678716,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"ocdav","name":"com.owncloud.web.ocdav","traceid":"977a5f4bd9556778b5fe1437606a652a","request-id":"5504c9e2-3b99-4f76-8630-cf9bfeb3a4ee","spaceid":"f4ac1392-5351-4ffd-9f96-b60859def5bf$dc61ec4d-1bc4-4798-a364-446671e3ed08","path":"/Sho Yamaoka","error":"Patch \"https://ocis.server.com/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MjcwLCJpYXQiOjE3MDcyMDE4NzAsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy84NTcyMDA2Ny00NGQyLTRkYjAtOGY3Mi02M2JmNDAwZTUzMmMifQ.rCyPnIPJqqqloe6Xa-gJuSrU4K8N9LccEcYY8D3Pi08\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/owncloud/ocdav/tus.go:304","message":"error doing PATCH request to data gateway"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"a59b07ad87a4df0592f130bc6d7fc53e","request-id":"bfcc1552285e/alEuvWxDXU-002811","error":"Patch \"http://localhost:9158/data/tus/85720067-44d2-4db0-8f72-63bf400e532c\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/datagateway/datagateway.go:390","message":"error doing PATCH request to data service"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"a59b07ad87a4df0592f130bc6d7fc53e","host":"127.0.0.1","method":"PATCH","uri":"/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MjcwLCJpYXQiOjE3MDcyMDE4NzAsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy84NTcyMDA2Ny00NGQyLTRkYjAtOGY3Mi02M2JmNDAwZTUzMmMifQ.rCyPnIPJqqqloe6Xa-gJuSrU4K8N9LccEcYY8D3Pi08","url":"/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MjcwLCJpYXQiOjE3MDcyMDE4NzAsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy84NTcyMDA2Ny00NGQyLTRkYjAtOGY3Mi02M2JmNDAwZTUzMmMifQ.rCyPnIPJqqqloe6Xa-gJuSrU4K8N9LccEcYY8D3Pi08","proto":"HTTP/1.1","status":500,"size":0,"start":"06/Feb/2024:06:44:30 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":31701511619,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"storage-users","pkg":"rhttp","traceid":"9eef087b3b2490003491e3585decaf47","host":"127.0.0.1","method":"PATCH","uri":"/data/tus/85720067-44d2-4db0-8f72-63bf400e532c","url":"/85720067-44d2-4db0-8f72-63bf400e532c","proto":"HTTP/1.1","status":500,"size":15,"start":"06/Feb/2024:06:44:30 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":31701023866,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"39ca6baf91268cad626cde86f116e5e2","request-id":"ecccb605-e87f-4cb2-a55c-a375e7dee78e","error":"Patch \"http://localhost:9158/data/tus/b8c3f2cd-365c-4712-ad04-a347beb5e07d\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/datagateway/datagateway.go:390","message":"error doing PATCH request to data service"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"39ca6baf91268cad626cde86f116e5e2","host":"127.0.0.1","method":"PATCH","uri":"/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTI4LCJpYXQiOjE3MDcyMDE3MjgsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy9iOGMzZjJjZC0zNjVjLTQ3MTItYWQwNC1hMzQ3YmViNWUwN2QifQ.9cEIHqqFBGc1B71ApLa6Vpv4RQJUyz0EZqnlxaAHvSE","url":"/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTI4LCJpYXQiOjE3MDcyMDE3MjgsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy9iOGMzZjJjZC0zNjVjLTQ3MTItYWQwNC1hMzQ3YmViNWUwN2QifQ.9cEIHqqFBGc1B71ApLa6Vpv4RQJUyz0EZqnlxaAHvSE","proto":"HTTP/1.1","status":500,"size":0,"start":"06/Feb/2024:06:44:44 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":17551076482,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"e8cb4f9d4beed3bf0bc9d172f985ffbd","request-id":"990cbed7-2813-42c3-824c-923617172629","error":"Patch \"http://localhost:9158/data/tus/f4a4d9e6-3291-460f-bfcd-807fb9146b64\": context canceled","time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/services/datagateway/datagateway.go:390","message":"error doing PATCH request to data service"}
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"e8cb4f9d4beed3bf0bc9d172f985ffbd","host":"127.0.0.1","method":"PATCH","uri":"/data/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTE3LCJpYXQiOjE3MDcyMDE3MTcsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy9mNGE0ZDllNi0zMjkxLTQ2MGYtYmZjZC04MDdmYjkxNDZiNjQifQ.1dF08BfZb7QprerOkZ-ey7ihZ73bBeoO-dbY3ZQK48E","url":"/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNzA3Mjg4MTE3LCJpYXQiOjE3MDcyMDE3MTcsInRhcmdldCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTE1OC9kYXRhL3R1cy9mNGE0ZDllNi0zMjkxLTQ2MGYtYmZjZC04MDdmYjkxNDZiNjQifQ.1dF08BfZb7QprerOkZ-ey7ihZ73bBeoO-dbY3ZQK48E","proto":"HTTP/1.1","status":500,"size":0,"start":"06/Feb/2024:06:44:58 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":3927111236,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"storage-users","pkg":"rhttp","traceid":"98a9e99f466336d5adff23fa2a2798a9","host":"127.0.0.1","method":"PATCH","uri":"/data/tus/b8c3f2cd-365c-4712-ad04-a347beb5e07d","url":"/b8c3f2cd-365c-4712-ad04-a347beb5e07d","proto":"HTTP/1.1","status":500,"size":15,"start":"06/Feb/2024:06:44:44 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":17550223408,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"storage-users","pkg":"rhttp","traceid":"ac235dd34037ff3643e90ffb734d4a00","host":"127.0.0.1","method":"PATCH","uri":"/data/tus/f4a4d9e6-3291-460f-bfcd-807fb9146b64","url":"/f4a4d9e6-3291-460f-bfcd-807fb9146b64","proto":"HTTP/1.1","status":500,"size":15,"start":"06/Feb/2024:06:44:58 +0000","end":"06/Feb/2024:06:45:02 +0000","time_ns":3927051409,"time":"2024-02-06T06:45:02Z","line":"github.com/cs3org/reva/v2@v2.18.1-0.20240205065033-2c21ada2ae52/internal/http/interceptors/log/log.go:112","message":"http"}
{"level":"error","service":"proxy","error":"failed to verify access token: token is expired by 36.512041025s","authenticator":"oidc","path":"/ocs/v2.php/apps/notifications/api/v1/notifications/sse","time":"2024-02-06T06:50:50Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/oidc_auth.go:185","message":"failed to authenticate the request"}
```
So in these two environments, with minimal configuration, I cannot get a working oCIS install without token errors and logouts. Please help!
Contributor guide
Assessment
This issue has not been assessed yet.